mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.7K
active users

#runcpm

0 posts0 participants0 posts today

Having a break from other "rabbit holes" to return to #CPM, and I'm away from my hardware, so it's emulation only.

Got #runCPM up my laptop and had to get #Zork running. Found the eblong Infocom archive and the #Z80 the Z Interpretator source (+ Zork Z3 file).

Fixed some issues and it assembled with #z80asm but when I ran it the text display was not right. I recognised escape code issues. Dug into the Z80 code and found the problem. Hours later I found the reason.

Wyse codes, not VT100/ANSI 😉

The last few days I've been trying out Turbo Modula-2 for CP/M on my #MSX to get a feel of how people would work back in the day. I'm still not convinced by Pascal-style programming languages, but it is enough of a step ahead from Turbo Pascal on CP/M to not grind my gears too much.

Compilation speeds are okay, and the incremental parser helps errors it will resume after the latest position untouched by the editor. Having an actual module system helps as well. Generated #Z80 code is surprisingly good for a high level language.

Now, question for the CP/M folks around: is there any way at all of making the Turbo Modula-2 compiler work in batch mode, from the command line?

Continued thread

If a computer can’t compile and deploy its own software then it’s an appliance and not a general purpose computer.

I see too much 8-bit software on GitHub require a PC tool chain (and God-forbid, LLVM) and this is bad because the 8-bit system can no longer speak for itself; the software may as well be proprietary for all that can be modified on the target.

8-Bit software *must* be buildable on 8-bit hardware… but nobody should be required to abandon their PC or their GitHub workflow.

#v80 is the first, tiny step in solving this: A portable assembler and syntax that can assemble software on original hardware, but also on PC (and GitHub and Docker, or whatever) — currently via #RunCPM that runs #z80 #cpm executables in your terminal. (Please could someone make a #C version of v80 so that extra step is removed)

Think about it — software written for 8-bit systems that can be assembled as easily on PC as current tool chains but doesn’t exclude doing so on real hardware too!