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
modules/editor
retro Enable machine module with ShowConsole/HideConsole functions 2025-08-10 19:51:27 -05:00
.gitignore
debug_print.h
docker-run.sh point this script at our own docker image 2025-08-16 21:51:33 -05:00
macutil.c
macutil.h
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
modmachine.c Enable machine module with ShowConsole/HideConsole functions 2025-08-10 19:51:27 -05:00
modtime.c
mpconfigport.h Enable machine module with ShowConsole/HideConsole functions 2025-08-10 19:51:27 -05:00
mphalport.h
qstrdefsport.h
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
vfs_mac.h

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.