fn read_command_byte(&self, offset: usize) -> u8 {
        let page = self.read_pram(offset >> 2);

        match offset & 0x3 {
            0x0 => page[0], // LL
            0x1 => page[1], // LU
            0x2 => page[2], // HL
            0x3 => page[3], // HU
            _ => unreachable!(),
        }
    }
/// Reads a single byte from `CSE_PRAM`.
/// Ported verbatim from reference code.
Reads a single byte from `CSE_PRAM`.
Ported verbatim from reference code.
Reads a single byte from ` CSE_PRAM ` . Ported verbatim from reference code .
fn read_command_byte(&self, offset: usize) -> u8 {
        let page = self.read_pram(offset >> 2);
        match offset & 0x3 {
            0x0 => page[0], // LL
            0x1 => page[1], // LU
            0x2 => page[2], // HL
            0x3 => page[3], // HU
            _ => unreachable!(),
        }
    }
fn read_command_byte ( & self , offset : usize ) -> u8 { let page = self . read_pram ( offset >> 2 ) ; match offset & 0x3 { 0x0 => page [ 0 ] , // LL 0x1 => page [ 1 ] , // LU 0x2 => page [ 2 ] , // HL 0x3 => page [ 3 ] , // HU _ => unreachable ! ( ) , } }
Reads a single byte from `CSE_PRAM`.
Reads a single byte from ` CSE_PRAM ` .
&self
offset
usize