]> git.sur5r.net Git - cc65/blob - libsrc/geos-common/disk/setnextfree.s
Moved the 'disk' files from 'geos-cbm' to 'geos-common' which are believed to work...
[cc65] / libsrc / geos-common / disk / setnextfree.s
1
2 ;
3 ; Maciej 'YTM/Alliance' Witkowiak
4 ;
5 ; 21.12.99
6
7 ; struct tr_se SetNextFree (struct tr_se *startTS);
8
9             .import __oserror
10             .import gettrse
11             .export _SetNextFree
12
13             .include "jumptab.inc"
14             .include "geossym.inc"
15         
16 _SetNextFree:
17         jsr gettrse
18         sta r3L
19         stx r3H
20         jsr SetNextFree
21         stx __oserror
22         lda r3L
23         ldx r3H
24         rts