Mercurial > vba-clojure
view src/gb/gbSound.h @ 574:be6f46094ad0
implemented video-memory pointer logic.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 01 Sep 2012 04:05:51 -0500 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #ifndef VBA_GB_SOUND_H2 #define VBA_GB_SOUND_H4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10008 #define NR10 0xff109 #define NR11 0xff1110 #define NR12 0xff1211 #define NR13 0xff1312 #define NR14 0xff1413 #define NR21 0xff1614 #define NR22 0xff1715 #define NR23 0xff1816 #define NR24 0xff1917 #define NR30 0xff1a18 #define NR31 0xff1b19 #define NR32 0xff1c20 #define NR33 0xff1d21 #define NR34 0xff1e22 #define NR41 0xff2023 #define NR42 0xff2124 #define NR43 0xff2225 #define NR44 0xff2326 #define NR50 0xff2427 #define NR51 0xff2528 #define NR52 0xff2630 #define SOUND_EVENT(address, value) \31 gbSoundEvent(address, value)33 extern void gbSoundTick();34 extern void gbSoundPause();35 extern void gbSoundResume();36 extern void gbSoundEnable(int);37 extern void gbSoundDisable(int);38 extern int gbSoundGetEnable();39 extern void gbSoundReset();40 extern void gbSoundSaveGame(gzFile);41 extern void gbSoundReadGame(int, gzFile);42 extern void gbSoundEvent(register u16, register int);43 extern void gbSoundSetQuality(int);45 typedef int32 soundtick_t;47 extern soundtick_t soundTicks;48 extern int32 soundQuality;49 extern soundtick_t SOUND_CLOCK_TICKS;51 #endif // VBA_GB_SOUND_H