mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
25 lines
445 B
ArmAsm
25 lines
445 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
|