home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Transactor
/
Transactor_08_1985_Transactor_Publishing.d64
/
place
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
2KB
|
92 lines
0 rem place (m. phillips 3/85) :
1 :
2 rem 0 statements, 1 function
3 :
4 rem keyword characters: 6
5 :
6 rem keyword routine line ser#
7 rem f/place( nst 6398 081
8 :
9 rem ===============================
10 :
614 .asc "place" : .byte $a8
1614 .word nst-1
6398 nst lda #2
6400 jsr $a3fb
6402 lda #0
6404 pha
6406 jsr $ad9e
6408 bit $0d
6410 bmi nst2
6412 jsr $b7a1
6414 jsr $aefd
6416 pla
6418 txa
6420 bne nst1
6422 jmp $b248
6424 nst1 dex
6426 txa
6428 pha
6430 jsr $ad9e
6432 nst2 jsr $b6a3
6434 sta t3
6436 pha
6438 txa
6440 pha
6442 tya
6444 pha
6446 lda t3
6448 jsr $b47d
6450 jsr $79
6452 jsr $aefd
6454 jsr $ad9e
6456 jsr $b6a3
6457 tax
6458 beq nst6
6459 sta t4
6460 jsr $79
6462 jsr $aef7
6464 pla
6466 sta $25
6468 pla
6470 sta $24
6472 pla
6473 beq nst6
6474 sta t3
6476 pla
6478 sta t2
6480 sta t5
6482 lda t3
6484 cmp t2
6486 beq nst6
6488 bcc nst6
6490 sbc t4
6492 bcc nst6
6494 sta t6
6496 nst3 clc
6498 lda $24
6500 adc t5
6502 sta $24
6504 bcc nst4
6506 inc $25
6508 nst4 ldy #1
6510 sty t5
6512 dey
6514 nst5 lda ($24),y
6516 cmp ($22),y
6518 bne nst7
6520 iny
6522 cpy t4
6524 bne nst5
6526 ldy t2
6528 iny
6530 .byte $2c
6532 nst6 ldy #0
6534 jmp $b3a2
6536 nst7 lda t2
6538 cmp t6
6540 bcs nst6
6542 inc t2
6544 bne nst3
6546 ;