1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-28 06:29:30 +00:00
cc65/libsrc/geos-common/disk/setnextfree.s
ol.sc 10374c66ce Moved the 'disk' files from 'geos-cbm' to 'geos-common' which are believed to work as-is on Apple GEOS too.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5447 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-04 21:46:26 +00:00

25 lines
333 B
ArmAsm

;
; Maciej 'YTM/Alliance' Witkowiak
;
; 21.12.99
; struct tr_se SetNextFree (struct tr_se *startTS);
.import __oserror
.import gettrse
.export _SetNextFree
.include "jumptab.inc"
.include "geossym.inc"
_SetNextFree:
jsr gettrse
sta r3L
stx r3H
jsr SetNextFree
stx __oserror
lda r3L
ldx r3H
rts