mirror of
https://github.com/irmen/prog8.git
synced 2026-04-25 12:33:55 +00:00
c128: added c128.fast() and c128.slow() to enable/disable the CPU's 2 MHz mode.
Also added c128.is80(), set80(), set40() to check and set 40/80 column screen mode
This commit is contained in:
@@ -549,6 +549,8 @@ c64 {
|
||||
}
|
||||
|
||||
c128 {
|
||||
&ubyte MMUCR
|
||||
&ubyte SCREEN_MODE
|
||||
&ubyte VM1
|
||||
&ubyte VM2
|
||||
&ubyte VM3
|
||||
@@ -576,7 +578,12 @@ c128 {
|
||||
disable_basic () clobbers (A)
|
||||
disable_fkey_macros ()
|
||||
enable_fkey_macros ()
|
||||
fast ()
|
||||
getbanks () -> ubyte @A
|
||||
is80 () -> bool
|
||||
set40 ()
|
||||
set80 ()
|
||||
slow ()
|
||||
x16jsrfar ()
|
||||
}
|
||||
|
||||
|
||||
@@ -689,6 +689,11 @@ c64 {
|
||||
x16jsrfar ()
|
||||
}
|
||||
|
||||
c128 {
|
||||
fast ()
|
||||
slow ()
|
||||
}
|
||||
|
||||
sys {
|
||||
const byte MAX_BYTE
|
||||
const float MAX_FLOAT
|
||||
|
||||
Reference in New Issue
Block a user