2000-05-28 13:40:48 +00:00
|
|
|
;
|
|
|
|
; Maciej 'YTM/Alliance' Witkowiak
|
|
|
|
;
|
|
|
|
; 21.12.99
|
|
|
|
|
|
|
|
; struct tr_se SetNextFree (struct tr_se *startTS);
|
|
|
|
|
2022-08-28 19:52:53 +00:00
|
|
|
.import ___oserror
|
2013-05-09 11:56:54 +00:00
|
|
|
.import gettrse
|
|
|
|
.export _SetNextFree
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
.include "jumptab.inc"
|
|
|
|
.include "diskdrv.inc"
|
|
|
|
.include "geossym.inc"
|
2022-04-17 14:06:22 +00:00
|
|
|
|
2000-05-28 13:40:48 +00:00
|
|
|
_SetNextFree:
|
2013-05-09 11:56:54 +00:00
|
|
|
jsr gettrse
|
|
|
|
sta r3L
|
|
|
|
stx r3H
|
|
|
|
jsr SetNextFree
|
2022-08-28 19:52:53 +00:00
|
|
|
stx ___oserror
|
2013-05-09 11:56:54 +00:00
|
|
|
lda r3L
|
|
|
|
ldx r3H
|
|
|
|
rts
|