boxswap
This commit is contained in:
@@ -8,6 +8,7 @@ use core::mos6502cpu::cpu::Mos6502Cpu;
|
||||
use core::periph::at28c256::At28C256;
|
||||
use core::periph::hm62256::Hm62256;
|
||||
use core::constants::constants_system::*;
|
||||
use std::fs;
|
||||
|
||||
/// BenEater computer represents the 'Ben Eater' 6502 breadboard computer.
|
||||
/// This was built along watching the video series where Ben builds a
|
||||
@@ -20,20 +21,19 @@ pub struct BenEater {
|
||||
}
|
||||
|
||||
impl BenEater {
|
||||
pub fn new(rom: &[u8; SIZE_32KB]) -> BenEater {
|
||||
|
||||
}
|
||||
// pub fn new(rom: &[u8; SIZE_32KB]) -> BenEater {
|
||||
//
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
#[macroquad::main("Ben Eaters PC")]
|
||||
async fn main() {
|
||||
println!("Taxation is Theft");
|
||||
|
||||
let rom_to_run = fs::read("resources/beneater/roms/ror.bin");
|
||||
let mut pc = BenEater::new(&rom_to_run);
|
||||
|
||||
let mut backplane = Backplane::new();
|
||||
// let rom_to_run = fs::read("resources/beneater/roms/ror.bin");
|
||||
// let mut pc = BenEater::new(&rom_to_run);
|
||||
//
|
||||
// let mut backplane = Backplane::new();
|
||||
// backplane.load_rom("resources/beneater/roms/ror.bin");
|
||||
|
||||
// let mut dm = DisplayMatrix::new(200.0, 50.0);
|
||||
|
||||
Reference in New Issue
Block a user