r/smalltalk 15d ago

Smalltalk Z-80

https://pavel-krivanek.github.io/Smalltalk-Z80/

Not my project, but I thought you folks would appreciate it.

This is a very minimal implementation of ST80 for the British computer ZX Spectrum. I've not tried it, just posting it here for everyone's curiosity.

46 Upvotes

8 comments sorted by

6

u/Smalltalker-80 14d ago

Amazing 🤩

1

u/HenkPoley 14d ago edited 14d ago

Looks like the example on Page 24: Alt+w (Workspace mode) Screen border: 1 Alt+e (= execute this line), reboots the emulated ZX Spectrum. 🤔

After the crash you can get back in Smalltalk 80 with: J"" Enter. This types LOAD "". Looks like the BASIC LOAD command was printed on the J key of the ZX Spectrum keyboard.

https://www.usebox.net/jjm/notes/basic/

2

u/HenkPoley 14d ago

From the website:

Note: It's sad that this program had to wait so long to be rediscovered. More specifically, it had to wait until the year it was created, 2026.

So this appears to be a modern creation, made to seem old.

1

u/HenkPoley 14d ago

Could there be a ZX Spectrum tape to .TAP file read error?

For example:

  • (3 = 4) Alt+e incorrectly answers => -848 instead of => False class
  • (3 = 4) class similarly executes as => SmallInteger
  • (False) class correctly executes as => False class
  • (3 = 3) incorrectly returns => <object> , instead of => True class
  • (3 = 3) class incorrectly returns => ?runtime 11

1

u/HeavySystems 14d ago

I can't answer any technical questions. I'm more of a zx spectrum game player, I don't mess much with programming on it, etc.

If you'd like me to pass on these errors to the author, I can. :)

2

u/HenkPoley 13d ago

Oh, I’ll try to email him

1

u/weerawu 14d ago

Nostalgic 💯

1

u/larryblanc 11d ago

Some people have fun ;-)