home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er
/
64ER_CD.iso
/
89xx
/
8907a.d64
/
dir.src
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
1995-03-30
|
531b
|
18 lines
5 OPEN1,8,2,"DIR.OBJ,P,W"
10 SYS 9*4096:.OPT P,O1:*= $C000
12 .ASC "PROGRAM:"
15 LDA #1:JSR $FFC3:JSR $FD15
20 LDA #1:LDX #8:LDY #0:JSR $FFBA
25 LDA #1:LDX PRGADR+1:LDY PRGADR+2:JSR $FFBD
30 JSR $FFC0:LDX #1:JSR $FFC6:JSR $FFCF:JSR $FFCF
35 ; EINGABE
40 L40 JSR $FFCF:JSR $FFCF:BIT 144:BVS CLOSE
50 JSR $FFCF:TAX:JSR $FFCF:JSR $BDCD
60 L60 JSR $FFCF:BEQ L70:JSR $F1CA:JMP L60
70 L70 LDA #13:JSR $F1CA:JMP L40
210 CLOSE JSR $FFCC:LDA #1:JSR $FFC3:JSR $FD15:RTS
215 PRGADR JMP PRGNAME
218 .BYTE $FF
220 PRGNAME .ASC "$"
230 .END:CLOSE1