mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 22:25:28 +00:00
Exported the Commodore CHRIN and CHROUT Kernal functions, in the CBM libraries.
This commit complements commit 98f8064b83
.
This commit is contained in:
@@ -46,7 +46,9 @@
|
||||
.export CKOUT
|
||||
.export CLRCH
|
||||
.export BASIN
|
||||
.export CHRIN
|
||||
.export BSOUT
|
||||
.export CHROUT
|
||||
.export LOAD
|
||||
.export SAVE
|
||||
.export SETTIM
|
||||
|
@@ -35,7 +35,9 @@
|
||||
.export CKOUT
|
||||
.export CLRCH
|
||||
.export BASIN
|
||||
.export CHRIN
|
||||
.export BSOUT
|
||||
.export CHROUT
|
||||
.export LOAD
|
||||
.export SAVE
|
||||
.export SETTIM
|
||||
|
@@ -38,7 +38,9 @@
|
||||
.export CKOUT
|
||||
.export CLRCH
|
||||
.export BASIN
|
||||
.export CHRIN
|
||||
.export BSOUT
|
||||
.export CHROUT
|
||||
.export LOAD
|
||||
.export SAVE
|
||||
.export SETTIM
|
||||
|
@@ -28,7 +28,9 @@
|
||||
.export CKOUT
|
||||
.export CLRCH
|
||||
.export BASIN
|
||||
.export CHRIN
|
||||
.export BSOUT
|
||||
.export CHROUT
|
||||
.export LOAD
|
||||
.export SAVE
|
||||
.export STOP
|
||||
|
@@ -28,7 +28,9 @@
|
||||
.export CKOUT
|
||||
.export CLRCH
|
||||
.export BASIN
|
||||
.export CHRIN
|
||||
.export BSOUT
|
||||
.export CHROUT
|
||||
.export LOAD
|
||||
.export SAVE
|
||||
.export STOP
|
||||
|
@@ -1,17 +1,20 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 19.11.2002
|
||||
;
|
||||
; BSOUT replacement function for the PETs
|
||||
; BSOUT/CHROUT replacement function for the PETs
|
||||
;
|
||||
|
||||
.export BSOUT
|
||||
.export CHROUT
|
||||
|
||||
.import checkst
|
||||
|
||||
|
||||
.proc BSOUT
|
||||
|
||||
jsr $FFD2 ; Call kernal function
|
||||
jsr $FFD2 ; Call Kernal function
|
||||
jmp checkst ; Check status, return carry on error
|
||||
|
||||
.endproc
|
||||
|
||||
CHROUT := BSOUT
|
||||
|
@@ -8,6 +8,7 @@
|
||||
|
||||
.export CLRCH
|
||||
.export BASIN
|
||||
.export CHRIN
|
||||
.export STOP
|
||||
.export GETIN
|
||||
.export CLALL
|
||||
|
@@ -1,10 +1,11 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 22.11.2002
|
||||
;
|
||||
; BASIN replacement function
|
||||
; BASIN/CHRIN replacement function
|
||||
;
|
||||
|
||||
.export BASIN
|
||||
.export CHRIN
|
||||
|
||||
.include "plus4.inc"
|
||||
|
||||
@@ -17,4 +18,4 @@
|
||||
rts ; Return to caller
|
||||
.endproc
|
||||
|
||||
|
||||
CHRIN := BASIN
|
||||
|
@@ -1,10 +1,11 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 22.11.2002
|
||||
;
|
||||
; BSOUT replacement function
|
||||
; BSOUT/CHROUT replacement function
|
||||
;
|
||||
|
||||
.export BSOUT
|
||||
.export CHROUT
|
||||
|
||||
.include "plus4.inc"
|
||||
|
||||
@@ -17,4 +18,4 @@
|
||||
rts ; Return to caller
|
||||
.endproc
|
||||
|
||||
|
||||
CHROUT := BSOUT
|
||||
|
@@ -36,7 +36,9 @@
|
||||
.export CKOUT
|
||||
.export CLRCH
|
||||
.export BASIN
|
||||
.export CHRIN
|
||||
.export BSOUT
|
||||
.export CHROUT
|
||||
.export LOAD
|
||||
.export SAVE
|
||||
.export SETTIM
|
||||
|
Reference in New Issue
Block a user