circuitpython/ports/m68kmac
2025-08-16 21:51:33 -05:00
..
etc Continue improving defs 2025-07-31 15:52:17 -05:00
examples update region example 2025-08-11 18:58:49 -05:00
lib update submodule 2025-07-07 19:09:44 +01:00
modules/editor m68kmac: Add a port to m68k Macintosh. 2025-07-06 16:42:28 +01:00
retro Enable machine module with ShowConsole/HideConsole functions 2025-08-10 19:51:27 -05:00
.gitignore m68kmac: Add a port to m68k Macintosh. 2025-07-06 16:42:28 +01:00
debug_print.h m68kmac: Add a port to m68k Macintosh. 2025-07-06 16:42:28 +01:00
docker-run.sh point this script at our own docker image 2025-08-16 21:51:33 -05:00
macutil.c m68kmac: Add a port to m68k Macintosh. 2025-07-06 16:42:28 +01:00
macutil.h m68kmac: Add a port to m68k Macintosh. 2025-07-06 16:42:28 +01:00
main.c always show console window 2025-08-10 19:34:00 -05:00
Makefile fix hattrib 2025-07-31 22:05:37 -05:00
manifest.py m68kmac: Add a port to m68k Macintosh. 2025-07-06 16:42:28 +01:00
modmachine.c Enable machine module with ShowConsole/HideConsole functions 2025-08-10 19:51:27 -05:00
modtime.c modtime: Speculative fix 2025-07-07 19:11:00 +01:00
mpconfigport.h Enable machine module with ShowConsole/HideConsole functions 2025-08-10 19:51:27 -05:00
mphalport.h m68kmac: Add a port to m68k Macintosh. 2025-07-06 16:42:28 +01:00
qstrdefsport.h m68kmac: Add a port to m68k Macintosh. 2025-07-06 16:42:28 +01:00
README.md Continue improving defs 2025-07-31 15:52:17 -05:00
uart_core.cpp Enable machine module with ShowConsole/HideConsole functions 2025-08-10 19:51:27 -05:00
uart_core.h Enable machine module with ShowConsole/HideConsole functions 2025-08-10 19:51:27 -05:00
vfs_mac.c m68kmac: Add a port to m68k Macintosh. 2025-07-06 16:42:28 +01:00
vfs_mac.h m68kmac: Add a port to m68k Macintosh. 2025-07-06 16:42:28 +01:00

The m68k Mac port

This port runs on m68k macs. The author tests it in a modified umac emulating a 4MB "mac plus" with System 7, though it may also run on System 6.

Building and running

Two methods of building are supported. First, entirely within docker, using the steps in .github/workflows/port_m68k.yaml. Second, building on a standard Linux host machine (e.g., debian stable) with docker installed:

$ make docker-build

There's a make run target to launch the emulator but it is very specific to @jepler's development environment. Once you do have your target environment running, double click micropython application icon. It will open up with a repl window that supports minimal ANSI-style escape codes.

Built in editor

There's a built in editor:

>>> import editor
>>> editor.edit()              ## OR
>>> editor.edit("filename.py")

umac doesn't support arrow keys. Emacs-style ctrl+p/n f/b work to move cursor instead. Probably doesn't work right now on a keyboard with no control key.