home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Commodore Format PowerPacks 23
/
Commodore_Format_PowerPacks_The_23_1992_Future_GB.d64
/
header
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
778b
|
24 lines
10 print"[147]":poke 53280,0:poke53281,0
20 ad=828
30 print"[164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164]";
40 print" make sure the tape is rewound to start"
50 print" position then press any key"
60 print"[163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
70 getx$:ifx$=""then70
80 print"[147]":open1,1:print"[147]"
90 t$(0)="relative":t$(2)="absolute":t$(3)="file":c=2:print"program - 1":goto110
100 n$="":open1,1
110 tv=peek(ad):ft$=t$(tv-1)
120 s$=right$(" "+str$(peek(ad+1)+(256*peek(ad+2))-1),6)
130 e$=right$(" "+str$(peek(ad+3)+(256*peek(ad+4))-1),6)
140 fori=5to20:n$=n$+chr$(peek(ad+i)):next
150 x=val(right$(e$,6))-val(right$(s$,6))
160 kb$=right$(str$(int(x/1024*100)/100),6)
170 print"[150]type size start end filename
180 [153]"cont"ft$kb$s$e$" "n$:[153]
190 [153]"print ready for next program hit any key"
200 [161] a$:[139] a$[178]""[167] 200
210 [153]"onprogram -"c"cmd " :c[178]c[170]1
220 [160]1
230 [137]100