home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Transactor
/
Transactor_26_1988_Transactor_Publishing.d64
/
underkern
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
969b
|
43 lines
100 sys999
110 ;
120 *= $f000
130 .obj "underkern"
140 ;
150 ;
160 border = $d020
170 farjsr = $c803
180 ;
190 begin inc border
200 : lda #$ff
210 : ldy #$f0 ;want to call plot
220 : sty $14
230 : sta $15
240 : clc ;will set cursor
250 : php ;irqs not needed
260 : pla
270 : sta $030f ;status reg.
280 : ldx #$0a ;row 10
290 : ldy #$11 ;col 17
300 ;
310 : jsr regfar ;acc. not needed
320 ;
330 : lda #$bd
340 : ldy #$cd ;basic linprt @ $bdcd
350 : sty $14
360 : sta $15
370 : php ;no change in status reg.
380 : pla
390 : sta $030f
400 : lda #$ff ;two-byte interger in x/a
410 : tax ;will print 65535
420 ;
430 : jsr regfar ;.y not needed
440 ;
450 : rts ;back to far-sys
460 ;
470 regfar sta $030c ;prepare registers
480 : stx $030d ;since we jsr'd here
490 : sty $030e ;we can safely...
500 : jmp farjsr
510 .end