Added comments to cbm.h.

load/save returns oserror code.
Added open/close and read (which is not tested yet).


git-svn-id: svn://svn.cc65.org/cc65/trunk@637 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
mrintsch
2001-03-20 21:06:04 +00:00
parent 83f8ce6f39
commit fb76e97575
16 changed files with 157 additions and 70 deletions

View File

@@ -1,7 +1,7 @@
;
; Marc 'BlackJack' Rintsch, 11.06.1999
;
; unsigned __fastcall__ cbm_k_save(unsigned int start, unsigned int end);
; unsigned char __fastcall__ cbm_k_save(unsigned int start, unsigned int end);
;
.include "cbm.inc"
@@ -20,9 +20,6 @@ _cbm_k_save:
ldx tmp1
ldy tmp1+1
jsr SAVE
ldx #0
bcc @Ok
inx
rts
@Ok: txa
rts
bcs @NotOk
lda #0
@NotOk: rts