gb/src/lib.rs

20 lines
341 B
Rust
Raw Normal View History

pub use cpu::Cpu as LR35902;
2021-03-27 17:10:18 +00:00
pub use instruction::Cycle;
pub const GB_WIDTH: usize = 160;
pub const GB_HEIGHT: usize = 144;
pub const LR35902_CLOCK_SPEED: u32 = 0x400000; // Hz | 4.194304Mhz
mod bus;
mod cartridge;
mod cpu;
2021-01-18 03:13:59 +00:00
mod high_ram;
mod instruction;
mod interrupt;
2021-03-21 02:11:45 +00:00
mod joypad;
mod ppu;
2021-01-19 07:36:44 +00:00
mod serial;
2021-01-03 08:05:46 +00:00
mod sound;
mod timer;
2021-01-03 06:28:07 +00:00
mod work_ram;