mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
25 lines
437 B
ArmAsm
25 lines
437 B
ArmAsm
;
|
|
; Maciej 'YTM/Alliance' Witkowiak
|
|
;
|
|
; 21.12.99
|
|
|
|
; int CalcBlksFree (void);
|
|
|
|
.import __oserror
|
|
.export _CalcBlksFree
|
|
|
|
.include "jumptab.inc"
|
|
.include "diskdrv.inc"
|
|
.include "geossym.inc"
|
|
|
|
_CalcBlksFree:
|
|
lda #<curDirHead
|
|
ldx #>curDirHead
|
|
sta r5L
|
|
stx r5H
|
|
jsr CalcBlksFree
|
|
stx __oserror
|
|
lda r4L
|
|
ldx r4H
|
|
rts
|