MCL68+ A Motorola 68000 drop-in emulator

  • Board Nominations
    Nominations have now closed and the results are available here.
  • Hey Guest, MARCHintosh 2026 is upon us. Check out community projects, join GlobalTalk, and have fun!

MicroCoreLabs

New Tinkerer
Oct 8, 2023
8
17
3
I would like to share my latest project, a Motorola 68000 drop-in emulator called the MCL68+. The CPU emulation is written in C and runs on a Teensy 4.1 micro controller board. I made a small PCB which contains a number of buffers and registers to break out and de-multiplex the Teensy's limited pins to the 68000's 64 pins.

I thought now would be a good time to share my progress in case I never get any further along! 🙂

 

Nixontheknight

Tinkerer
Nov 3, 2021
204
38
28
I would like to share my latest project, a Motorola 68000 drop-in emulator called the MCL68+. The CPU emulation is written in C and runs on a Teensy 4.1 micro controller board. I made a small PCB which contains a number of buffers and registers to break out and de-multiplex the Teensy's limited pins to the 68000's 64 pins.

I thought now would be a good time to share my progress in case I never get any further along! 🙂

I wonder if it's possible to optimize that enough to make the 68000 emulation into 68010 emulation or have it emulate an 020 or 030 (probably at 16MHz or lower)
 

MicroCoreLabs

New Tinkerer
Oct 8, 2023
8
17
3
I dont see why not. Well, the CPU emulation would definitely be possible, but I think the Teensy is maxed out at 8 MHz for the local bus! :) Could port it to a faster microcontroller though - the foundation is all there.
 
Last edited:

MicroCoreLabs

New Tinkerer
Oct 8, 2023
8
17
3
Thank you for the kind words! :) I guess a project like this is just the culmination of skills gained from sporadic successes throughout decades of frequent failures.
 

alectrona6400

New Tinkerer
Mar 10, 2022
36
15
8
k24a1.fleepy.tv
i love fun projects like this where there's not much practical use, but it works. a lot of people generally dismiss the fun stuff... ugh!
very nice work, would love to see it open sourced if possible.
 

MicroCoreLabs

New Tinkerer
Oct 8, 2023
8
17
3
"i love fun projects like this where there's not much practical use,
Art for art's sake. Thanks!

MCL68, the 68000 emulator code, is already is open-source. I'll post this project when it's a little further along.
 

MicroCoreLabs

New Tinkerer
Oct 8, 2023
8
17
3
Update on this project: I fixed the remaining issues with the 68000 opcodes using Tom Harte's test suite and got some pleasant results!

The latest code is uploaded to GitHub: MCL68+GitHub

1768499704369.png


1768499728030.png


1768499743561.png
 

MacOfAllTrades

Tinkerer
Oct 5, 2022
216
243
43
Really awesome. Just awesome.
Can you make it emulate additional ram as well? Really what I want is an emulation of some awesome 68040 upgrade or something so that it can make an SE into a better-than-se/30 machine. :p

regardless, this is so cool. Software-defined processor.
 

MicroCoreLabs

New Tinkerer
Oct 8, 2023
8
17
3
Really awesome. Just awesome.
Can you make it emulate additional ram as well? Really what I want is an emulation of some awesome 68040 upgrade or something so that it can make an SE into a better-than-se/30 machine. :p

regardless, this is so cool. Software-defined processor.
Maybe could emulate a little more RAM but not much. The Teensy 4.1 only has 1 MB of available RAM in total. Maybe 640KB is possible :)
 

ve7xpo

New Tinkerer
Feb 21, 2024
2
1
3
Maybe could emulate a little more RAM but not much. The Teensy 4.1 only has 1 MB of available RAM in total. Maybe 640KB is possible :)
I second this idea. The SE would benefit from having extra ram. Would it be hard to integrate a different Teensy with more memory available? Where do i send coffee donations? :D
 

MacOfAllTrades

Tinkerer
Oct 5, 2022
216
243
43
I second this idea. The SE would benefit from having extra ram. Would it be hard to integrate a different Teensy with more memory available? Where do i send coffee donations? :D
If he teensy can be attached to an sd card it could use that sd card as ram (basically long winded virtual memory ). I have no idea if this would be so much slower that it’s worthless or if speeds of the critical path (processor to teensy to as card and back) are so much faster that it’s worth it.