PROGRAM:LOADERBUILD 64 1000 REM 73 1010 REM" LOADERBUILO so 70 1020 REM•• es 13 1030 REM** BY JD KINLEY 198 oo 513 1040 REM 91 1050 REM 58 2000 REM 91 2010 REM** INPUT DETAILS OF PROGRAM o w 90 2020 REM*• TO BE PROCESSED os 3A 2030 REM CS 2040 POKE 53260,0 POKE 532 81,0 88 2050 PRINT "ECLR,WHITE,REV S N,DOWN3 CONVERT MACHINE CODE TO BASIC LOADER" 80 2060 PRINT 62 2070 PRINT "EPURPLE,DOWNS,RI GHT313 E U P 2 3 " 2F 2080 INPUT "START ADDRESS OF M/C PROGRAMESPC8,LEFT7,CYAN 1";INS CS 2090 GOSUB6000 59 2100 IFERS""THEN GOSUB7000 :GOT02070 C8 2110 C E - I8A N 2120 ! M S S PRINT "EGREEN,OOWNS.RIG - HT313 E U P 2 1 " S92 T 2130 R S C IINPUT N ) "END ADDRESS OF M ; I N SIC PROGRAMESPCIO,LEFT7.CYAN) ";INS 6F 2140 G05U06000 AB 2150 IFERS""THEN GOSUB7000 GOT02160 41 2160 MEIN:MESSTRSCIN) 33 2170 IFME255 TM EN LLLL - • 05 4050 256 * LNS"" 79 4060 LIl i BY-PEEKCCE):CSCS-4-BY:BY m SSTRS(BY) 1 N. 1 1 F5 4070 4C- 1 B Y S ' . - : R 80 RIGHTS(BY 4080 1 LNS RE . S EF , L 4090 ) E MN ( B C Y E S C ) E .LNS4BYS.I 4 - ME ."," OD 1 : 14100 F C E > D ME E T . N HEN4130 . . 0 le E 4110 T GOSUBS000 28 4120 + 1 : 1 L GOT04030 F 0 E < 82 4130 1 7 T HI DE-DE-1.1 E N 4 0 8A 4140 6 0 N IFDE>16THENGOSUBS000:60 T04170 E 82 1150 I LNSLNS-1-"0." SF 4160 GOT04130 t 47 4170 PRINT02,CHRS(0);CHRS(0) ;CLOSE2 E4 4180 END El 4190 REM 14 5000 REM C2 5010 REMuCOMPILE BASIC DATA STATEMENT** 20 5020 REM BE 5030 CSSSTRS(CS) SF 5040 C S S - -1) 46 R I SOSO G H T S LNSCHRS(LL)+CHR5CLH)4C ( C S S . L HRS(131)+LNSA-CSSI-CHRS(0) E N C C S 23 5060 DL S ) ... 89 5070 KL. LENCLNS) - EN KL.•XL-256 Kif104-4-1 : REM +2 KL **SET LINE LINK EF +OL 6080 : 605U99000 78 SOSO RETURN 08 I 6000 F REM K L > 2 5 5 89 6010 REM** INPUT VALIDATION T oo 14 M 6020 REM OF 6030 IN....0:ERS"" AE 6040 IFLEN(INS)>STHENERS-"EN TRY TOO LONG":601136260 68 6050 IFLEFTSCINS,1)"S"THEN8 130 68 6060 IN-UAL( INS) 80 5070 FORT..1TOLEN(INS) BD 6080 IFMIDS(INS,T,1)"9"THENFI 63 6090 NEXT F7 6100 IFF1THENERS..."INVALID C HARACTERS IN ENTRY":0 02 6110 IFIN>65S3STHENERS-"MEMO RY LOCATION OUT OF BOUNDS" E4 6120 G0106260 9F 6130 S L 62 . - 6140 I N S -LENCINS) 65 6150 FORT11051 RIGHTS(IN -1 lE 6160 TSSMIDSCINS,T,1) S lE , S6170 L ) IFCTSS>"0"ANEITSS
"THEN6 3"DRMI LID C . " MS" M E M O '9") TN ENG :TERS 3260 1 - T H E r-TH mot, ?S P 3 P'050 R •i• AT 844 TM iErt CD IN EM I . I c • • • 1 C64 PROGRAMMING F2 9050 REM 92 10000 REM 01 10010 REM" DATA AREA 44 EE 10020 REM 5E 10030 DATA "0143"," " BASIC LOADER FOR PROGRAM","#" 79 10040 DATA "11143"," • ","#" 52 10050 DATA "N143"," " COMPI LED USING 'LOADERBUILD' UTIL 58 10050 DATA "#143"," • BY J KINLEYCSPC33198S","0" OF 10070 DATA "5","111751"."1." DF 10080 DATA "01129","L","0178" ,"0","#164","#" FF 10090 DATA "C","110178","0:"," 0 1 1 2 9 "lS","0" " , " 33 10100 0 " , " DATA "41135","A;C","1117 # 8","0","10170","A:","1151","S 1 7 8 "0170"."L","#172" " , " 0 05 10110 DATA "16","#170","0,A: " "."#130","#" , " # 86 10120 1 6 4 " DATA "*135","A:","11139 , "A","#179","10177"."C","11116 7","#153" CF 10130 DATA "1.134","CHECKSUM E RROR IN LINE ","034",";200", "11 30 10140 1 DATA "10;","*144","*" 94 10150 17 DATA "S130","S" 0". "L" ,"# 17 PROGRAM: 2" DEMO 58 100 REM °I' BASIC LOADER FOR PROGRAM 05 110 REM • DEMO FB 120 REM " COMPILED USING 'L OADERBUILD' UTILITY 95 130 REM " BY J KINLEY 1 9 8 9 BA 140 S— 49/52 08 150 FORL..0T06 20 160 O..0:FORD—OT016 CD 170 READA:CC*A:P0KES...1. 0 A: NEXT SD 180 READA;1FACTHENPRINT"OH 16+D ECKSUM ERROR IN LINE "i2004-L °10:5TOP AC 190 NEXT Cl 200 DATA160,0,185,3S,192,240 ,7,200,32,210,255,76,2,192,3 2,228.2046 56 210 DATA255.201,0,240,249,20 1,42,240,9,230,32,208,238,33 ,208,76,2470 CC 220 DATA14,192,96,80,82,69,8 3,83,32,65,32,75.69.89,32,84 ,1177 OA 230 DATA79,32.67,72,65,78,71 ,69,13,66,79,82,68,59,82,32, 1029 05 240 DATA65,78,58.32,83.07,82 ,59,59,78,32,67,79,76,79,85, 1109 F1 250 DATA82,83,13.13,13.80.82 ,69,83,83,32,42,32,84,79,32, 902 Fe 260 DATA69,88,73,84,0,0,0,0, 0,0,0,0,0,0,0,0,314 YOUR COMMODORE C64 PROGRAMMING SCREEN SAVER Give your Monitor/TV. Screen a rest with Screen Saver By G. Gomu system remain switched on H and unattended during a programming o session? Probably long enough w to gradually wear down the C.R.T. l (Cathode Ray Tube) in your monitor. o n During all this time the poor CRT is getting sunburnt by the electron gun! One g solution is to switch off the monitor d during such intervals. This is not o recommended due to the current surges e occuring at each switching on or s off which could corrupt your program. y Here is a "soft" solution. It is a simple o interrupt driven routine devised to u limit the damage. It will "black" the screen r if the keyboard is ignored for about c one minute. o How m It Works p Every u lisoth of a second the program checks t if a key has been pressed. If e not, it decrements a counter, ii the counter has run down to zero then it saves the border colour, sets it to black, and "switches off" the screen. This is done by turning off bit 4 location SD011 (53265), which changes the whole screen to the border colour. The next time a key is pressed, the same bit is turned back on, which restores the screen. The saved value of the border colour is restored too, and the counter is reset to its starting value, calculated for a delay of approximately one minute. The routine occupies memory from SCFAA (53162) to SUFF . (53247). To Use It Type in Screen Saver, and save it before attempting to run it because it will destroy itself once the machine code is poked in memory. Before starting programming, or loading a program, load "screen saver" and run it. There is one little drawback, the border colour can't be changed once the routine is operating. Also note that "Screen Saver" will not work with any program which changes the interrupt vector at $0314. Pressing RUN-STOP/RESTORE will disable the routine. To restart: SYS 53162. FRCERAM;SCREEN SAVER r FS 210 SYSAO:PRINT"SCREEN SAVER INSTALLED," 7E 220 NEW CE 100 REM 49 230 DATAl20,169,189,160,207, 141.020,003 55 240 DATA140,021,003,088,173, ES 110 REM • 022,208,141 11 2S0 DATA25S,207,096,165,197, 70 CO 120 REM • S C R E E N SAVE • 130 REM ° . B Y 13 041,064,240 260 DATA032,205.263,207,208, 029,206,254 F9 270 DATA207,208,019,173,032, OS 140 REM • G E R A R D CORN 208,141,255 LI SS 280 DATA207,159,000,141,032, 30 150 REM • 4 ES 208,173,017 290 DATA200,041,239,141,017, OF 160 REM 208,076,049 SC 300 0ATA234,173.017,208,009, 25 170 REM 016,141,017 32 180 RRINTCHRS(147);:AD53152 A7 310 DATA208,173,255,207,141, :FDRI..ADT053247 032,208,169 FE 190 READA:CS—CS-4-A:PDXEI,A:PR FA 320 DATA015,141,254,207,169, INT"."NEXT 000,141,253 AR 200 IFCS()11716THENPRINT"DAT A ERROR.": END 84 330 DATA207,290,227,000,015, 000 Fifty Three
- Page 1 and 2: i YOUR L12 DECEMBER 1989 f1•30 I
- Page 3 and 4: V K E Y B O A R D M O D U L E . - I
- Page 5 and 6: inhoppo..• - ;rt H'S tr FEATURES
- Page 7 and 8: Proof that there was nothing there
- Page 9 and 10: 11:0kTI- 1 One Good Nurd„. Who we
- Page 11 and 12: est game in the collection and well
- Page 13 and 14: GIN KING/ CRIBBAGE KING Software To
- Page 15 and 16: 00 410 -4•111k abb. di. Z - 11% ,
- Page 17 and 18: 1 CRICKET chainplons M A S T E R ST
- Page 19 and 20: swallowing Moby Dick whole. Not tha
- Page 21 and 22: and still r of and oped new aser ac
- Page 23 and 24: has ultiruce mild the it at the , h
- Page 25 and 26: i n, ; it, on- In Jy to / 0 u [ere
- Page 27 and 28: :h you iveness I Lid i ng trucks p
- Page 29: can )dy ust do es. P117- I the are
- Page 32 and 33: 1 C 6 4 PROGRAMMING MACRO ASSEMBLER
- Page 34 and 35: Editor Commands Summary A SYNTAX/ A
- Page 36 and 37: 1 rather time consuming, and a wast
- Page 38 and 39: Editor commands which use filenames
- Page 40 and 41: 82 1220 DATA 0,141,138,111,173, 21,
- Page 42 and 43: 43 780 DATA 21,128,173,202,115, 109
- Page 44 and 45: C64 PROGRAMMING 84 340 DATA 131.169
- Page 46 and 47: C64 PROGRAMMING 32 1960 DATA 155,23
- Page 48 and 49: C64 PROGRAMMING EA A2 SC E3 56 1520
- Page 50 and 51: PROGRAM: RESTORER BASE D1 10 A -82
- Page 54 and 55: UNIT 1 DRAKE HOUSE RAMSOF 160 DRAKE
- Page 56 and 57: TREAT YOURSELF... Subscription Rate
- Page 58 and 59: ical new tips sec- W tion, where yo
- Page 60 and 61: FEATURE Above: Amanda Barry, put yo
- Page 62 and 63: • FEATURE Right: "Are you sure we
- Page 64: GH MUSTERS II THE PREVIEW Back to w
- Page 67 and 68: fjust to make sure that if I bought
- Page 69 and 70: PC ENGINE SERVICES Southbank House,
- Page 71 and 72: palate. However, enough did escape
- Page 73: HE ULTIMATE GRAPHICS PACKAGE... SPE
- Page 76 and 77: FEATURE Above: Bob Marley, a true l
- Page 78 and 79: READERS OFFER Do you wish that more
- Page 80 and 81: Lineage:53p per word. ( 4 VAT) Semi
- Page 82 and 83: The Computer Industry Karma Sutra A
- Page 84: C) 1989 Columbia Pictures Industrie