2000-05-28 13:40:48 +00:00
|
|
|
;
|
|
|
|
; Maciej 'YTM/Alliance' Witkowiak
|
|
|
|
;
|
|
|
|
; 21.12.99
|
|
|
|
|
|
|
|
; struct tr_se SetNextFree (struct tr_se *startTS);
|
|
|
|
|
2001-07-04 22:08:13 +00:00
|
|
|
.import __oserror
|
2000-05-28 13:40:48 +00:00
|
|
|
.import gettrse
|
|
|
|
.export _SetNextFree
|
|
|
|
|
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
|
|
|
|
|
|
|
_SetNextFree:
|
|
|
|
jsr gettrse
|
|
|
|
sta r3L
|
|
|
|
stx r3H
|
|
|
|
jsr SetNextFree
|
2001-07-04 22:08:13 +00:00
|
|
|
stx __oserror
|
2000-05-28 13:40:48 +00:00
|
|
|
lda r3L
|
|
|
|
ldx r3H
|
|
|
|
rts
|