• m68k Cross-Assembler for FreeBSD or Linux

    From Lorenz Born@21:1/5 to All on Sat Feb 1 21:33:32 2020
    Hi there

    I'm wondering what Cross-Assembler are used from members of this group
    on FreeBSD or Linux? Are there any tools that you could recommend?

    BR Lorenz

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bruce Mardle@21:1/5 to Lorenz Born on Sun Feb 2 12:53:55 2020
    On Saturday, 1 February 2020 21:33:33 UTC, Lorenz Born wrote:
    Hi there

    I'm wondering what Cross-Assembler are used from members of this group
    on FreeBSD or Linux? Are there any tools that you could recommend?

    BR Lorenz

    I built a version of the GNU binutils (including the assembler) on Cygwin under Windows, targetting 68k, several years ago. I don't remember it being particularly difficult. I imagine it would be equally easy hosted on BSD or Linux. Actually, I vaguely
    remember building it on a Raspberry Pi, too, but I don't have that with me now to check.

    I wrote a little utility to convert the resulting ELF file into a boring binary file I could program into non-volatile RAMs using a board I added to a Raspberry Pi.

    I also built the GNU C compiler, but I never got a working libc, which the C compiler relies on surprisingly often :-(

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc J.@21:1/5 to All on Sun Feb 2 22:43:08 2020
    Le 02/02/2020 à 21:53, Bruce Mardle a écrit :
    On Saturday, 1 February 2020 21:33:33 UTC, Lorenz Born wrote:
    Hi there

    I'm wondering what Cross-Assembler are used from members of this group
    on FreeBSD or Linux? Are there any tools that you could recommend?

    BR Lorenz

    I built a version of the GNU binutils (including the assembler) on Cygwin under Windows, targetting 68k, several years ago. I don't remember it being particularly difficult. I imagine it would be equally easy hosted on BSD or Linux. Actually, I vaguely
    remember building it on a Raspberry Pi, too, but I don't have that with me now to check.

    I wrote a little utility to convert the resulting ELF file into a boring binary file I could program into non-volatile RAMs using a board I added to a Raspberry Pi.

    I also built the GNU C compiler, but I never got a working libc, which the C compiler relies on surprisingly often :-(


    Hi,

    https://bitsnbikes.blogspot.com/2010/02/das-blinklicht-with-gcc-elf-m68k.html

    Use newlib instead of libc https://www.aslak.net/index.php/2019/03/18/adding-a-c-library-to-the-68000-sbc/ https://github.com/jefftranter/68000/tree/master/newlib_example/newlib https://sourceware.org/newlib/

    --
    The 68K Documentation http://marc.retronik.fr/motorola/68K

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bruce Mardle@21:1/5 to Lorenz Born on Mon Feb 3 02:09:07 2020
    On Saturday, 1 February 2020 21:33:33 UTC, Lorenz Born wrote:
    Hi there

    I'm wondering what Cross-Assembler are used from members of this group
    on FreeBSD or Linux? Are there any tools that you could recommend?

    BR Lorenz

    I've also used http://www.easy68k.com/
    (My 68k-programming is on hold until I add a serial interface to my homebrew. Could be some time!)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bruce Mardle@21:1/5 to Marc J. on Mon Feb 3 06:05:16 2020
    On Monday, 3 February 2020 13:56:43 UTC, Marc J. wrote:
    Are you the guy how bought a lot of MC68012 on Ebay years ago?

    That's me! Did I sell you 3? Do they work? I still haven't used any of the other 14, though I've got a PGA socket waiting. You'd think at least I could manage a 'NOP' test circuit [rolls eyes] :-)

    Incidentally, if anyone's reading this thread and wants a version of Easy68k that can assemble 68010 or 68012 instructions, I built one: https://www.dropbox.com/s/tsi2cet44nlt3c2/EDIT68K.exe?dl=0
    (The simulator won't understand the 'new' instructions and till almost certainly give the wrong timings for the 010's loop mode.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc J.@21:1/5 to All on Mon Feb 3 14:56:42 2020
    Le 03/02/2020 à 11:09, Bruce Mardle a écrit :
    On Saturday, 1 February 2020 21:33:33 UTC, Lorenz Born wrote:
    Hi there

    I'm wondering what Cross-Assembler are used from members of this group
    on FreeBSD or Linux? Are there any tools that you could recommend?

    BR Lorenz

    I've also used http://www.easy68k.com/
    (My 68k-programming is on hold until I add a serial interface to my homebrew. Could be some time!)

    Bruce,

    Are you the guy how bought a lot of MC68012 on Ebay years ago?

    --
    The 68K Documentation http://marc.retronik.fr/motorola/68K

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bruce Mardle@21:1/5 to Marc J. on Mon Feb 3 06:08:06 2020
    On Monday, 3 February 2020 13:56:43 UTC, Marc J. wrote:
    Are you the guy how bought a lot of MC68012 on Ebay years ago?

    I occasionally dream up 68012 circuits, e.g. having 1 GiB address memory and the other 1 GiB address an MMU's page table.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc J.@21:1/5 to All on Mon Feb 3 15:43:01 2020
    Le 03/02/2020 à 15:08, Bruce Mardle a écrit :
    On Monday, 3 February 2020 13:56:43 UTC, Marc J. wrote:
    Are you the guy how bought a lot of MC68012 on Ebay years ago?

    I occasionally dream up 68012 circuits, e.g. having 1 GiB address memory and the other 1 GiB address an MMU's page table.


    With a customized version of OS-9 :-)

    --
    The 68K Documentation http://marc.retronik.fr/motorola/68K

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc J.@21:1/5 to All on Mon Feb 3 15:40:31 2020
    Le 03/02/2020 à 15:05, Bruce Mardle a écrit :
    On Monday, 3 February 2020 13:56:43 UTC, Marc J. wrote:
    Are you the guy how bought a lot of MC68012 on Ebay years ago?

    That's me! Did I sell you 3? Do they work? I still haven't used any of the other 14, though I've got a PGA socket waiting. You'd think at least I could manage a 'NOP' test circuit [rolls eyes] :-)

    Incidentally, if anyone's reading this thread and wants a version of Easy68k that can assemble 68010 or 68012 instructions, I built one: https://www.dropbox.com/s/tsi2cet44nlt3c2/EDIT68K.exe?dl=0
    (The simulator won't understand the 'new' instructions and till almost certainly give the wrong timings for the 010's loop mode.)

    Yes, It's me. For now, like you, not tested or used.

    --
    The 68K Documentation http://marc.retronik.fr/motorola/68K

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From coinstronics@gmail.com@21:1/5 to Bruce Mardle on Mon Feb 3 17:37:18 2020
    On Monday, February 3, 2020 at 7:05:17 AM UTC-7, Bruce Mardle wrote:
    On Monday, 3 February 2020 13:56:43 UTC, Marc J. wrote:
    Are you the guy how bought a lot of MC68012 on Ebay years ago?

    That's me! Did I sell you 3? Do they work? I still haven't used any of the other 14, though I've got a PGA socket waiting. You'd think at least I could manage a 'NOP' test circuit [rolls eyes] :-)

    Incidentally, if anyone's reading this thread and wants a version of Easy68k that can assemble 68010 or 68012 instructions, I built one: https://www.dropbox.com/s/tsi2cet44nlt3c2/EDIT68K.exe?dl=0
    (The simulator won't understand the 'new' instructions and till almost certainly give the wrong timings for the 010's loop mode.)

    Bruce,
    Is your 68012 still available for sale? I was just talking to a member on retrobrewcomputers forum who has several 68012 and interested in a redesigned version of Tiny68K (https://www.retrobrewcomputers.org/doku.php?id=boards:sbc:tiny68k)
    that uses 68012 instead. I've successfully running 68010 on Tiny68K with patched CP/M68K, so it should be just a new board layout to accommodate the 68012. The redesigned board should have more room to put in a couple expansion bus. So, my question is
    do you have a couple 68012 that you can sell me? Maybe we can get a small user group of 68012 together.
    Bill

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From coinstronics@gmail.com@21:1/5 to coinst...@gmail.com on Tue Feb 4 11:01:59 2020
    On Monday, February 3, 2020 at 6:37:19 PM UTC-7, coinst...@gmail.com wrote:
    On Monday, February 3, 2020 at 7:05:17 AM UTC-7, Bruce Mardle wrote:
    On Monday, 3 February 2020 13:56:43 UTC, Marc J. wrote:
    Are you the guy how bought a lot of MC68012 on Ebay years ago?

    That's me! Did I sell you 3? Do they work? I still haven't used any of the other 14, though I've got a PGA socket waiting. You'd think at least I could manage a 'NOP' test circuit [rolls eyes] :-)

    Incidentally, if anyone's reading this thread and wants a version of Easy68k that can assemble 68010 or 68012 instructions, I built one: https://www.dropbox.com/s/tsi2cet44nlt3c2/EDIT68K.exe?dl=0
    (The simulator won't understand the 'new' instructions and till almost certainly give the wrong timings for the 010's loop mode.)

    Bruce,
    Is your 68012 still available for sale? I was just talking to a member on retrobrewcomputers forum who has several 68012 and interested in a redesigned version of Tiny68K (https://www.retrobrewcomputers.org/doku.php?id=boards:sbc:tiny68k)
    that uses 68012 instead. I've successfully running 68010 on Tiny68K with patched CP/M68K, so it should be just a new board layout to accommodate the 68012. The redesigned board should have more room to put in a couple expansion bus. So, my question
    is do you have a couple 68012 that you can sell me? Maybe we can get a small user group of 68012 together.
    Bill

    Looking into 68012 datasheet. The ability to address 2 G of address is impressive, but 68010 is not particularly fast so all these added memory space seems wasted, unless there are specific applications it is targeting for. I plan to revise my Tiny68K
    to accommodate 68012. Tiny68K already has 16 meg of memory that I can't fully utilize. I can certainly increase the memory to 64 meg, but is there something else I should be designing for?
    Bill

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lorenz Born@21:1/5 to All on Thu Feb 6 22:04:02 2020
    Am 01.02.20 22:33, schrieb Lorenz Born:
    Hi there

    I'm wondering what Cross-Assembler are used from members of this group
    on FreeBSD or Linux? Are there any tools that you could recommend?

    BR Lorenz

    Dear all

    Thank you all for your very appreciated help, suggestions and information.
    --
    Lorenz Born
    lorenz<dot>born<at>gmail<dot>com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)