home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 53
/
053.d81
/
customizer
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
12KB
|
422 lines
10 rem font customizer
20 rem copyright (c) 1988 roger moore
30 rem all rights reserved.
40 poke 53280,12:poke 53281,0
50 poke 53265,27:poke53272,23
60 print chr$(8);chr$(14)
80 rem dis stop/rest
90 gosub 3190
100 print"[147]"tab(12)"[158][198]ont [195]ustomizer"
110 printtab(12)"[150][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183]"
120 print"[154] [193] program for editing character sets
130 [153][163]10)"for the lenommodore 64.
140 rem
150 print"[154]"tab(6)"[213]se [195]ommodore [210][207][205] set (y/n)? "
160 geta$:ifa$=""then160
170 ifa$="n"ora$="[206]"then c=0:goto 250
180 ifa$<>"y"anda$<>"[217]"then160
190 printtab(7)"[153][213]pper or [204]ower case (u/l)?"
200 geta$:ifa$=""then200
210 ifa$="u"ora$="[213]"thenc=1:goto240
220 ifa$="l"ora$="[204]"thenc=2:goto240
230 goto 200
240 rem poke 831,77
250 print"[147][159] [208]ress the [200][159] key for [200][197][204][208][159] at any time."
260 printtab(8)"[208]ress <[210][197][212][213][210][206]> to begin.
270 [161]a$:[139]a$[178]""[167]270
280 [139]a$[178]"h"[167]f[178]0:[137]550
290 [139]a$[179][177][199](13)[167]250
300 [151] 53265,[194](53265)[176]32
310 [151] 53272,[194](53272)[176]8
320 [158] 49152:[158] 49216:[151]247,0
330 [139] c[178]1 [167] [158] 49296
340 [139] c[178]2 [167] [158] 49360
350 [158] 49424:[158] 49504:[158] 51456:[158]51499
360 [158] 49808:[158] 49568:[158] 49728
370 [158] 49826:[158] 49946:[158] 49856
380 [151] 198,0:[151] 53269,2:d[178]0:a[178]1
390 [161]a$:[139]a$[178]""[167] 390
400 [139]a$[178]"h"[167]f[178]1:[137]550
410 [139]a$[178]""[167]1040
420 [139]a$[178]"cmd"[167]1170
430 [139]a$[178]""[167]1240
440 [139]a$[178]"on"[167]1310
450 [139]a$[178]"l"[167]1380
460 [139]a$[178]"s"[167]1690
470 [139]a$[178]"q"[167]2120
480 [139]a$[178]"i"[167]2000
490 [139]a$[178]""[167]2100
500 [139]a$[178]"c"[167]2190
510 [139]a$[178]"d"[167] df[178]0:[141]3300:[137]390
520 [143] ifa$=chr$(13)then11100
530 [139]a$[178][199](141)[167]2320
540 [137] 390
550 [143] help is on the way
560 [151]53265,27:[151]53272,23:[151]53269,0
570 [153]"load";:[153][163]15)"syslenustomizer
580 print"[159] [150][211][197][204][197][195][212][159] mode commands
590 [153]" left$open atnctivate the help screen
600 print" [211][159] [211]ave a font file to disk
610 [153]" (NULL)open (NULL)oad a font file (str$irectory option)
620 print" [196][159] [196]iskette [196]irectory
630 [153]" lenopen lenopy in the entire (NULL)(NULL)(NULL) set
640 print" [201][159] [195]reate the inverse half of the set
650 [153]" left$(NULL)(NULL)valopen (NULL)ove window to top left
660 print" [195][210][211][210] [203][197][217][211][159] [211]elect character to edit"
670 print" [209][159] [209]uit program"
680 print" [211][200][201][198][212] <[210][197][212][213][210][206]>[159] [197]nter [150][197][196][201][212][159] mode.
690 [153][163]9)"sys(NULL)ress <(NULL)val(NULL)(NULL)(NULL)(NULL)> for more"
700 [161]a$:[139]a$[179][177][199](13)[167]700
710 [153]"loadopen defvalstr$right$(NULL)open mode commands
720 print" [198]1[159] [195]opy into buffer
730 [153]" asc2open lenopy from buffer
740 print" [198]3[159] [211]hift left
750 [153]" asc4open (NULL)hift right
760 print" [198]5[159] [211]hift up
770 [153]" asc6open (NULL)hift down
780 print" [198]7[159] [210]otate clockwise
790 [153]" asc8open (NULL)otate counter-clockwise
800 print" 1[159] [204]ogical [193][206][196] character with buffer
810 [153]" 2open (NULL)ogical (NULL)(NULL) character with buffer
820 print" 3[159] [204]ogical [216][207][210] character with buffer
830 [153][163]9)"sys(NULL)ress <(NULL)val(NULL)(NULL)(NULL)(NULL)> for more"
840 [161]a$:[139]a$[179][177][199](13)[167]840
850 [153]"loadopen (NULL)ore defvalstr$right$(NULL)open mode commands
860 print" +[159] [211][208][193][195][197] [194][193][210] turns bits on
870 [153]" -open (NULL)(NULL)atnlenval peekatn(NULL) turns bits off
880 print" [211][208][193][195][197] [194][193][210][159] [212]urn bits on/off
890 [153]" atnopen atndvance after (NULL)(NULL)atnlenval peekatn(NULL)
900 print" [206][159] [206]o advance after [211][208][193][195][197] [194][193][210]
910 [153]" (NULL)open (NULL)everse character
920 print" [205][159] [205]irror character
930 [153]" left$(NULL)(NULL)valopen (NULL)ove to top left bit
940 print" [195][204][210] [200][207][205][197][159] [197]rase character
950 [153]" left$open left$elp screen
960 print" [211][200][201][198][212] <[210][197][212][213][210][206]>[159] [197]nter [211]elect mode
970 [153]" sysvalnd of help screen. (NULL)ress <(NULL)val(NULL)(NULL)(NULL)(NULL)>"
980 [161]a$:[139]a$[179][177][199](13)[167]980
990 [153]"load"
1000 [139] f[177]0[167][151]53265,59:[151]53272,31:[158]50352:[158]49826:[158]49728:[158]51499
1010 [139] f[178]1 [167] [151] 53269,2
1020 [139] f[178]2 [167] [151] 53269,3
1030 [145] f[170]1 [137] 250,390,2340
1040 [143] right
1050 m[178]1:w[178][194](2):nw[178]w[170]1:[139]w[178]4[176]w[178]9[167]nw[178]w
1060 [139][194](830)[178]255[167]m[178]0
1070 [139][194](830)[178]223[175]w[178]4[167]nw[178]9:[151]247,188
1080 [139]m[167][151]830,[194](830)[170]1
1090 [151]2,nw
1100 [139]w[178]nw[175]m[167][151]247,[194](247)[170]1
1110 [158]49568:[158]49856:[158]50144:[137]390
1120 [143] return key was hit
1130 q[178]32[170]32[172][181]([194](830)[173]31)
1140 [139]q[179]223[167][151]2,0:[151]830,q:[151]247,q:[158]49568:[158]49856:[158]50144:[137]390
1150 [139]q[179]255[167][151]2,5:[151]830,q:[151]247,q[171]32:[158]49568:[158]49856:[158]50144
1160 [137] 390
1170 [143] left
1180 m[178]0:w[178][194](2):nw[178]w[171]1:[139]w[178]0[176]w[178]5[167]nw[178]w
1190 [139][194](830)[179][177]0[167][151]830,[194](830)[171]1:m[178]1
1200 [139][194](247)[178]0[175][194](830)[178]31[167]nw[178]0:[151]247,31:m[178]0
1210 [151]2,nw
1220 [139]w[178]nw[175]m[167][151]247,[194](247)[171]1
1230 [158]49568:[158]49856:[158]50144:[137]390
1240 [143] down
1250 m[178]0:w[178][194](2):nw[178]w[170]5:[139]w[177]4[167]nw[178]w
1255 [139][194](830)[177]223 [167] 390
1260 p[178][194](247):[139]p[177]187[175]p[179]192[175]w[177]4[167][151]247,187:nw[178][194](830)[171]214:w[178]nw
1270 [139][194](830)[179]224[167][151]830,[194](830)[170]32:m[178]1
1280 [151]2,nw
1290 [139]w[178]nw[175]m[167][151]247,[194](247)[170]32
1300 [158]49568:[158]49856:[158]50144:[137]390
1310 [143] up
1320 m[178]0:w[178][194](2):nw[178]w[171]5:[139]w[179]5[167]nw[178]w
1330 p[178][194](830):[139][194](247)[179]32[175]p[177]31[175]w[179]5[167][151]247,0:nw[178]p[171]32
1340 [139][194](830)[177]31[167][151]830,[194](830)[171]32:m[178]1
1350 [151]2,nw
1360 [139]w[178]nw[175]m[167][151]247,[194](247)[171]32
1370 [158]49568:[158]49856:[158]50144:[137]390
1380 [143] load
1390 [151]53265,27:[151]53272,23:[151]53269,0:
1400 [153]"load cont(NULL)oad custom character set."
1410 [153]"open (NULL)ress dopen for str$irectory.
1420 print" [208]ress <[210][197][212][213][210][206]>[159] otherwise.":w=1
1430 get a$:if a$="d"then df=1:gosub3300:w=0:goto1450
1440 ifa$<>chr$(13)then1430
1450 print"[153] [212]o abort [204][207][193][196] operation press
1460 [153]" <(NULL)val(NULL)(NULL)(NULL)(NULL)> without entering a filename.
1470 ifwthenprint" [159][208]ut load diskette in disk
1480 [139]w[167][153]" drive device 8 drive 0."
1490 [153]" ascilename:list_waitcmd";:l[178]0:f$[178]""
1500 [161]a$:[139]a$[178]""[167]1500
1510 [139]a$[178][199](13)[167][153]" ";:[137]1560
1520 [139]a$[178][199](20)[175]l[177]0[167][153]" cmdcmd cmd_waitcmd";:l[178]l[171]1:f$[178][200](f$,l)
1530 [139]l[179]14[167][139](a$[177][178]" "[175]a$[179][178]"_")[175]a$[179][177][199](34)[167]1550
1540 [137] 1500
1550 [153]a$"_waitcmd";:l[178]l[170]1:f$[178]f$[170]a$:[137]1500
1560 [139]l[178]0[167][153]"load":[151]53265,[194](53265)[176]32:[151]53272,[194](53272)[176]8
1570 [139]l[178]0[167][158]50352:[158]49826:[158]49728:[158]51499:[151]53269,2:[137]390
1580 [129]i[178]1[164][195](f$):[151]50677[170]i,[198]([202](f$,i,1)):[130]
1590 [153]:[153]"cont(NULL)earching for"[199](3