mirror of
https://github.com/cc65/cc65.git
synced 2025-01-28 00:30:12 +00:00
24 lines
320 B
ArmAsm
24 lines
320 B
ArmAsm
|
|
||
|
;
|
||
|
; Maciej 'YTM/Alliance' Witkowiak
|
||
|
;
|
||
|
; 21.12.99
|
||
|
|
||
|
; struct tr_se SetNextFree (struct tr_se *startTS);
|
||
|
|
||
|
.import gettrse
|
||
|
.export _SetNextFree
|
||
|
|
||
|
.include "../inc/jumptab.inc"
|
||
|
.include "../inc/geossym.inc"
|
||
|
|
||
|
_SetNextFree:
|
||
|
jsr gettrse
|
||
|
sta r3L
|
||
|
stx r3H
|
||
|
jsr SetNextFree
|
||
|
stx errno
|
||
|
lda r3L
|
||
|
ldx r3H
|
||
|
rts
|