2021-03-21 01:22:31 +00:00
|
|
|
pub use cpu::Cpu as LR35902;
|
2021-03-21 00:56:26 +00:00
|
|
|
pub use instruction::Cycles;
|
|
|
|
|
2021-03-21 01:22:31 +00:00
|
|
|
pub const GB_WIDTH: usize = 160;
|
|
|
|
pub const GB_HEIGHT: usize = 144;
|
2021-03-21 07:10:56 +00:00
|
|
|
pub const LR35902_CLOCK_SPEED: u32 = 4194304; // Hz | 4.194304Mhz
|
2021-03-21 01:22:31 +00:00
|
|
|
|
2020-08-29 23:38:27 +00:00
|
|
|
mod bus;
|
2020-12-24 01:39:37 +00:00
|
|
|
mod cartridge;
|
2021-03-21 01:22:31 +00:00
|
|
|
mod cpu;
|
2021-01-18 03:13:59 +00:00
|
|
|
mod high_ram;
|
2020-12-23 09:25:16 +00:00
|
|
|
mod instruction;
|
2021-01-03 07:38:31 +00:00
|
|
|
mod interrupt;
|
2021-03-21 02:11:45 +00:00
|
|
|
mod joypad;
|
2020-12-24 03:24:27 +00:00
|
|
|
mod ppu;
|
2021-01-19 07:36:44 +00:00
|
|
|
mod serial;
|
2021-01-03 08:05:46 +00:00
|
|
|
mod sound;
|
2021-01-03 07:21:19 +00:00
|
|
|
mod timer;
|
2021-01-03 06:28:07 +00:00
|
|
|
mod work_ram;
|