Previous 15994 Revisions Next

r8322 Saturday 26th June, 2010 at 19:14:43 UTC by R. Belmont
[SUPRACAN] Added some notes about 6502 interrupts based on disassembly
[src/mess/drivers]supracan.c

src/mess/drivers/supracan.c
r8321r8322
4242[ff7be4] <- 0x269ec
4343bpclear
4444
45Sound notes:
46
47There are 6 interrupt sources on the 6502 side, all of which use the IRQ line.
48The register at 0x411 is bitmapped to indicate what source(s) are active.
49In priority order from most to least important, they are:
50
51411 value  How acked                     Notes
520x40       read reg 0x16 of sound chip    likely timer. snd regs 0x16/0x17 are time constant, write 0 to reg 0x9f to start
530x04       read at 0x405                 latch 1?  0xcd is magic value
540x08       read at 0x404                 latch 2?  0xcd is magic value
550x10       read at 0x409                 unknown, dispatched but not used in startup 6502 code
560x20       read at 0x40a                 possible periodic like vblank?
570x80       read reg 0x14 of sound chip   depends on reg 0x14 of sound chip & 0x40: if not set writes 0x8f to reg 0x14,
58                                         otherwise writes 0x4f to reg 0x14 and performs additional processing
59
4560***************************************************************************/
4661
4762#include "emu.h"

Previous 15994 Revisions Next


© 1998-2018 The MESS Team