mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Fix toggle_videomode, move kernal entries to kernal.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2034 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
6ee425e6bb
commit
e7136de262
@ -47,11 +47,6 @@ KBDREAD = $C006
|
|||||||
NEWLINE = $C363
|
NEWLINE = $C363
|
||||||
PRINT = $C322
|
PRINT = $C322
|
||||||
|
|
||||||
; Extended jump table
|
|
||||||
C64MODE = $FF4D
|
|
||||||
SWAPPER = $FF5F
|
|
||||||
SETBNK = $FF68
|
|
||||||
|
|
||||||
; ---------------------------------------------------------------------------
|
; ---------------------------------------------------------------------------
|
||||||
; Vectors
|
; Vectors
|
||||||
|
|
||||||
|
@ -6,8 +6,7 @@
|
|||||||
;
|
;
|
||||||
|
|
||||||
.export _c64mode
|
.export _c64mode
|
||||||
|
.import C64MODE
|
||||||
.include "c128.inc"
|
|
||||||
|
|
||||||
_c64mode = C64MODE
|
_c64mode = C64MODE
|
||||||
|
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
; C128 kernal functions
|
; C128 kernal functions
|
||||||
;
|
;
|
||||||
|
|
||||||
|
.export C64MODE
|
||||||
|
.export SWAPPER
|
||||||
|
.export SETBNK
|
||||||
|
|
||||||
.export CINT
|
.export CINT
|
||||||
.export IOINIT
|
.export IOINIT
|
||||||
.export RAMTAS
|
.export RAMTAS
|
||||||
@ -48,6 +52,12 @@
|
|||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
; All functions are available in the kernal jump table
|
; All functions are available in the kernal jump table
|
||||||
|
|
||||||
|
; Extended jump table
|
||||||
|
C64MODE = $FF4D
|
||||||
|
SWAPPER = $FF5F
|
||||||
|
SETBNK = $FF68
|
||||||
|
|
||||||
|
;
|
||||||
CINT = $FF81
|
CINT = $FF81
|
||||||
IOINIT = $FF84
|
IOINIT = $FF84
|
||||||
RAMTAS = $FF87
|
RAMTAS = $FF87
|
||||||
|
@ -6,8 +6,7 @@
|
|||||||
;
|
;
|
||||||
|
|
||||||
.export _toggle_videomode
|
.export _toggle_videomode
|
||||||
|
.import SWAPPER, BSOUT
|
||||||
.include "c128.inc"
|
|
||||||
|
|
||||||
.proc _toggle_videomode
|
.proc _toggle_videomode
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user