blob: ba40f3317716ebbcdc104e69a6d2acd84f0b45a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//
// Audio Overload
// Emulated music player
//
// (C) 2000-2008 Richard F. Bannister
//
// mem.h
// defined in eng_qsf.c
uint8 memory_read(void *userdata, uint16 addr);
uint8 memory_readop(void *userdata, uint16 addr);
uint8 memory_readport(void *userdata, uint16 addr);
void memory_write(void *userdata, uint16 addr, uint8 byte);
void memory_writeport(void *userdata, uint16 addr, uint8 byte);
uint8 dc_read8(uint32 addr);
uint16 dc_read16(uint32 addr);
uint32 dc_read32(uint32 addr);
void dc_write8(uint32 addr, uint8 byte);
void dc_write16(uint32 addr, uint16 word);
void dc_write32(uint32 addr, uint32 dword);
|