Exported the Commodore CHRIN and CHROUT Kernal functions, in the CBM libraries.
This commit complements commit 98f8064b83
.
This commit is contained in:
parent
047d0f479b
commit
5f145542b0
10 changed files with 25 additions and 7 deletions
|
@ -46,7 +46,9 @@
|
||||||
.export CKOUT
|
.export CKOUT
|
||||||
.export CLRCH
|
.export CLRCH
|
||||||
.export BASIN
|
.export BASIN
|
||||||
|
.export CHRIN
|
||||||
.export BSOUT
|
.export BSOUT
|
||||||
|
.export CHROUT
|
||||||
.export LOAD
|
.export LOAD
|
||||||
.export SAVE
|
.export SAVE
|
||||||
.export SETTIM
|
.export SETTIM
|
||||||
|
|
|
@ -35,7 +35,9 @@
|
||||||
.export CKOUT
|
.export CKOUT
|
||||||
.export CLRCH
|
.export CLRCH
|
||||||
.export BASIN
|
.export BASIN
|
||||||
|
.export CHRIN
|
||||||
.export BSOUT
|
.export BSOUT
|
||||||
|
.export CHROUT
|
||||||
.export LOAD
|
.export LOAD
|
||||||
.export SAVE
|
.export SAVE
|
||||||
.export SETTIM
|
.export SETTIM
|
||||||
|
|
|
@ -38,7 +38,9 @@
|
||||||
.export CKOUT
|
.export CKOUT
|
||||||
.export CLRCH
|
.export CLRCH
|
||||||
.export BASIN
|
.export BASIN
|
||||||
|
.export CHRIN
|
||||||
.export BSOUT
|
.export BSOUT
|
||||||
|
.export CHROUT
|
||||||
.export LOAD
|
.export LOAD
|
||||||
.export SAVE
|
.export SAVE
|
||||||
.export SETTIM
|
.export SETTIM
|
||||||
|
|
|
@ -28,7 +28,9 @@
|
||||||
.export CKOUT
|
.export CKOUT
|
||||||
.export CLRCH
|
.export CLRCH
|
||||||
.export BASIN
|
.export BASIN
|
||||||
|
.export CHRIN
|
||||||
.export BSOUT
|
.export BSOUT
|
||||||
|
.export CHROUT
|
||||||
.export LOAD
|
.export LOAD
|
||||||
.export SAVE
|
.export SAVE
|
||||||
.export STOP
|
.export STOP
|
||||||
|
|
|
@ -28,7 +28,9 @@
|
||||||
.export CKOUT
|
.export CKOUT
|
||||||
.export CLRCH
|
.export CLRCH
|
||||||
.export BASIN
|
.export BASIN
|
||||||
|
.export CHRIN
|
||||||
.export BSOUT
|
.export BSOUT
|
||||||
|
.export CHROUT
|
||||||
.export LOAD
|
.export LOAD
|
||||||
.export SAVE
|
.export SAVE
|
||||||
.export STOP
|
.export STOP
|
||||||
|
|
|
@ -1,17 +1,20 @@
|
||||||
;
|
;
|
||||||
; Ullrich von Bassewitz, 19.11.2002
|
; Ullrich von Bassewitz, 19.11.2002
|
||||||
;
|
;
|
||||||
; BSOUT replacement function for the PETs
|
; BSOUT/CHROUT replacement function for the PETs
|
||||||
;
|
;
|
||||||
|
|
||||||
.export BSOUT
|
.export BSOUT
|
||||||
|
.export CHROUT
|
||||||
|
|
||||||
.import checkst
|
.import checkst
|
||||||
|
|
||||||
|
|
||||||
.proc BSOUT
|
.proc BSOUT
|
||||||
|
|
||||||
jsr $FFD2 ; Call kernal function
|
jsr $FFD2 ; Call Kernal function
|
||||||
jmp checkst ; Check status, return carry on error
|
jmp checkst ; Check status, return carry on error
|
||||||
|
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
|
CHROUT := BSOUT
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
.export CLRCH
|
.export CLRCH
|
||||||
.export BASIN
|
.export BASIN
|
||||||
|
.export CHRIN
|
||||||
.export STOP
|
.export STOP
|
||||||
.export GETIN
|
.export GETIN
|
||||||
.export CLALL
|
.export CLALL
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
;
|
;
|
||||||
; Ullrich von Bassewitz, 22.11.2002
|
; Ullrich von Bassewitz, 22.11.2002
|
||||||
;
|
;
|
||||||
; BASIN replacement function
|
; BASIN/CHRIN replacement function
|
||||||
;
|
;
|
||||||
|
|
||||||
.export BASIN
|
.export BASIN
|
||||||
|
.export CHRIN
|
||||||
|
|
||||||
.include "plus4.inc"
|
.include "plus4.inc"
|
||||||
|
|
||||||
|
@ -17,4 +18,4 @@
|
||||||
rts ; Return to caller
|
rts ; Return to caller
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
|
CHRIN := BASIN
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
;
|
;
|
||||||
; Ullrich von Bassewitz, 22.11.2002
|
; Ullrich von Bassewitz, 22.11.2002
|
||||||
;
|
;
|
||||||
; BSOUT replacement function
|
; BSOUT/CHROUT replacement function
|
||||||
;
|
;
|
||||||
|
|
||||||
.export BSOUT
|
.export BSOUT
|
||||||
|
.export CHROUT
|
||||||
|
|
||||||
.include "plus4.inc"
|
.include "plus4.inc"
|
||||||
|
|
||||||
|
@ -17,4 +18,4 @@
|
||||||
rts ; Return to caller
|
rts ; Return to caller
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
|
CHROUT := BSOUT
|
||||||
|
|
|
@ -36,7 +36,9 @@
|
||||||
.export CKOUT
|
.export CKOUT
|
||||||
.export CLRCH
|
.export CLRCH
|
||||||
.export BASIN
|
.export BASIN
|
||||||
|
.export CHRIN
|
||||||
.export BSOUT
|
.export BSOUT
|
||||||
|
.export CHROUT
|
||||||
.export LOAD
|
.export LOAD
|
||||||
.export SAVE
|
.export SAVE
|
||||||
.export SETTIM
|
.export SETTIM
|
||||||
|
|
Loading…
Add table
Reference in a new issue