My PC8300 just arrived from LOLIR ELECTRONICS INC. The cost was $24.95 plus $3.00 shipping. A power transformer wasn’t included, but they did promise one and I suspect they will make good. When I unpacked the computer, I noticed that the RF modulator cover had come loose and was lodged in the expansion slot. It did not rattle, so I’m glad I looked before applying power. Three screws were removed from the front bottom edge and several snaps on the upper case had to be teased open in order to remove the top half of the unit. If you dismantle your PC8300, be careful not to wiggle the keyboard too much as the connections between the keyboard and main board look very fragile. Inside, you will find a very neatly laid-out board with more room for internal modifications than the ZX81,
The rubber keys are great by my taste, but again there is no space bar, only a key as on the ZX81. Most statements and command words must be fully typed, but a few including higher math functions and PRINT can be obtained with shifted keys. There is an automatic line numbering key that produces lines in increments of ten. A reset button is present and doesn’t clear the memory as the ZX81 does. There are some game graphics in the character set. An LED lets you know you have power on. The rear of the cabinet hosts the joystick port, mic, ear jacks, TV and monitor outputs, and a standard Sinclair rear edge connector with 9V DC coaxial power jack. I used a one-amp ZX81 power supply with the PC8300. The center conductor must be positive.
As far as I can tell, PC8300 and Sinclair BASICs are identical with the exception that BEEP, TEMPO, MUSIC, and SOUND commands are added. Sound is produced through an internal 2″ speaker which sounds like square wave, so don’t expect high fidelity.
BEEP – The keyboard defaults to a BEEP mode on power-up. In this mode, a short tone burst is produced when any key is pressed. Each has its own pitch. Typing “NOBEEP” turns it off, and “BEEP” turns it on.
TEMPO n – regulates the unmultiplied tone duration of the notes produced by the MUSIC command. The n expression can range from 0 to 255. Multiply n by 3.9ms to get the exact duration. Thus, TEMPO 50 produces notes of 50 X 3.9ms or .195 seconds.
MUSIC str – This command will produce musical sequences which are programmed by the content of the string expression. A three-octave range is available. The low octave is selected for a particular note by following the note name with a < sign. The middle octave omits the qualifying symbol. The high octave is denoted by >. Half tones are selected by using the graphics character for the note name. A graphics G will produce a G sharp. Only sharps are used, as the sharp of one note is the flat of the one above it. Note duration is regulated by the multiplier number following it. E1 produces the shortest E note. E2 produces a note twice as long. Some interesting programs can be written to produce computer composed music by using algorithms to manipulate the string expression.
SOUND m,n – This command produces a tone in the range 127.4 to 32500 HZ. The m expression determines frequency and obeys the equation F=32500/m or m=32500/F. Thus, to obtain an 800 HZ tone, we divide 32500 by 800 and get m=41. The n variable determines tone duration and must be between 0 and 65535. Duration=n/65ms. The duration can vary from 0 to 1.008 seconds.
Within the chararacter set, you will find INK, BORDER, and PAPER tokens. When typed in a line, they are accepted by the BASIC interpreter but do not seem to perform any function. I assume that these commands become active when the color module (which does not work with USA TVs) is attached.
The operating system (OS) of the PC8300 is quite different from the one in the Sinclair ROM even though the BASICs are quite similar. I don’t have a copy of a BASIC disassembler (such as Ray Kingsley‘s DISAZ from Vol. 1, No. 6 Timex Sinclair User magazine) so I have only been able to investigate the OS by peeking around. Can any kind soul out there supply me with a copy? My first discovery was the display file has been given a fixed starting location beginning with an enter code (118d) at 16509. That’s right where the program file was in the ZX81. The program file begins directly above the display file at 17302. This shift could be an improvement since there is no need to query the DFILE system variable when poking the display. The negative consequence is that with a collapsed display file, BASIC can shift starting addresses and the 1 REM machine code lines we use can be dislocated. With a rampack, the display file will not be collapsed and the first usable byte of the 1 REM line will be found at 17307, as opposed to 16514 in the ZX81. I found a little bug when typing in a REM statement. The PC8300 removed all of the spaces between my words. This probably has a way around it such as using graphics REM lines. I tried to use the ROM call to print a character from the A register, RST 16, but the results were negative. I have read that Fred Nachbaur is writing a new ROM for the PC8300 to increase its compatability. I hope he can manage to leave in the sound and music commands.
Below I note some differences in the system variables located ROM 16384 to 16508 as in the ZX81. Only obvious differences are noted. There may be many subtle differences to be revealed later.
VERSN 16393
Usually 0 for 8K ROM ZX81 programs. 255 (FFh) is used to indicate PC8300 BASIC. This could be handy.
PROGRAM 16396-16397
Where this is the address of the DFILE variable in the ZX81, the PC8300 uses these to indicate the start of the program area (usually 17302).
NXTLIN 16394-16395
This variable is at 16425-16426 in the ZX81.
MUNIT 16417
Unused in the ZX81, PC8300 stores the TEMPO value here.
E-PPC 16425-16426
This variable is at 16394-16395 in ZX81.
BLINK 16507-16508
Unused in ZX81, this probably deals with the blinking of the cursor.
I’ll close this little preview by saying that the PC8300 is in several ways an improvement on the ZX81 and T/S 1000 machines after which it was modeled. The price is right and with some luck, we may be able to modify the colorpak to use with US televisions and monitors. Perhaps it will recharge some interest in the ZX computers. It opens a whole new field of fun for those of us that like the challenge of deciphering the workings of a new machine. Buy one and let us know your results. I forgot to mention that the documentation was in Japanese. In an unexplainable way, that makes it even more fun!


