mirror of
https://github.com/peterferrie/standard-delivery.git
synced 2024-06-07 17:29:31 +00:00
single value to end list
This commit is contained in:
parent
f593148187
commit
b527d41d26
9
fstbt.s
9
fstbt.s
|
@ -58,12 +58,7 @@ adrindex
|
||||||
lda adrtable - 1 ;15 entries in first row, 16 entries thereafter
|
lda adrtable - 1 ;15 entries in first row, 16 entries thereafter
|
||||||
beq incsector ;skip empty slots to allow sparse tracks
|
beq incsector ;skip empty slots to allow sparse tracks
|
||||||
sta $27 ;set high part of address
|
sta $27 ;set high part of address
|
||||||
tay
|
cmp #$C0 ;detect end of data
|
||||||
!if enable_banked=0 {
|
|
||||||
iny ;detect #$FF (end of data)
|
|
||||||
} else {
|
|
||||||
dey ;detect #$01 (end of data)
|
|
||||||
}
|
|
||||||
beq jmpoep ;end of data
|
beq jmpoep ;end of data
|
||||||
|
|
||||||
;convert slot to PROM address
|
;convert slot to PROM address
|
||||||
|
@ -113,4 +108,4 @@ jmpoep
|
||||||
adrtable
|
adrtable
|
||||||
;15 slots for track 0 (track 0 sector 0 is not addressable)
|
;15 slots for track 0 (track 0 sector 0 is not addressable)
|
||||||
;16 slots for all other tracks, fill with addresses, 0 to skip any sector
|
;16 slots for all other tracks, fill with addresses, 0 to skip any sector
|
||||||
!byte 1 ;end of list, can't load to stack
|
!byte $C0 ;end of list, can't load to stack
|
||||||
|
|
Loading…
Reference in New Issue
Block a user