Fixed minor issue preventing the TRS-80 from working

This commit is contained in:
transistor 2021-11-24 14:38:38 -08:00
parent b4a80c6969
commit ac8e9c968c

View File

@ -29,7 +29,7 @@ impl Trs80Options {
pub fn build_trs80<H: Host>(host: &mut H, options: Trs80Options) -> Result<System, Error> {
let mut system = System::new();
let mut rom = MemoryBlock::new(vec![0; 0x4000]);
let mut rom = MemoryBlock::new(vec![0; 0x3000]);
//rom.load_at(0x0000, "binaries/trs80/level1.rom")?;
//rom.load_at(0x0000, "binaries/trs80/level2.rom")?;
rom.load_at(0x0000, &options.rom)?;