2 – ZX81 Emulators.
Q: Are there any ZX81 emulators?
A: Yes. I’m aware of four at the moment. I’d rank them in the following order:
1. ZX81 Emulator - Atari ST. Free.
Programmer: Christoph Zwerschke.
FTP from: src.doc.ic.ac.uk /computing/systems/atari/umich/Emulators
Plusses: Runs at near exact speed.
Emulates FAST mode display. :-)
Joystick support.
Excellent file handling interface.
Minuses: No way to load original games from tape.
No HRG or sound.
No way to run at extremely fast speeds.
2. Xtender - IBM PC compatible. Shareware.
Programmer: Carlo Delhez.
FTP from: src.doc.ic.ac.uk /computing/systems/ibmpc/simtel/msdos/emulator
Plusses: Runs at adjustable speed.
Very fast on a 386/486/Pentium. 20 times faster on my machine.
Supports (limited) HRG.
Minuses: Arcane file handling.
Poor keyboard response.
No tape, printer or joystick support.
3. TS1000 - IBM PC compatible. Free.
Programmer: Jeff Vavasour
FTP from: src.doc.ic.ac.uk /computing/systems/ibmpc/simtel/msdos/emulator
Plusses: Emulates TS1000. The American version of the ZX81.
Minuses: Runs at uncontrollable speed.
Crashes with many snapshots saved on other emulators.
No tape support.
No HRG support.
4. Xtricator - Sinclair QL. Sorry, no information about this one.
In summary:
The Atari emulator is just about perfect for playing most games on, but due to the slow speed of the original, typing in long programs is a bit of a chore.
Xtender is good for typing in programs, because of it’s high speed. However, due to the poor keyboard response, it’s fairly useless for playing games that require simultaneous keypresses. Carlo Delhez (the programmer) is currently working on a new version of Xtender that will fix this problem.
TS1000 has no real advantages over either of the others, but might appeal to original Timex Sinclair owners.
Q: Where can I get software for the emulators?
A: There’s some software on the ftp.nvg.unit.no site in the directory pub/sinclair/snaps/zx81. These are mostly BASIC programs, since there’s no widely available method for loading in old tapes.
While you’re there, check out my game: ‘Deathrider.’ 🙂
You can also get a huge bundle of software if you register Xtender.
Finally, try picking up copies of all the emulators. Most of them come with a few examples.
Q: How can I get .81 files to work on Xtender?
A: Usually just rename them to have a .P file extension. The keyboard controls in games might not work properly though.
Q: How can I get .P files to work on the Atari Emulator?
A: Try renaming them to .81 files. They might be ones that were ‘converted’ to Xtender files by the above process. If that doesn’t work, you can try the program PTO81 (from ftp.nvg.unit.no) which chops a byte off the end and fiddles a few system variables.
This is only available as a PC/DOS program at the moment. Contact me if you desperately need a ST executable version. Since the only compiled language I’ve got for my ST is STOS, I’m none too keen on writing one though.
Hi-Res graphics, programs that POKE the ROM (e.g. to change the speed in Xtender) or use Xtender’s file handling system won’t work, though.
Q: How can I load my old games off tape?
A: There’s a program by John Elliot called ZX81TAP that is available on my ZX81 page (see above) that can, in theory, read ZX81 programs from tape, using a Spectrum Emulator and save them as P files to disk.
Unfortunately, I can’t get it to work on my system, but this might be down to dodgy audio equipment, leads and a crap sound card. If anyone can get this program to work, I’d be very interested to hear from you.
3 – ZX81 Hacking and Trivia.
Q: Could you get sound on a ZX81?
A: Yes. Just about, anyway. You could drive the cassette port rather like the ZX Spectrum’s speaker. So if it was wired up to a cassette recorder or an Amplifier, you could get sound from it. There was a program, that was printed in a magazine, that could sample and replay sounds using the cassette port.
You could also get sound through the television, by rapidly alternating between FAST and SLOW modes. There was a ‘Sinclair Organ’ program in Sinclair Programs that did this quite nicely.
There was also the Zon-X add-on, that contained the AY-8192 sound chip (as used in the Atari ST, Spectrum 128 and Amstrad CPC machines) to create rather better sound effects.
At the moment, no emulators support ZX81 sound using any of these methods.
Q: Could you get hi-res graphics on a ZX81?
A: Yes. There were a number of ways.
1. The Z80’s i register pointed to a font table. You could move this around in the ROM to create swirly graphics effects. The game Astral Convoy did this. Unfortunately, the design of the ZX81 made it impossible for the character set to be anywhere in the 16K range, so you couldn’t have a user defined set without extra hardware. With a 64K RAM pack you could disable the ROM shadow between 8K and 16K and design your own UDGs.
2. CRL released a Hi-Res graphics toolkit. This contained an extremely hairy interrupt routine that replaced the ZX81’s usual display update routine. Basically, it pointed the i register to a strategic ROM location, and tried to ‘best fit’ the HRG display to what it could find in those locations. It also used a feature of the ZX81’s hardware that allowed you to have 1 pixel height characters to improve it’s chances.
You still could, at best, only have 128 different combinations out of the 256 possible ones. These were the 64 ‘characters’ and their inverses. So this is really pseudo-HRG.
A number of games by Software Farm, including Hi-Res Invaders and Rocket Man, used this technique.
With a 64K RAM pack you could also, alter the font, allowing an even better chance of getting the characters you need. Some people made an alteration to their ZX81’s internal wiring, so that the i register can point to the 16K RAM area, allowing them to do the same.
3. There were a number of hardware add-ons that worked with software similar to the above routines to allow UDG’s and true-HRG. DK’Tronics and Quicksilva produced devices that worked with some of their games.
Q: Could you get colour graphics on a ZX81?
A: Yes, but not without extra hardware. Prism released an adaptor that required some soldering inside the machine. It got little attention, because the ZX Spectrum had been out for a while, and the ZX81 was on the way out.
Q: Could you really run a nuclear powerstation on a ZX81?
A: Well, Clive Sinclair said you could. Then again, he made some pretty outrageous claims about a lot of his products. I wouldn’t give it much chance, since mine crashes about once every 2 hours without a RAM pack on, and once every thirty minutes with one. 🙂
Q: Could a 1K ZX81 really play chess?
A: Yes, but not very well. 1K chess was released in 1982 by Artic Computing. It had no graphics and could only play white. Nonetheless, a marvel of programming skill to get a chess game into 1K.
Credits:
Clive Sinclair for making the thing in the first place
Christoph Zwerschke for the ST emulator ‘ZX81.’
Carlo Delhez for the PC emulator ‘Xtender.’
Jeff Vavasour for the PC emulator ‘TS1000.’
David Gonzales for sending me some ZX81 software.
Ian Collier for much discussion about ZX81 emulation, 1K chess and HRG
Chris Gill for the original ZX81 homepage.
Chris Owen for his Sinclair history page.
Marat Fayzullin for his emulation home page.
Arnt Gulbrandsen for the NVG archive site in Norway.
Bob Tinsley for transcribing the ZX81 manual.
John Elliot for the ZX81TAP program.
Everyone on comp.sys.sinclair. …and anyone else I’ve forgotten for whatever reason. Sorry!
Final note:
This FAQ is in its very early days, so don’t be surprised if some of the information is rather vague, and occasionally incorrect. This is due to it being largely composed of my memories from fourteen years ago, gossip from comp.sys.sinclair, rumours and speculations. Please feel free to Email any corrections to me if you know better.
See you in comp.sys.sinclair,
Matt Barber
University Of Greenwich
Email: [e-mail address omitted]