home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Transactor
/
Transactor_24_1988_Transactor_Publishing.d64
/
fred.a
< prev
next >
Wrap
Text File
|
2023-02-26
|
4KB
|
260 lines
C$parmsize = $00fb
c$local = $002b
c$parms = $033c
acptr = $ffa5
chkin = $ffc6
chkout = $ffc9
chrin = $ffcf
chrout = $ffd2
ciout = $ffa8
cint = $ff81
clall = $ffe7
close = $ffc3
clrchn = $ffcc
getin = $ffe4
iobase = $fff3
ioinit = $ff84
listen = $ffb1
load = $ffd5
membot = $ff9c
memtop = $ff99
open = $ffc0
plot = $fff0
ramtas = $ff87
rdtim = $ffde
readst = $ffb7
restor = $ff8a
save = $ffd8
scnkey = $ff9f
screen = $ffed
second = $ff93
setlfs = $ffba
setmsg = $ff90
setnam = $ffbd
settim = $ffdb
settmo = $ffa2
stop = $ffe1
talk = $ffb4
tksa = $ff96
udtim = $ffea
unlsn = $ffae
untlk = $ffab
vector = $ff8d
.ref c$start
.ref c$105
.ref c$1102
.ref ..s$aa
.ref ..s$ab
.ref c$1139
.ref ..s$ac
.ref ..s$ad
.ref ..s$ae
.ref ..s$af
.ref ..s$ag
.ref ..s$ah
.ref ..s$ai
.ref ..s$aj
.ref ..s$ak
.ref ..s$al
.ref c$106
.ref c$0112
c$$start
jmp c$start
main
sta c$parmsize
lda #$04
ldx #$00
ldy #$00
jsr c$105
ldx #$1f
ldy #$00
stx c$local
ldx #$0a
ldy #$00
stx c$local+1
ldx #$18
ldy #$00
stx c$local+2
ldx #$32
ldy #$00
stx c$local+3
lda #$00
jsr c$1102
lda #$00
jsr c$1102
ldx c$local
ldy #$00
stx c$parms
sty c$parms+1
ldx #<..s$aa
ldy #>..s$aa
stx c$parms+2
sty c$parms+3
ldx #<..s$ab
ldy #>..s$ab
lda #$04
jsr c$1139
ldx #$b3
ldy #$00
stx c$parms+9
sty c$parms+10
lda #$0b
jsr fred
ldx #<..s$ac
ldy #>..s$ac
stx c$parms+2
sty c$parms+3
ldx #<..s$ad
ldy #>..s$ad
lda #$04
jsr c$1139
lda #$09
jsr c$1102
lda #$09
jsr c$1102
ldx c$local+1
ldy #$00
stx c$parms+9
sty c$parms+10
ldx #<..s$ae
ldy #>..s$ae
stx c$parms+11
sty c$parms+12
ldx #<..s$af
ldy #>..s$af
lda #$0d
jsr c$1139
ldx #$d2
ldy #$00
stx c$parms+18
sty c$parms+19
lda #$14
jsr fred
ldx #<..s$ag
ldy #>..s$ag
stx c$parms+11
sty c$parms+12
ldx #<..s$ah
ldy #>..s$ah
lda #$0d
jsr c$1139
lda #$12
jsr c$1102
ldx c$local+2
ldy #$00
stx c$parms+18
sty c$parms+19
ldx #<..s$ai
ldy #>..s$ai
stx c$parms+20
sty c$parms+21
ldx #<..s$aj
ldy #>..s$aj
lda #$16
jsr c$1139
lda #$1b
jsr c$1102
ldx c$local+3
ldy #$00
stx c$parms+27
sty c$parms+28
ldx #<..s$ak
ldy #>..s$ak
stx c$parms+29
sty c$parms+30
ldx #<..s$al
ldy #>..s$al
lda #$1f
jsr c$1139
ldx #$7f
ldy #$00
stx c$parms+36
sty c$parms+37
lda #$26
jsr fred
lda #$1d
jsr fred
lda #$14
jsr fred
lda #$0b
jsr fred
lda #$04
ldx #$00
ldy #$00
jmp c$106
fred
sta c$parmsize
lda #$02
ldx #$00
ldy #$00
jsr c$105
ldy #$00
lda ($16),Y
tax
iny
lda ($16),Y
tay
stx c$local
sty c$local+1
ldx c$local
ldy c$local+1
stx c$parms
sty c$parms+1
lda #$02
ldx #$02
jsr c$0112
jmp fred+44
lda #$02
ldx #$00
ldy #$00
jmp c$106
..s$aa
.byte $4a , $55 , $47 , $4f , $00
..s$ab
;!!!Invalid opcode - switching to byte mode.
.byte $87 , $17 , $00 , $00 , $00
..s$ac
;!!!Invalid opcode - switching to byte mode.
.byte $47 , $41 , $52 , $54 , $48 , $00
..s$ad
.byte $86 , $71 , $33 , $33 , $33
..s$ae
;!!!Invalid opcode - switching to byte mode.
.byte $54 , $59 , $4c , $55 , $4d , $00
..s$af
;!!!Invalid opcode - switching to byte mode.
.byte $87 , $35 , $33 , $33 , $33
..s$ag
;!!!Invalid opcode - switching to byte mode.
.byte $47 , $4c , $4f , $52 , $50 , $00
..s$ah
.byte $85 , $73 , $33 , $33 , $33
..s$ai
.byte $50 , $4c , $4f , $4f , $4d , $00
..s$aj
;!!!Invalid opcode - switching to byte mode.
.byte $87 , $20 , $66 , $66 , $66
..s$ak
;!!!Invalid opcode - switching to byte mode.
.byte $47 , $4c , $49 , $4d , $00
..s$al
.byte $86 , $49 , $33 , $33 , $33