- [NEW] [tia] AUDC0, AUDC1, AUDF0, AUDF1, AUDV0, AUDV1, GRP0, GRP1, ENAM0, ENAM1, ENABL
- [NEW] [tia] áudio en el seu propi mòdul, pa no tornar-se loco - [NEW] Afegides frequències de rellotge per a NTSC, PAL, SECAM i PAL-M - [NEW] Mòdul Speaker conectat a tia-audio
This commit is contained in:
1 parent
4678620dae
commit
61d8b0a808
7 files changed
+342
-11
No files matched your search
+8
-2
@@ -8,6 +8,11 @@
|
||||
//#include "keyboard.h"
|
||||
//#include "z80debugger.h"
|
||||
|
||||
#define NTSC_CLOCK 1193182.0f
|
||||
#define PAL_CLOCK 1182298.0f
|
||||
#define SECAM_CLOCK 1187500.0f
|
||||
#define PAL_M_CLOCK 1191870.0f
|
||||
|
||||
namespace atari2600
|
||||
{
|
||||
static bool should_exit = false;
|
||||
@@ -22,8 +27,9 @@ namespace atari2600
|
||||
pia::reset();
|
||||
|
||||
display::init();
|
||||
speaker::init();
|
||||
//speaker::register_source(psg::get_sample);
|
||||
speaker::init(NTSC_CLOCK);
|
||||
speaker::register_source(tia::audio::get_sample0);
|
||||
speaker::register_source(tia::audio::get_sample1);
|
||||
//speaker::register_source(keyboard::get_sample);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user