Retro68: если вам скучно жить на свете

Конец ноября в Питере — крайне мрачное время года, на улице лишь холод, сырость и уныние. Что определенно влияет на психику местных жителей, порождая в головах самые нездоровые желания. Видимо по этой причине, одним мрачным осенним днем мне захотелось создать графическое приложение на современном C++ под.. классический Mac из 90х.

https://habr.com/ru/articles/969574/

#crosscompile #m68k #freebsd #macos #macintosh #retro68 #clapkit

Retro68: если вам скучно жить на свете

Конец ноября в Питере — крайне мрачное время года, на улице лишь холод, сырость и уныние. Что определенно влияет на психику местных жителей, порождая в головах самые...

Хабр

I went ahead and created a github organization for a fresh fork of micropython, and then made a release. You can get a fresh dsk of this micropython mac port from https://github.com/m68k-micropython/micropython/releases and as @smallsco noted it works on infinitemac.org

#umac #microPython #retro68 #macintosh #retroComputing

Doing a little iterative code development in micropython on an emulated m68k mac... I might not be so happy with the loading time if a real floppy was involved, but in an emulator it's heckin' snappy.

Clearly I need to tackle the issue that you can't REALLY draw to the same window as the terminal....

#micropython #python #retroComputing #retro68 #macintosh #m68k

Now you can witness one of the first quickdraw calls from MicroPython on mac... 🎉 ⬛

#micropython #python #retrocomputing #retro68 #macintosh #m68k

asyncio is working on mac micropython!

also (not shown here) the "sys.stdin" object is pollable, and you can double-click a python file to run it as the main code file.

#micropython
#python
#retrocomputing
#retro68
#macintosh
#m68k

Are there any folks with vintage Mac programming experience who'd like to collaborate on figuring out what's next with Micropython on Mac?

I think that might be: What's the minimal set of APIs to do a fun graphical demo.

Pointers to "how to"-ish documentation in Pascal and C would be great as well, I have failed at finding this kind of stuff. (I do have Inside Macintosh but it is not a great tutorial)

#micropython
#python
#retrocomputing
#retro68
#macintosh
#m68k

oh my yay, it now works well enough to save and edit a file, then import and run that file.

you could basically use an old m68k mac as a python3 (well, micropython) development system now.

don't mind the debug messages, they're as scared of you as you are of them.

#micropython #python #retrocomputing #retro68 #macintosh #m68k

Whee! Now we can import files from the filesystem, as well as reading and writing files. Still haven't wrapped my head around how folders work, still can't enumerate files ..

as usual, work pushed to my micropython fork on github (which is called circuitpython, because you can't have two different forks of the "same" original project, argh).

#micropython #python #retrocomputing #retro68 #macintosh #m68k

yay, successfully wrote & read back file contents with micropython on macos 6. #micropython #retrocomputing #retro68 #macintosh #m68k

Darn, I think all the easy parts of the micropython mac m68k port are done.

unfortunately, vfs_posix doesn't seem to be a good fit. I did manage to create a "file" but couldn't actually write data to it.

And while it was working in system6 I just tried it again with system7 and it's failing to start at all. boo.

https://github.com/jepler/circuitpython/blob/ports-m68kmac/ports/m68kmac/README.md#key-todos

#umac #micropython #retro68 #macintosh #retrocomputing

circuitpython/ports/m68kmac/README.md at ports-m68kmac · jepler/circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers - jepler/circuitpython

GitHub