1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +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:
cuz 2003-03-18 11:27:49 +00:00
parent 6ee425e6bb
commit e7136de262
4 changed files with 13 additions and 10 deletions

View File

@ -47,11 +47,6 @@ KBDREAD = $C006
NEWLINE = $C363
PRINT = $C322
; Extended jump table
C64MODE = $FF4D
SWAPPER = $FF5F
SETBNK = $FF68
; ---------------------------------------------------------------------------
; Vectors

View File

@ -6,8 +6,7 @@
;
.export _c64mode
.include "c128.inc"
.import C64MODE
_c64mode = C64MODE

View File

@ -4,6 +4,10 @@
; C128 kernal functions
;
.export C64MODE
.export SWAPPER
.export SETBNK
.export CINT
.export IOINIT
.export RAMTAS
@ -47,7 +51,13 @@
;-----------------------------------------------------------------------------
; All functions are available in the kernal jump table
; Extended jump table
C64MODE = $FF4D
SWAPPER = $FF5F
SETBNK = $FF68
;
CINT = $FF81
IOINIT = $FF84
RAMTAS = $FF87

View File

@ -6,10 +6,9 @@
;
.export _toggle_videomode
.import SWAPPER, BSOUT
.include "c128.inc"
.proc _toggle_videomode
.proc _toggle_videomode
jsr SWAPPER ; Toggle the mode
lda #14