home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Transactor
/
Transactor_14_1986_Transactor_Publishing.d64
/
install
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
531b
|
25 lines
10 rem -------------------------------
12 rem general install program
14 rem install
16 rem -------------------------------
18 ifa=1then36
20 poke55,0:poke56,32:clr
22 input"filename";f$
24 open15,8,15:open1,8,2,f$+",p,r"
26 input#15,a,b$,c,d
28 close1:close15:ifa=0then34
30 printa,b$,c,d:end
34 gosub44:a=1:loadf$,8,1
36 if a$<>"kexp"anda$<>"init"then40
38 sysad
40 poke55,lb:poke56,hb:new
42 rem
44 open1,8,2,f$+",p,r"
46 get#1,x$:ifx$=""thenx$=chr$(0)
48 lb=asc(x$)
50 get#1,x$:ifx$=""thenx$=chr$(0)
52 hb=asc(x$):ad=lb+256*hb
54 fori=1to3:get#1,x$:next
56 a$="":fori=1to4:get#1,x$:a$=a$+x$
58 next:close1:return