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 NxtBlkAlloc (struct tr_se *startTS, struct tr_se output[], int length );
|
|
|
|
|
2003-01-02 01:50:39 +00:00
|
|
|
.import popax, setoserror
|
2000-05-28 13:40:48 +00:00
|
|
|
.import gettrse
|
|
|
|
.importzp ptr4
|
|
|
|
.export _NxtBlkAlloc
|
|
|
|
|
2012-01-31 20:49:58 +00:00
|
|
|
.include "jumptab.inc"
|
2012-02-09 09:24:09 +00:00
|
|
|
.include "diskdrv.inc"
|
2012-01-31 20:49:58 +00:00
|
|
|
.include "geossym.inc"
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
_NxtBlkAlloc:
|
|
|
|
sta r2L
|
|
|
|
stx r2H
|
|
|
|
jsr popax
|
|
|
|
sta r4L
|
|
|
|
stx r4H
|
|
|
|
jsr popax
|
|
|
|
jsr gettrse
|
|
|
|
sta r3L
|
|
|
|
stx r3H
|
|
|
|
jsr NxtBlkAlloc
|
2003-01-02 01:50:39 +00:00
|
|
|
jmp setoserror
|