mirror of
https://github.com/mii443/qemu.git
synced 2025-08-27 17:39:37 +00:00
mac_via: add GPIO for A/UX mode
Add a new auxmode GPIO that is updated when port B bit 6 is changed indicating whether the hardware is configured for A/UX mode. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20211020134131.4392-5-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
committed by
Laurent Vivier
parent
91ff5e4dcd
commit
291bc1809a
@ -43,6 +43,7 @@ struct MOS6522Q800VIA1State {
|
||||
MemoryRegion via_mem;
|
||||
|
||||
qemu_irq irqs[VIA1_IRQ_NB];
|
||||
qemu_irq auxmode_irq;
|
||||
uint8_t last_b;
|
||||
|
||||
/* RTC */
|
||||
|
Reference in New Issue
Block a user