pub fn read_range(&self, addr: (u16, u16)) -> Vec<u8> {
        let mut a: Vec<u8> = Vec::with_capacity((addr.1 - addr.0) as usize);
        for x in addr.0..addr.1 {
            a.push(self.0[x as usize])
        }
        a
    }
/// Read a range of bytes from the rom
Read a range of bytes from the rom
Read a range of bytes from the rom
pub fn read_range(&self, addr: (u16, u16)) -> Vec<u8> {
        let mut a: Vec<u8> = Vec::with_capacity((addr.1 - addr.0) as usize);
        for x in addr.0..addr.1 {
            a.push(self.0[x as usize])
        }
        a
    }
pub fn read_range ( & self , addr : ( u16 , u16 ) ) -> Vec < u8 > { let mut a : Vec < u8 > = Vec :: with_capacity ( ( addr . 1 - addr . 0 ) as usize ) ; for x in addr . 0 .. addr . 1 { a . push ( self . 0 [ x as usize ] ) } a }
Read a range of bytes from the rom
Read a range of bytes from the rom
&self
addr
(u16, u16)