mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
q800: add Apple Sound Chip (ASC) audio to machine
The Quadra 800 has the enhanced ASC (EASC) audio chip which supports both the legacy IRQ routing through VIA2 and also "A/UX" mode routing direct to the CPU. Co-developed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-ID: <20231004083806.757242-10-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
5243e5543e
commit
9983f6e12e
4 changed files with 36 additions and 2 deletions
|
@ -35,7 +35,7 @@ struct GLUEState {
|
|||
M68kCPU *cpu;
|
||||
uint8_t ipr;
|
||||
uint8_t auxmode;
|
||||
qemu_irq irqs[1];
|
||||
qemu_irq irqs[2];
|
||||
QEMUTimer *nmi_release;
|
||||
};
|
||||
|
||||
|
@ -44,7 +44,9 @@ struct GLUEState {
|
|||
#define GLUE_IRQ_IN_SONIC 2
|
||||
#define GLUE_IRQ_IN_ESCC 3
|
||||
#define GLUE_IRQ_IN_NMI 4
|
||||
#define GLUE_IRQ_IN_ASC 5
|
||||
|
||||
#define GLUE_IRQ_NUBUS_9 0
|
||||
#define GLUE_IRQ_ASC 1
|
||||
|
||||
#endif
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "hw/display/macfb.h"
|
||||
#include "hw/misc/djmemc.h"
|
||||
#include "hw/misc/iosb.h"
|
||||
#include "hw/audio/asc.h"
|
||||
|
||||
/*
|
||||
* The main Q800 machine
|
||||
|
@ -60,6 +61,7 @@ struct Q800MachineState {
|
|||
MacfbNubusState macfb;
|
||||
DJMEMCState djmemc;
|
||||
IOSBState iosb;
|
||||
ASCState asc;
|
||||
MemoryRegion ramio;
|
||||
MemoryRegion macio;
|
||||
MemoryRegion macio_alias;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue