o add missing files

This commit is contained in:
David Voswinkel
2009-05-12 22:20:41 +02:00
parent 8e877d38d4
commit 09198f5099
149 changed files with 43548 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#ifdef SYSTEM_CPP
Configuration config;
Configuration::Configuration() {
controller_port1 = Input::DeviceJoypad;
controller_port2 = Input::DeviceJoypad;
expansion_port = System::ExpansionBSX;
region = System::Autodetect;
cpu.version = 2;
cpu.ntsc_clock_rate = 21477272;
cpu.pal_clock_rate = 21281370;
cpu.alu_mul_delay = 2;
cpu.alu_div_delay = 2;
cpu.wram_init_value = 0x55;
smp.ntsc_clock_rate = 32041 * 768;
smp.pal_clock_rate = 32041 * 768;
ppu1.version = 1;
ppu2.version = 3;
}
#endif

View File

@@ -0,0 +1,33 @@
struct Configuration {
unsigned controller_port1;
unsigned controller_port2;
unsigned expansion_port;
unsigned region;
struct CPU {
unsigned version;
unsigned ntsc_clock_rate;
unsigned pal_clock_rate;
unsigned alu_mul_delay;
unsigned alu_div_delay;
unsigned wram_init_value;
} cpu;
struct SMP {
unsigned ntsc_clock_rate;
unsigned pal_clock_rate;
} smp;
struct PPU1 {
unsigned version;
} ppu1;
struct PPU2 {
unsigned version;
} ppu2;
Configuration();
};
extern Configuration config;