2068 Turboloader

Author(s): Floyd Chrysler
Pub Details: Time Designs Magazine v4 n5 (Volume 4, Issue 5)
Date: July/August 1988
Pages: 12-14
Race car drawing
Race car drawing

Do you have lots of programs on tape? Do you go crazy waiting for them to load? If you answered yes then you may be interested in this program to double the speed of your tape loads.

I was in the same position when I received the May 1986 issue of “Your Sinclair”. Even though I have the AERCO FD-68 I still have lots of programs on tape I really didn’t want to move to disk and I still make backup copies of important progams for long term storage. Using disk made my tape deck seem so slow.

In the magazine was a program by Esben Hansen for the Spectrum that allowed you to save and load programs at variable baud rates from 1500 (normal rate) to 3500 (more than double). I wanted to do this on a 2068 so I vowed to convert the program to work on my machine.

This was not as easy as I had thought. While a lot of the program was compatable with the 2068, by just changing the ROM calls, the calls to the tape handling routines were a problem. On the 2068 the tape routines are all in EXROM. It was either bankswitching or a rewrite to do the tape handling routines within the program. I chose the second and by some fiddling managed to get the program to work with most of the functions in the original and only use a little over 200 bytes more.

The program supports all the tape commands – Save, Load, Verify, and Merge. Turboloader is invoked by a RANDOMIZE USR 63600. This is followed by the Turboloader commands – LIST, PRINT, INPUT, or RUN. And finally your tape command – SAVE, LOAD, etc.

To save a screen at double speed:

RANDOMIZE USR 63600: RUN 3100: SAVE “pic” SCREEN$

The keywords List, Print, Input, and Run will still work as normal except when they follow a RANDOMIZE USR 63600. When used as Turboloader commands they have the following meaning:

LIST  - This command reads a header from tape and lists it on
        the screen. It displays program length, data length
        for code, start line, etc.
        ex: RANDOMIZE USR 63600: RUN 3100: SAVE "test" CODE
            63600,600: LIST

RUN   - This changes the baud rate. It must be followed by a
        number ranging from 1500 to 3500, in steps of 200
        (1500,1700,1900, etc.). A good tape recorder should
        be able to handle at least 3100.

INPUT - This deals with the message start tape on SAVE's
        INPUT 2 prints the Turboloader message and the start
                tape message and waits for a keypress.
        INPUT 1 print the Turboloader message only and waits
                for a key press.
        INPUT 0 prints nothing and goes right into the save
                without waiting for a key press.

PRINT - This deals with LOAD/VERIFY commands
        Print 2 prints the turboloader message and program
                names as they are found.
        Print 0 nothing is printed.

PRINT 2 and INPUT 2 are the initial default values.

There is a lot of code to enter for Turboloader. I have included a Hex loader program to make it a little easier. Enter the loader program and save it. The code is listed in three columns. The first is the address for that code line. Next is the code in blocks of 8 hex bytes. Last is a check digit.

When you run the hex loader it will ask you for a start address. The first time you should enter 63380. It will then ask for the code. Enter all 16 characters (8 hex bytes) and press enter. You will then be asked for the check number. Enter it and if all is ok the program will display the next address (which should match the next address in the code list), if there is an error the program will beep and redisplay the same address for you to reenter the line in error.

At any time you may enter STOP to the enter code message and you will be prompted to save the code entered to that point. You can then restart at a later time by reloading the code and loader program and entering the next address from where you left off at the prompt. When you have entered all the code the program will prompt you to save the code. Once you have all the code saved you can start speeding! Enter CLEAR 63379: LOAD “TURBO” CODE 63380. Remember the entry point to the program for all user calls is 63600.

Don’t be intimidated by all the code. I’m sure you will find it worth the time to enter. If you have not yet spent the family fortune on a disk drive you will find this program invaluable.

Hex Loader

  30 DEF FN h(a$)=CODE a$-48-(7 AND a$>"9")
