adapted to Kick Assembler, some documentation update

This commit is contained in:
FeralChild64 committed 2019-09-07 12:35:21 +02:00
1 parent ae23dbae7b
commit de27124b4f
198 files changed
+4181 -3976

No files matched your search

+7 -7
View File
@@ -1,18 +1,18 @@
;; Just a helper routines
// Just a helper routines
;; Find the LAT / SAT / FAT entry index where LAT corresponds to A, returns index in Y
;; Carry flag set means not found
// Find the LAT / SAT / FAT entry index where LAT corresponds to A, returns index in Y
// Carry flag set means not found
find_fls:
ldy LDTND
beq find_fls_not_found ; table empty
*
beq find_fls_not_found // table empty
!:
dey
bmi find_fls_not_found ; no more entries
bmi find_fls_not_found // no more entries
cmp LAT, y
bne - ; does not match, try the next one
bne !- // does not match, try the next one
clc
rts