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,19 +1,15 @@
;
; Ullrich von Bassewitz, 03.06.1999
;
; unsigned __fastcall__ cbm_open (void);
; unsigned char __fastcall__ cbm_k_open (void);
;
.include "cbm.inc"
.export _cbm_open
.export _cbm_k_open
_cbm_open:
_cbm_k_open:
jsr OPEN
ldx #0
bcc @Ok
inx
rts
@Ok: txa
rts
bcs @NotOk
lda #0
@NotOk: rts