2000-05-28 13:40:48 +00:00
|
|
|
;
|
2003-01-02 01:50:39 +00:00
|
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
2000-05-28 13:40:48 +00:00
|
|
|
;
|
2003-01-02 01:50:39 +00:00
|
|
|
; 21.12.1999, 2.1.2003
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
; char FindBAMBit (struct tr_se *TS);
|
|
|
|
; (might be called inUSE (if (!inUSE(block))))
|
|
|
|
|
|
|
|
.import gettrse
|
2003-01-02 01:50:39 +00:00
|
|
|
.import return0, return1
|
2000-05-28 13:40:48 +00:00
|
|
|
.export _FindBAMBit
|
|
|
|
|
2012-01-31 20:49:58 +00:00
|
|
|
.include "jumptab.inc"
|
|
|
|
.include "geossym.inc"
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
_FindBAMBit:
|
|
|
|
jsr gettrse
|
|
|
|
sta r6L
|
|
|
|
stx r6H
|
|
|
|
jsr FindBAMBit
|
|
|
|
bne inUse
|
2003-01-02 01:50:39 +00:00
|
|
|
jmp return0
|
|
|
|
inUse: jmp return1
|