diff --git a/src/cpu.rs b/src/cpu.rs index 6b0a6b4..6993ff0 100644 --- a/src/cpu.rs +++ b/src/cpu.rs @@ -610,6 +610,7 @@ impl Default for CPU { stack: vec![], mem: mem! { Charset [0x0050..0x00a0] = include_bytes!("mem/charset.bin"), + HiresCharset [0x00a0..0x0140] = include_bytes!("mem/hires.bin"), Program [0x0200..0x1000], }, font: 0x050, diff --git a/src/cpu/mem.rs b/src/cpu/mem.rs index 5c14a8f..9880843 100644 --- a/src/cpu/mem.rs +++ b/src/cpu/mem.rs @@ -76,6 +76,8 @@ impl Grab for Mem { pub enum Region { /// Character ROM (but writable!) Charset, + /// Hires character ROM + HiresCharset, /// Program memory Program, #[doc(hidden)] diff --git a/src/mem/hires.bin b/src/mem/hires.bin new file mode 100644 index 0000000..a95ff3c Binary files /dev/null and b/src/mem/hires.bin differ