40 POKE 23658,8
50 INPUT "Start Address:";start
60 IF start=63380 THEN GO TO 90
70 INPUT "Have you re-loaded code?";z$
80 IF z$<> "Y" THEN PRINT "Load code and re-start": STOP
90 LET adr=start
100 FOR t=start TO 65444 STEP 8
110 LET sum=0
120 PRINT adr;" ";
130 INPUT "enter code ";c$
140 IF c$="STOP" THEN GO TO 380
150 IF LEN c$<>16 THEN BEEP .25,.25: GO TO 130
160 FOR i=1 TO 8
170 LET a$=c$(2)
180 POKE adr,FN h(c$)*16+FN h(a$)
190 PRINT c$(1);a$;
200 LET c$=c$(3 TO )
210 LET sum=sum+(PEEK adr)
220 LET adr=adr+1
230 NEXT i
240 INPUT "Check Number=";check
250 PRINT " ";sum
260 IF sum<>check THEN GO TO 340
270 NEXT t
280 PRINT "END OF CODE"
290 SAVE "TURBO"CODE 63380,2066
300 PRINT "VERIFY"
310 VERIFY "TURBO"CODE 63380
320 PRINT "FINISHED"
330 STOP
340 LET adr=adr-8
350 BEEP .5,1
360 PRINT "ERROR - RE-ENTER"
370 GO TO 110
380 INPUT "Do You want to Save your work? (Y or N)";z$
390 IF z$="Y" THEN GO TO 290
400 STOP
999 SAVE "hexload" LINE 10

Turboloader Code (ready for Hex Loader program)

