Use masks in config, move some default settings to default_config

This commit is contained in:
simon.kagstrom 2009-05-22 09:18:03 +00:00
parent ff0d30754d
commit 3e64153143

View File

@ -103,39 +103,33 @@ static void A500_config(void)
{ {
default_config(); default_config();
changed_prefs.collision_level = 2; //Playfields
changed_prefs.cpu_level = 0; //68000 changed_prefs.cpu_level = 0; //68000
changed_prefs.fastmem_size = 0; //OFF changed_prefs.fastmem_size = 0; //OFF
changed_prefs.chipmem_size = 512 * 1024; //512 changed_prefs.chipmem_size = 512 * 1024; //512
changed_prefs.bogomem_size = 512 * 1024; //512 changed_prefs.bogomem_size = 512 * 1024; //512
changed_prefs.chipset_mask = 0; //OCS changed_prefs.chipset_mask = 0; //OCS
changed_prefs.immediate_blits = 1; //ON
} }
static void A600_config(void) static void A600_config(void)
{ {
default_config(); default_config();
changed_prefs.collision_level = 2; //Playfields
changed_prefs.cpu_level = 1; //68010 changed_prefs.cpu_level = 1; //68010
changed_prefs.fastmem_size = 0; //OFF changed_prefs.fastmem_size = 0; //OFF
changed_prefs.chipmem_size = 1024 * 1024; //1024 changed_prefs.chipmem_size = 1024 * 1024; //1024
changed_prefs.bogomem_size = 0; //OFF changed_prefs.bogomem_size = 0; //OFF
changed_prefs.chipset_mask = 2; //ECS Denise changed_prefs.chipset_mask = CSMASK_ECS_DENISE; //ECS Denise
changed_prefs.immediate_blits = 1; //ON
} }
static void A1000_config(void) static void A1000_config(void)
{ {
default_config(); default_config();
changed_prefs.collision_level = 2; //Playfields
changed_prefs.cpu_level = 0; //68000 changed_prefs.cpu_level = 0; //68000
changed_prefs.fastmem_size = 0; //OFF changed_prefs.fastmem_size = 0; //OFF
changed_prefs.chipmem_size = 512 * 1024; //512 changed_prefs.chipmem_size = 512 * 1024; //512
changed_prefs.bogomem_size = 0; //OFF changed_prefs.bogomem_size = 0; //OFF
changed_prefs.chipset_mask = 0; //OCS changed_prefs.chipset_mask = 0; //OCS
changed_prefs.immediate_blits = 1; //ON
} }
static void A1200_config(void) static void A1200_config(void)
@ -146,8 +140,7 @@ static void A1200_config(void)
changed_prefs.fastmem_size = 0; //OFF changed_prefs.fastmem_size = 0; //OFF
changed_prefs.chipmem_size = 1024 * 2048; //2048 changed_prefs.chipmem_size = 1024 * 2048; //2048
changed_prefs.bogomem_size = 0; changed_prefs.bogomem_size = 0;
changed_prefs.chipset_mask = 3; //ECS changed_prefs.chipset_mask = CSMASK_AGA; //AGA
changed_prefs.immediate_blits = 1; //ON
} }
static void default_config(void) static void default_config(void)
@ -166,7 +159,7 @@ static void default_config(void)
changed_prefs.bogomem_size = 512 * 1024; //512kb changed_prefs.bogomem_size = 512 * 1024; //512kb
changed_prefs.chipset_mask = CSMASK_ECS_AGNUS; //ECS Super AGNUS changed_prefs.chipset_mask = CSMASK_ECS_AGNUS; //ECS Super AGNUS
changed_prefs.immediate_blits = 0; //OFF changed_prefs.immediate_blits = 1; //OFF
changed_prefs.blitter_cycle_exact = 0; //OFF changed_prefs.blitter_cycle_exact = 0; //OFF
changed_prefs.gfx_correct_aspect = 0; //OFF FOL (This doesnt work any more) FOL changed_prefs.gfx_correct_aspect = 0; //OFF FOL (This doesnt work any more) FOL
changed_prefs.dfxtype[0] = 0; //Drive Type Double Density, can be set to High Density 1.7Megs changed_prefs.dfxtype[0] = 0; //Drive Type Double Density, can be set to High Density 1.7Megs