adds docs

working on widetick
This commit is contained in:
2025-07-26 11:02:36 -04:00
parent b40c3c503f
commit 8f6f9cb64d
49 changed files with 488 additions and 93 deletions
+11 -3
View File
@@ -6,10 +6,11 @@ pub mod tick;
pub mod default;
pub mod new;
pub mod dump;
mod control;
use crate::constants::constants_system::SIZE_32KB;
use crate::periph::ram_chip::RamChip;
use crate::periph::rom_chip::RomChip;
use crate::traits::ram_chip::RamChip;
use crate::traits::rom_chip::RomChip;
use log::debug;
/// Hitachi Semiconductor
@@ -19,13 +20,20 @@ pub struct Hm62256 {
pub(crate) offset: u16,
pub(crate) data: Box<[u8]>,
pub(crate) address_bus: u16,
pub(crate) data_bus: u8
pub(crate) data_bus: u8,
// Chip Select
pub(crate) cs: bool,
// Write Enable
pub(crate) we: bool,
// Output Enable
pub(crate) oe: bool
}
#[cfg(test)]
mod test {
use super::*;
use rand::random;
use crate::traits::memory_chip::MemoryChip;
#[test]
fn smoke() {