1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
use crate::vic2::*;
use crate::sid::*;
pub const DEFAULT_SCREEN: *mut u8 = (0x0400) as *mut u8;
pub const DEFAULT_UPPERCASE_FONT: *mut u8 = (0x1000) as *mut u8;
pub const DEFAULT_MIXEDCASE_FONT: *mut u8 = (0x1800) as *mut u8;
pub const VIC_II: *const MOSVideoInterfaceControllerII =
(0xd000) as *const MOSVideoInterfaceControllerII;
pub const SID1: *const MOSSoundInterfaceDevice = (0xd400) as *const MOSSoundInterfaceDevice;
pub const SID2: *const MOSSoundInterfaceDevice = (0xd440) as *const MOSSoundInterfaceDevice;
pub const SID3: *const MOSSoundInterfaceDevice = (0xd480) as *const MOSSoundInterfaceDevice;
pub const SID4: *const MOSSoundInterfaceDevice = (0xd4c0) as *const MOSSoundInterfaceDevice;
pub const COLOR_RAM: *mut u8 = (0xd800) as *mut u8;
pub enum VicBank {
Region0000 = 0x11,
Region4000 = 0x10,
Region8000 = 0x01,
RegionC000 = 0x00,
}