mirror of
https://github.com/cc65/cc65.git
synced 2024-11-09 04:08:11 +00:00
21 lines
474 B
ArmAsm
21 lines
474 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 2003-12-20
|
|
;
|
|
; OPEN kernal call.
|
|
;
|
|
; NOTE: The OPEN system call in the CBM610 kernal is different from the
|
|
; standard. It evaluates the carry flag and does a normal open if carry clear
|
|
; and some strange things (output sa 15 + name on IEC) if carry set. To be
|
|
; compatible with our CBM file stuff, we have to clear the carry before
|
|
; calling the real OPEN.
|
|
|
|
.export OPEN
|
|
|
|
.proc OPEN
|
|
|
|
clc
|
|
jmp $FFC0
|
|
|
|
.endproc
|
|
|