Fred sent us a very informative letter concerning this computer. Alex had an article in QZX 5:6 and Fred sent some clarification.
As stated, the PC8300 is NOT a ZX81 clone. In fact, calling it “Timex compatible” is really pushing it. Though it does load TS BASIC programs, it is useless with every Timex machine code program of which I’m aware. The reason is that the memory map has been rearranged; the display file is now in a fixed position, at 407DH. The Timex D_FILE system variable now points to the start of the program area, AFTER the display files.
This is also why you can’t load PC8300 programs into the Timexes. (The fault is not with Alex’s “fussy” TS1500.) It will think that the display file is in the program area … CRASH!
The character set is not quite the same as the ZX81. Some of the keyword tokens were moved, and others (such as to support the color pack) were added. More importantly, the grey/black and grey/white graphics are now right-triangles, the grey square is a race car (go-cart?) and (get this) the question mark, colon, and pound symbol are space-invaders! Sure makes some ZX81 displays look weird.
The ROM is completely different. Even the restarts are completely changed around, None of the ZX81 ROM calls will work, so even if you handle the problem of relocating your software, you’ll still crash if you have a single ROM call in your code.
From a hardware standpoint, things are just as mixed up. True, the bus is “Timex compatible”, to the degree that the ordinary Timex peripherals, and simple things like 8K NVM boards, can be used. However, some very important control lines (e.g. MREQ*, M1*, IORQ*) are not brought through, precluding the use of 64K packs. If these missing lines are added, most Timex hardware should work properly.
The character patterns are contained in the custom chip, not in the ROM. This is a mixed blessing; on the one hand, the entire region from 1E00-1FFF in the ROM is now free for additional code. Furthermore, the I register is now available for programmer use. On the other hand, it means that even a ROM upgrade cannot fix the goofy games characters. Also, I have yet to find a way to make the SCL release control of the data lines during refresh time, so that high-resolution graphics are possible. (Interestingly, the manufacturer claims hi-res capability, but after many hours of experimenting I can’t for the life of me figure out how.)
Since the character patterns are in the custom chip, the printer routines are somewhat different. I/O is used to access the patterns! This suggests that there may be a port to turn off the whole business, but I haven’t found it yet.
The reset key is kind of neat; it’s a SOFT reset. If the machine already has a program in RAM, the RAM is not cleared. This makes it possible to break out of any program, even endless machine code loops. This feature was carried over into my Timex compatible ROM upgrade (more details to follow).
DO NOT try to plug a Timex ULA into the custom chip socket of the PC8300. At best it won’t work, at worst you fry the chip and/or the computer. However, you CAN plug a Timex ROM into the 8300; it will work, sort of. In SLOW mode it’s even worse; the whole display undulates like a belly-dancer on amphetamines. The reason is that the display hardware is different, requiring a complete re-write of the entire display system (RST 0038H, 0066H, and the whole stretch of code from 0207 through 02E6H.
I have successfully completed this re-write, and have a PC8300 that runs Hot Z, Memotext and Memocalc, Vu-Calc, Vu-File, Mazogs, etc., with a rock-steady display in both modes. The only programs it won’t run are hi-res and quasi-hi-res, for the reason outlined above.
I also made it possible to successfully POKE the MARGIN variable. This lets you run it at 60 Hz or 50 Hz, without any hardware changes.
Furthermore, you can poke it even higher to get a machine that runs up to well over twice as fast as “normal”! The only real limitation is your TV or monitors ability to lock into slower vertical scan rates.
The new ROM has some additional commands: REM 0 and REM 1 used to turn the blinking cursor on or off. (Otherwise, it still acts as before). A new BEEP command (on Function “V”) turns the keyboard beep on or off. The new OUT command is used for output; e.g. OUT 255,3 sends a 3 to port 255. Similarly, the IN function is used for input; e.g. LET A=IN 245 can be used to make a click come from the speaker. Finally you can control I/O from BASIC!
PAUSE is now blinkless in SLOW mode. As mentioned, RESET first checks to see if there’s a healthy display file present; if so, it leaves the program and variables completely alone, making it usable to “break” any program. One of the new ROM routines can be used by programmers to write music and sound routines.
The coup is a re-definition of STEP. It’s still used as before in FOR-TO commands, but is now also a command of its own. It operates much like GOTO, except that it is used to single-step (trace) your program. For example, STEP 10 will bring line 10 into the edit lines; press any key, and the line is executed. The next line is brought down, and so on, until you press break or encounter an error during execution. Great for debugging. It can even be used within the program itself, so you can RUN the program to a given point (past long screen-fill loops, etc.) before the single-stepper takes over.
This new ROM will soon be available commercially. In the meantime QZX readers who send $5 and a blank 2764 EPROM will receive a development copy along with instructions on how to install it.
Regards,
Fred Nachbaur
C-12, Mtn. Stn. Group Box
Nelson, B.C. V1L 5P1
Canada