CPU: Add hires font

This commit is contained in:
John 2023-04-30 00:54:58 -05:00
parent 37b8b96683
commit e4f8001a16
3 changed files with 3 additions and 0 deletions

View File

@ -610,6 +610,7 @@ impl Default for CPU {
stack: vec![], stack: vec![],
mem: mem! { mem: mem! {
Charset [0x0050..0x00a0] = include_bytes!("mem/charset.bin"), Charset [0x0050..0x00a0] = include_bytes!("mem/charset.bin"),
HiresCharset [0x00a0..0x0140] = include_bytes!("mem/hires.bin"),
Program [0x0200..0x1000], Program [0x0200..0x1000],
}, },
font: 0x050, font: 0x050,

View File

@ -76,6 +76,8 @@ impl Grab for Mem {
pub enum Region { pub enum Region {
/// Character ROM (but writable!) /// Character ROM (but writable!)
Charset, Charset,
/// Hires character ROM
HiresCharset,
/// Program memory /// Program memory
Program, Program,
#[doc(hidden)] #[doc(hidden)]

BIN
src/mem/hires.bin Normal file

Binary file not shown.