3 ms·
This is exactly how we used to do machine code on the Sinclair ZX81, too, where there was no way to declare a block of memory as "off limits" to BASIC, and no D
by ErroneousBosh 3mo ago
This is exactly how we used to do machine code on the Sinclair ZX81, too, where there was no way to declare a block of memory as "off limits" to BASIC, and no DATA statements like in the later (and much bigger) ZX Spectrum BASIC.
Then you'd do "RANDOMISE USR 16514" to start it. Actually USR was interesting because it would pass back the contents of BC when your machine code routine returned to BASIC.
- rwmj 3mo agoI managed to get that easter egg into libvirt - it listens on ports 16509 and 16514 (https://libvirt.org/remote.html https://libvirt.org/remote.html).
- alfiedotwtf 3mo agoSorry, I’m lost after looking at that page. Can you explain your comment?
- rwmj 3mo agoLibvirt listens on ports 16509 and 16514 out of the box, in reference to ZX81 BASIC where the program starts at (address) 16509 and the first byte in a REM statement (commonly used to store machine code) is 16514.
- alfiedotwtf 3mo agoLOL! Sorry I didn’t get the reference until now. Haha nice :)
- ErroneousBosh 3mo agoI noticed that :-)