Skip to main content

read

Function read 

Source
pub fn read(
    machine: &Machine,
    defs: &Menus,
) -> Result<Option<Vec<Option<ShownKey>>>, Error>
Expand description

The six menu keys the screen shows now, read from RAM while the ROM waits for a key (48SX, 48GX, 49G); None where they are not known (another screen has the keyboard, a menu built in RAM, CST). defs are the ROM’s menus (crate::menus::read).