1
0
mirror of https://github.com/cc65/cc65.git synced 2024-05-31 22:41:32 +00:00
cc65/libsrc/geos-common/disk/freeblock.s
2022-04-17 16:06:22 +02:00

21 lines
386 B
ArmAsm

;
; Maciej 'YTM/Elysium' Witkowiak
;
; 21.12.1999, 2.1.2003
; char FreeBlock (struct tr_se *TS);
.import gettrse, setoserror
.export _FreeBlock
.include "jumptab.inc"
.include "diskdrv.inc"
.include "geossym.inc"
_FreeBlock:
jsr gettrse
sta r6L
stx r6H
jsr FreeBlock
jmp setoserror