First Loadr

Publication: LISTing Newsletter
Date: June 1984
Pages: 2

FOR BEGINNERS ONLY: FIRST LOADR

An outstanding achievement by David Ornstein and a great public service by SYNTAX, FIRSTLOADR lets you upload your TS1000 BASIC programs to the 2068. Unfortunately, several of the beginners (and more advanced programmers too) have had trouble understanding, entering and/or using FIRSTLOADR. Based on the questions most frequently asked, we can offer the following tips:

1. The data shown in Syntax (December 83) on page 14 is a translation table. The machine code (MC) program, (P15) which runs from 45000 to 45234, uses this table to convert ZX/TS code to its 2068 equivalent. That is, each number in the table is the CODE of one of the 255 characters you can use. Several characters are not directly translatable, and these have been replaced by “32” or a blank space. Check the character tables in the backs of both manuals for a comparison. Right now, CLEAR 43999 & NEW.

2. To get these numbers into the computer, look at Fig.1 in this months article on Transylvanian Tower. Lines 100 to 140 serve as a rudimentary INPUT routine which lets you put in 10 bytes at a time. If you GOTO 100, you’d be expected to put in a value for V. Enter 44000 for example, to begin entering data in the look-up table. The program will print the current memory location and wait for your input, ‘t’. Again if you were just starting out, you would enter 32. Next you’d enter 130,129 etc. ending with 143 (the 10th byte).

3. Now to check what you’ve done so far, break into the program (or add a line-145 STOP) and GOTO 205. Again you’ll be asked for a “Start”. Enter 44000 and you’ll see the bytes you just entered arranged just as they are in Syntax. The program will list 300 bytes (which can be changed by editing line 210), so at this each stage you may want to BREAK after you’ve seen what you want.

4. Look at that listing. If any numbers were entered wrong, POKE the correct value directly. That is, if you see:

44000  32  130  129  133  136

You know the 4th value is wrong (it should be 131). So now, in immediate mode, POKE 44003, 131.

5. Repeat the process of steps 2 through 4 until you reach 44255. Next, enter the actual machine language program by going to 100 and letting v = 45000. Fill any excess bytes with Ø or 201.

6. Triple check the whole entry table and program by GOing to 205 (by the way, lines 10 to 40 and 300 are not needed in this application) and camparing what you have on the screen with the listing in Syntax. Correct any errors with direct POKES.

7. SAVE “FIRSTLOADR” CODE a couple of times, for insurance. (You might even want to do this before step 6, just in case you mistype a POKE and crash the machine.)

8. Now, cue up a ZX81 tape (use a 2K or less program for testing purposes) as described in Syntax. Volume is critical and about all I can tell you is that the program data should look like red and black lines in the border somewhat similar to the yellow and blue of a 2068 program in width. Too low or two high a volume will give nothing or just occasional flashes. Make sure there is no BASIC program is the machine when you RAND USR 45000.

9. Enter RANDOMIZE USR 45000, play the tape, and wait for the Ø OK. Note that you can stop the process, anytime, by pressing the ‘BREAK’ key. Note particularly that Ornstein means just that key – not Capshift and BREAK.

10. Go through your program as described in Syntax, note changes required and SAVE it before you make them.

My first successful firstload was “Memory” a simple 2K Simon Says game from the Mixed Game Bag II tape. The only changes were to redefine variable X, the place to start in the character table, from 28 to 48 (line 140), change the “SAVE” line to add LINE for autorun and add OR a$= “y” to cover the lower case option for replaying the game.


MOONBUGGY:

Moonlander – line 630 the > sign should be <> ?

A CALL ABOUT A PARROT

John Cox called from the West Coast to find out more about RIST‘s Parrot. He couldn’t get through to RIST, but fortunately, they had sent me a schematic. I told John what the missing chips and software on his second-hand kit version were and hope he does well in assembling it: IS RIST still in business?


Suppliers           Item                    Cost
Best's              2068                    $98.32
47th St Photo       "                       $99.95
Timex               "                       $99.95 (No Tax)
Timex               TS1000/16K 50 SO FT     $49.95
Zebra†/Sunset       Modem                   $119.95
Fordham Radio       Joysticks (BP)          2/$8.00
Radio Shack         26-1332 *               2/$3.95
                    Thermal Paper

† Bob M. has one and is hooked up to the Source * Thanks to Rich B for this tip.