2020-08-29 23:38:27 +00:00
|
|
|
#[derive(Debug, Copy, Clone)]
|
2020-09-04 05:41:19 +00:00
|
|
|
pub struct Bus {}
|
2020-08-29 23:38:27 +00:00
|
|
|
|
|
|
|
impl Bus {
|
2020-09-04 05:41:19 +00:00
|
|
|
pub fn read_byte(&self, addr: u16) -> u8 {
|
2020-08-29 23:38:27 +00:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2020-09-04 05:41:19 +00:00
|
|
|
pub fn write_byte(&mut self, addr: u16, byte: u8) {
|
2020-08-29 23:38:27 +00:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2020-09-04 05:41:19 +00:00
|
|
|
pub fn read_word(&self, addr: u16) -> u16 {
|
2020-08-29 23:38:27 +00:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2020-09-04 05:41:19 +00:00
|
|
|
pub fn write_word(&mut self, addr: u16, word: u16) {
|
2020-08-29 23:38:27 +00:00
|
|
|
unimplemented!()
|
|
|
|
}
|
2020-09-04 05:41:19 +00:00
|
|
|
}
|