addr   code              check
63380 CF1A7EE6C020191A 864
63388 13BE2320021ABE1B 521
63396 2B3008E5EBCD2017 823
63404 E118ECCDF0F718E2 1427
63412 7E4FFE80C8E5214B 1124
63420 5C7EFE802825B928 902
63428 08C5CD2017C1EB18 917
63436 F0E6E0FEA02012D1 1367
63444 D5E523131ABE2006 750
63452 1730F7E11803E118 819
63460 E03EFFD1EB3C37CD 1305
63468 F0F718C420100822 797
63476 5F5CEBCD2017CD50 967
63484 17EB2A5F5C0808D5 716
63492 CD2017225F5C2A53 606
63500 5CE3C50838072BCD 835
63508 BB12231803CDBB12 677
63516 23C1D1ED53535CED 1169
63524 5B5F5CC5D5EBEDB0 1336
63532 E1C1D5CD5017D1C9 1349
63540 3D20FDA704C83E7F 906
63548 DBFE1FD0A9E62028 1183
63556 F3792F4FE607F608 981
63564 D3FE37C9F53A485C 1188
63572 E6380F0F0FD3FE3E 858
63580 7FDBFE1FFB3802CF 1147
63588 0CF1C90000000000 454
63596 00000000DFFE0D28 530
63604 47FE3A2802CF0BFD 896
63612 340D2A5D5CE5E721 785
63620 70F8E3FEF5285DF5 1464
63628 E5CDCDF8E1F1FEEE 1845
63636 285FFEF7CA27FAFE 1381
63644 F0CA78FA0600FEF8 1320
63652 286104FEEF285C04 770
63660 FED6285704FED528 1106
63668 52225D5CFD350DE1 845
63676 CDC4F8ED4B765CC9 1372
63684 3A3BFFFE02C0C3A9 1184
63692 083A3CFFFE02C0CD 1034
63700 A9081160FEAFCD3F 987
63708 07ED4B37FFCD8817 993
63716 3E0DD7C9CD00F9FE 1199
63724 03D276FA323BFF18 969
63732 D8CD00F9FE0330F1 1216
63740 323CFFC9E7CDE51B 1258
63748 C31E1F783239FFE7 969
63756 CDEF1BCD8928283D 954
63764 0111003A39FFA728 595
63772 020E22F7D5DDE106 962
63780 0B3E20121310FCDD 631
63788 3601FFCDAF2F21F6 1016
63796 FF0B090330103A39 457
63804 FFA72003C3701478 904
63812 B1280A010A00DDE5 688
63820 E123EBEDB0DFFEE4 1613
63828 20473A39FFFE03CA 932
63836 ED1BE7CD702CCBF9 1308
63844 300C2100003A39FF 463
63852 3D2816C3911BC2ED 921
63860 1BCD89282818237E 634
63868 DD770B237EDD770C 864
63876 23DD710E3E01CB71 762
63884 28013CDD7700EBE7 907
63892 FE2920DAE7EBC36D 1315
63900 FBFEAA201C3A39FF 1105
63908 FE03CAED1BE7DD36 1229
63916 0B00DD360C1B2100 358
63924 40DD750DDD740E18 790
63932 4AFEAF204D3A39FF 982
63940 FE03CAED1BE7CDE7 1390
63948 21200C3A39FFA7CA 816
63956 ED1BCD511C180FCD 822
63964 E51BDFFE2C280C3A 887
63972 39FFA7CAED1BCD51 1231
63980 1C1804E7CDE51BCD 953
63988 231FDD710BDD700C 756
63996 CD231FDD710DDD70 951
64004 0E6069DD360003C3 688
64012 6DFBFECA2807DD36 1138
64020 0E80C34DFB3A39FF 1035
64028 A7C2ED1BE7CDE51B 1317
64036 C344FBE7CDE51BCD 1411
64044 231FC5CDE9300164 850
64052 00CDE930EF0538CD 991
64060 1E1FFE0F3834FE24 728
64068 3030D60FCB47202A 673
64076 CB27CB27214DFF06 855
64084 004F09EB213DFF06 678
64092 08C51A134E234623 468
64100 02C110F53A1BFE32 845
64108 49FEC1ED4337FFC3 1329
64116 CDF8CF09E7FE0D28 1207
64124 06FE3A2802CF0B11 595
64132 1100DD2126FFAF37 794
64140 CDCBFD30F23A26FF 1302
64148 FE0430EBCDC4F83E 1252
64156 02CD301211F6FECD 995
64164 3F071127FF060A1A 423
64172 FE203001AFD71310 760
64180 F63E0DD73A26FFA7 1054
64188 2822FE03285D3E05 531
64196 1160FECD3F073A34 752
64204 FFF5E61FC640D7F1 1479
64212 CB7728033E24D73E 740
64220 0DD7184EED4B33FF 948
64228 78E6C02010C53E02 851
64236 1160FECD3F07C1CD 1040
64244 88173E0DD73E0611 534
64252 60FECD3F07ED4B35 990
64260 FFC5CD3AFB3E0711 1052
64268 60FECD3F07C12A31 909
64276 FFA7ED42444DCD3A 1133
64284 FB180F3E031160FE 722
64292 CD3F07ED4B33FFCD 1098
64300 3AFB3E041160FECD 947
64308 3F07ED4B31FFCDE9 1124
64316 30CDA1313E0DD7C9 954
64324 CD231FDD710DDD70 951
64332 0EDD3600002A595C 512
64340 ED5B535C37ED52DD 1098
64348 750BDD740C2A4B5C 686
64356 ED52DD750FDD7410 1025
64364 EB3A39FFA7CA0DFD 1240
64372 E5011100DD09CDCD 887
64380 F8DDE5111100AF37 962
64388 CDCBFDDDE130EF3A 1452
64396 3BFFA7280CCDC4F8 1182
64404 3EFECD3012FD3652 976
64412 030E80DD7E00DDBE 903
64420 EF20020EF6FE0430 839
64428 CD473A3BFFA77828 975
64436 0811F6FEC5CD3F07 997
64444 C1DDE5D121F0FF19 1405
64452 060A7E3C20037980 486
64460 4F131ABE2320010C 394
64468 3A3BFFA728021AD7 822
64476 10EFCB7920983A3B 880
64484 FFA728063E0DD7CD 963
64492 CDF8E1DD7E00FE03 1282
64500 280C3A39FF3DCA41 750
64508 FCFE02CAEEFCE5DD 1650
64516 6EFADD66FBDD5E0B 1260
64524 DD560C7CB5280EED 915
64532 5238272808DD7E00 572
64540 FE03C294F7E17CB5 1376
64548 2006DD6E0DDD660E 719
64556 E5DDE13A39FFFE02 1301
64564 372001A73EFFCDCB 980
64572 FDD8C394F7DD5E0B 1385
64580 DD560CE57CB52006 891
64588 131313EB180CDD6E 659
64596 FADD66FBEB37ED52 1433
64604 380911050019444D 257
64612 CDBB1FE1DD7E00A7 1162
64620 283D7CB528132B46 578
64628 2B4E2B030303DD22 428
64636 5F5CCD5017DD2A5F 853
64644 5C2A595C2BDD4E0B 668
64652 DD460CC5030303DD 730
64660 7EFDF5CDBB1223F1 1310
64668 77D12373237223E5 891
64676 DDE1373EFF188FEB 1220
64684 2A595C2BDD225F5C 708
64692 DD4E0BDD460CC5CD 1015
64700 4D17C1E5C5CDBB12 1129
64708 DD2A5F5C23DD4E0F 799
64716 DD461009224B5CDD 738
64724 660E7CE6C0200ADD 925
64732 6E0D22425CFD360A 632
64740 00D1DDE1373EFFC3 1222
64748 3AFCDD4E0BDD460C 923
64756 C503F73680EBD1E5 1302
64764 E5DDE1373EFFCD3A 1310
64772 FCE1ED5B535CC396 1325
64780 F7E53A3CFFA72824 1092
64788 3D200A3EFDCD3012 689
64796 CDD9111817CDA908 868
64804 CDCDF83E011160FE 1088
64812 CD3F07CDD911CDA9 1088
64820 08CDCDF8DDE51111 1150
64828 00AFCD52FDDDE106 1167
64836 327610FDDD5E0BDD 984
64844 560C3EFFDDE12150 974
64852 F8E521801FCB7F28 1039
64860 0321980C0813DD2B 491
64868 F33E044710FED3FE 1115
64876 EE0F06A42D20F505 750
64884 25F268FD062F10FE 959
64892 D3FE3E0C063710FE 870
64900 D3FE010D3B086F18 681
64908 097AB3280BDD6E00 692
64916 7CAD673E02371817 566
64924 6C18F579CB7810FE 1091
64932 3004064210FED3FE 859
64940 063E20EF05AF3CCB 782
64948 1520EB1BDD230631 626
64956 3E7FDBFE1FD07A3C 1083
64964 20C7063B10FEC914 787
64972 0815F33E0FD3FE21 847
64980 50F8E5DBFE1FE620 1323
64988 F6044FBFC0CD5BFE 1262
64996 30FA21150410FE2B 669
65004 7CB520F9CD57FE30 1180
65012 EB069CCD57FE30E4 1219
65020 3EC6B830E02420F1 1025
65028 06C9CD5BFE30D578 1138
65036 FED430F4CD5BFED0 1516
65044 79EE064F260006B0 664
65052 181F082007300FDD 386
65060 7500180FCB11ADC0 741
65068 791F4F131807DD7E 628
65076 00ADC0DD231B0806 662
65084 B22E01CD57FED03E 1041
65092 CBB8CB1506B030F3 1084
65100 7CAD677AB320CB7C 1060
65108 FE01C9CD5BFED03E 1276
65116 16C334F880545552 896
65124 424F4C4F4144207F 592
65132 313938362045482B 432
65140 4643202042415544 485
65148 BA20205354415254 648
65156 205441504520414E 505
65164 4420505245535320 529
65172 414E59204B45D953 708
65180 54415254204C494E 574
65188 45BA535441525420 685
65196 41444452455353BA 704
65204 4C454E475448204F 561
65212 4620444154412042 482
65220 4C4F434BBA415252 712
65228 4159204E414D45BA 661
65236 50524F4752414D20 568
65244 4C454E475448BA4C 712
65252 454E475448204F46 555
65260 205641524941424C 545
65268 4553BA0D50524F47 663
65276 52414DBA0D4E554D 663
65284 4245522041525241 543
65292 59BA0D4348415241 639
65300 4354455220415252 563
65308 4159BA0D42595445 661
65316 53BA000000000000 269
65324 0000000000000000 0
65332 000000DC05000002 227
65340 0288FDA7FDADFDBB 1424
65348 FD1BFE3CFE44FE5C 1262
65356 FE3B423E31B0B2CB 1047
65364 16373D3A2DB7B9D0 817
65372 1532393528BDBFD4 813
65380 132E343124C4C6D9 813
65388 1229302C1FCACCDD 809
65396 10252B281BD1D3E2 809
65404 0F21272417D7D9E6 808
65412 0D1C221F12DEE0EB 805
65420 0C181E1B0EE4E6EF 804
65428 0A13191609EBEDF4 801
65436 090F151205F1F3F8 800
65444 0700000000000000 7

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.