mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06: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:
parent
91ff5e4dcd
commit
291bc1809a
3 changed files with 21 additions and 0 deletions
|
@ -43,6 +43,7 @@ struct MOS6522Q800VIA1State {
|
|||
MemoryRegion via_mem;
|
||||
|
||||
qemu_irq irqs[VIA1_IRQ_NB];
|
||||
qemu_irq auxmode_irq;
|
||||
uint8_t last_b;
|
||||
|
||||
/* RTC */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue