home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Transactor
/
Transactor_12_1986_Transactor_Publishing.d64
/
centre
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
631b
|
43 lines
0 rem centre (sept 4/84) :
1 :
2 rem 1 statement, 0 functions
3 :
4 rem keyword characters: 6
5 :
6 rem keyword routine line ser #
7 rem centre cntr 4144 049
8 :
9 rem ================================
10 :
112 .asc "centr[197]"
1112 .word cntr-1
4144 cntr jsr $ad9e
4146 jsr $b6a3
4148 tay
4150 pha
4152 ldx #0
4154 ce1 dey
4156 cpy #$ff
4158 beq ce2
4160 lda ($22),y
4162 and #$7f
4164 cmp #$20
4166 bcc ce1
4168 inx
4170 bne ce1
4172 ce2 txa
4174 sec
4176 sbc #$29
4178 bcs ce4
4180 eor #$ff
4182 lsr
4183 ldx $d3
4184 cpx #$28
4185 bcc ce3
4186 adc #$27
4187 ce3 sta $d3
4188 pla
4189 jmp $ab24
4190 ce4 jmp $a571
4192 ;