Fix a kernal problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@2810 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
b7c203856b
commit
028d03b482
3 changed files with 16 additions and 2 deletions
|
@ -40,6 +40,7 @@ OBJS = _scrsize.o \
|
|||
get_tv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
kclose.o \
|
||||
kernal.o \
|
||||
mainargs.o \
|
||||
randomize.o \
|
||||
|
|
14
libsrc/c16/kclose.s
Normal file
14
libsrc/c16/kclose.s
Normal file
|
@ -0,0 +1,14 @@
|
|||
;
|
||||
; Ullrich von Bassewitz, 2003-12-21
|
||||
;
|
||||
; CLOSE replacement function
|
||||
;
|
||||
|
||||
.export CLOSE
|
||||
|
||||
.proc CLOSE
|
||||
clc ; Force C64 compatible behaviour
|
||||
jmp $FFC3 ; Call the ROM routine
|
||||
.endproc
|
||||
|
||||
|
|
@ -26,7 +26,6 @@
|
|||
.export SETLFS
|
||||
.export SETNAM
|
||||
.export OPEN
|
||||
.export CLOSE
|
||||
.export CHKIN
|
||||
.export CKOUT
|
||||
.export CLRCH
|
||||
|
@ -70,7 +69,7 @@ READST = $FFB7
|
|||
SETLFS = $FFBA
|
||||
SETNAM = $FFBD
|
||||
OPEN = $FFC0
|
||||
CLOSE = $FFC3
|
||||
;CLOSE = $FFC3
|
||||
CHKIN = $FFC6
|
||||
CKOUT = $FFC9
|
||||
CLRCH = $FFCC
|
||||
|
|
Loading…
Add table
Reference in a new issue