ZX81 emulator "command-line edition"

Emulator and emulator development specific topics
olofsen
Posts: 184
Joined: Wed Jan 08, 2014 12:29 pm

Re: ZX81 emulator "command-line edition"

Post by olofsen »

Yes, environment variables cannot be set directly. The report code may perhaps be useful, which is the available as "$?" in bash:

Code: Select all

10 let theanswer = 81
20 poke 16384, theanswer-1
30 rem not run
Using ZX81 scripts (with PHP) is an interesting idea. I've added a first example on the project web page.

Currently, the "-r0" option may be used for a command-line mode with case sensitivity, and the PRINTed and INPUTed strings should match. Indeed, inverted characters are used for upper case ones. In other modes, characters should always be printed upper case.

RAMTOP is set 32 bytes lower than the maximum. The first 16 bytes provide the patch for the "str$" function as discussed before. The other 16 bytes are used for various purposes; I've put some information on this in the README.

The routines in the code are called using extended Z80 instructions, which need to be put at specific places in the ROM, so using other ROMs is not straightforward.
User avatar
marste
Posts: 213
Joined: Sun Aug 10, 2014 9:58 pm
Location: Italy
Contact:

Re: ZX81 emulator "command-line edition"

Post by marste »

Everyone fond of text emulators should also try the "text modes" of zesarux ;)
MOB-i-L
Posts: 56
Joined: Mon Apr 19, 2010 12:13 am
Location: Lund, Skåne/Scania, Sweden
Contact:

Re: ZX81 emulator "command-line edition"

Post by MOB-i-L »

Now this entire site has disappeared:
"This site can’t be reached
rullf2.xs4all.nl’s server IP address could not be found."

I think it better to place free open source software (FOSS) also on GitHub (or maybe GitLab) so that it doesn't disappear.
olofsen
Posts: 184
Joined: Wed Jan 08, 2014 12:29 pm

Re: ZX81 emulator "command-line edition"

Post by olofsen »

The particular page has been moved to https://www.weggetjes.nl/sg/zx81ce.html
Some links on that page still need to be updated.
Post Reply