Revision 1430
Added by markw about 1 year ago
| atari_chips/pokeyv2/build.sh | ||
|---|---|---|
| 
     #Added like this to the generated qsf
 
   | 
||
| 
     #set_parameter -name TV 1
 
   | 
||
| 
     | 
||
| 
     my $version = "127";
 
   | 
||
| 
     my $version = "128";
 
   | 
||
| 
     | 
||
| 
     my %variants = 
 
   | 
||
| 
     (
 
   | 
||
| ... | ... | |
| 
     #		enable_sample : integer := 0;
 
   | 
||
| 
     #
 
   | 
||
| 
     #   		version : STRING  := "DEVELOPR" -- 8 char string atascii
 
   | 
||
| 
     | 
||
| 
     | 
||
| 
     | 
||
| 
     	"v1_10M02_stereo_auto" =>
 
   | 
||
| 
     	"pokeymax_v1" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"board" => "v1",
 
   | 
||
| 
     		"ext_bits"=> 1,
 
   | 
||
| 
     		"cs0_bit" => 0, #force low
 
   | 
||
| 
     		"version" => $version . "M02SA"
 
   | 
||
| 
     		"stereo_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     			"ext_bits"=> 1,
 
   | 
||
| 
     			"cs0_bit" => 0, #force low
 
   | 
||
| 
     		},
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_mono_linear" =>
 
   | 
||
| 
     	"pokeymax_v2" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"saturate_on_by_default" => 0,
 
   | 
||
| 
     		"pokeys" => 1,
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"a4_bit" => 1, #to access config!
 
   | 
||
| 
     		"version" => $version . "M02MO"
 
   | 
||
| 
     		"mono_linear" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"saturate_on_by_default" => 0,
 
   | 
||
| 
     			"pokeys" => 1,
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"a4_bit" => 1, #to access config!
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_xel_auto_linear" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"saturate_on_by_default" => 0,
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"cs1_bit" => 20,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_covox_no_right_detect_linear" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"saturate_on_by_default" => 0,
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 0,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"detect_right_on_by_default" => 0,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a7_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3, 
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_auto_linear" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"saturate_on_by_default" => 0,
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_u1mb_auto_linear" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"saturate_on_by_default" => 0,
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"fancy_switch_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_covox_auto_linear" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"saturate_on_by_default" => 0,
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a7_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3, 
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"mono" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 1,
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"a4_bit" => 1, #to access config!
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_xel_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"cs1_bit" => 20,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_covox_no_right_detect" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 0,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"detect_right_on_by_default" => 0,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a7_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3, 
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_u1mb_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"fancy_switch_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_covox_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a7_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3, 
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"quad_covox_xel_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a7_bit" => 3, 
 
   | 
||
| 
     			"cs1_bit" => 20,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"mono" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 1,
 
   | 
||
| 
     			"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1, #to access config!
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"mono" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 1,
 
   | 
||
| 
     			"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"cs1_bit" => 20, #force high
 
   | 
||
| 
     			"a4_bit" => 1, #to access config!
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"mono" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 1,
 
   | 
||
| 
     			"fpga" => "10M16SCU169C8G",
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"flash_addr_bits" => 17,
 
   | 
||
| 
     			"cs1_bit" => 20, #force high
 
   | 
||
| 
     			"a4_bit" => 1, #to access config!
 
   | 
||
| 
     			"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_xel_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"cs1_bit" => 20,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_covox_no_right_detect" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 0,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"detect_right_on_by_default" => 0,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a7_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3, 
 
   | 
||
| 
     			"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_u1mb_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"fancy_switch_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_covox_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a7_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3, 
 
   | 
||
| 
     			"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"quad_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3, 
 
   | 
||
| 
     			"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"quad_covox_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a7_bit" => 3, 
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_covox_sample_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_sample" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a7_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3, 
 
   | 
||
| 
     			"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_u1mb_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"fancy_switch_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3,
 
   | 
||
| 
     			"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"quad_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 3, 
 
   | 
||
| 
     			"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"quad_covox_sample_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a7_bit" => 3, 
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_sample" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"quad_sid" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a6_bit" => 3,
 
   | 
||
| 
     			"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"quad_psg_covox_sample" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_psg" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_sample" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a7_bit" => 3,
 
   | 
||
| 
     			"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     #		"basic" =>
 
   | 
||
| 
     #		{
 
   | 
||
| 
     #			"enable_audout2" => 0,
 
   | 
||
| 
     #			"pokeys" => 2,
 
   | 
||
| 
     #			"enable_auto_stereo" => 1,
 
   | 
||
| 
     #			"enable_sid" => 0,
 
   | 
||
| 
     #			"enable_psg" => 0,
 
   | 
||
| 
     #			"enable_covox" => 0,
 
   | 
||
| 
     #			"enable_sample" => 0,
 
   | 
||
| 
     #			"enable_flash" => 1,
 
   | 
||
| 
     #			"a4_bit" => 1,
 
   | 
||
| 
     #			"a5_bit" => 2,
 
   | 
||
| 
     #			"a6_bit" => 3,
 
   | 
||
| 
     #			"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     #			"cs1_bit" => 20, #force high
 
   | 
||
| 
     #			"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     #			"optimisearea" => 1
 
   | 
||
| 
     #		},
 
   | 
||
| 
     		"full" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"fpga" => "10M16SCU169C8G",
 
   | 
||
| 
     			"flash_addr_bits" => 17,
 
   | 
||
| 
     			"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 1,
 
   | 
||
| 
     			"enable_psg" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_sample" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a6_bit" => 3,
 
   | 
||
| 
     			"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     			"cs1_bit" => 20, #force high
 
   | 
||
| 
     		},
 
   | 
||
| 
     		#No longer fits
 
   | 
||
| 
     		#"full" =>
 
   | 
||
| 
     		#{
 
   | 
||
| 
     		#	"enable_audout2" => 0,
 
   | 
||
| 
     		#	"pokeys" => 4,
 
   | 
||
| 
     		#	"enable_auto_stereo" => 1,
 
   | 
||
| 
     		#	"enable_sid" => 1,
 
   | 
||
| 
     		#	"enable_psg" => 1,
 
   | 
||
| 
     		#	"enable_covox" => 1,
 
   | 
||
| 
     		#	"enable_sample" => 1,
 
   | 
||
| 
     		#	"enable_flash" => 1,
 
   | 
||
| 
     		#	"a4_bit" => 1,
 
   | 
||
| 
     		#	"a5_bit" => 2,
 
   | 
||
| 
     		#	"a6_bit" => 3,
 
   | 
||
| 
     		#	"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     		#	"cs1_bit" => 20, #force high
 
   | 
||
| 
     		#	"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		#	"optimisearea" => 1
 
   | 
||
| 
     		#},
 
   | 
||
| 
     		"full_stereo" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"enable_audout2" => 0,
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 1,
 
   | 
||
| 
     			"enable_psg" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_sample" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a6_bit" => 3,
 
   | 
||
| 
     			"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     			"cs1_bit" => 20, #force high
 
   | 
||
| 
     			"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     			"optimisearea" => 1
 
   | 
||
| 
     		},
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_stereo_xel_auto_linear" =>
 
   | 
||
| 
     	"pokeymax_v3" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"saturate_on_by_default" => 0,
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"cs1_bit" => 20,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M02SX"
 
   | 
||
| 
     		"quad_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 0,
 
   | 
||
| 
     			"enable_psg" => 0,
 
   | 
||
| 
     			"enable_covox" => 0,
 
   | 
||
| 
     			"enable_sample" => 0,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"enable_spdif" => 1,
 
   | 
||
| 
     			"enable_ps2" => 1,
 
   | 
||
| 
     			"pll_v2" => 0,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"gtia_audio_bit" => 5, 
 
   | 
||
| 
     			"spdif_bit" => 6,
 
   | 
||
| 
     			"ps2clk_bit" => 7,
 
   | 
||
| 
     			"ps2dat_bit" => 8,
 
   | 
||
| 
     			"ext_bits"=> 11,
 
   | 
||
| 
     			"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"stereo_psg_covox_auto" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 0,
 
   | 
||
| 
     			"enable_psg" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_sample" => 0,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"enable_spdif" => 1,
 
   | 
||
| 
     			"enable_ps2" => 1,
 
   | 
||
| 
     			"pll_v2" => 0,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a6_bit" => 3,
 
   | 
||
| 
     			"a7_bit" => 4,
 
   | 
||
| 
     			"gtia_audio_bit" => 5, 
 
   | 
||
| 
     			"spdif_bit" => 6,
 
   | 
||
| 
     			"ps2clk_bit" => 7,
 
   | 
||
| 
     			"ps2dat_bit" => 8,
 
   | 
||
| 
     			#"fancy_switch_bit" => 6,
 
   | 
||
| 
     			#"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     			"ext_bits"=> 11,
 
   | 
||
| 
     			#"cs1_bit" => 20, #force high
 
   | 
||
| 
     			"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"mono" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 0,
 
   | 
||
| 
     			"enable_psg" => 0,
 
   | 
||
| 
     			"enable_covox" => 0,
 
   | 
||
| 
     			"enable_sample" => 0,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"enable_spdif" => 0,
 
   | 
||
| 
     			"enable_ps2" => 0,
 
   | 
||
| 
     			"flash_addr_bits" => 17,
 
   | 
||
| 
     			"pll_v2" => 0,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a6_bit" => 3,
 
   | 
||
| 
     			"a7_bit" => 4,
 
   | 
||
| 
     			"gtia_audio_bit" => 5, 
 
   | 
||
| 
     			"spdif_bit" => 6,
 
   | 
||
| 
     			"ps2clk_bit" => 7,
 
   | 
||
| 
     			"ps2dat_bit" => 8,
 
   | 
||
| 
     			#"fancy_switch_bit" => 6,
 
   | 
||
| 
     			#"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     			"ext_bits"=> 11,
 
   | 
||
| 
     			#"cs1_bit" => 20, #force high
 
   | 
||
| 
     			"fpga" => "10M16SCU169C8G",
 
   | 
||
| 
     			"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"full" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 1,
 
   | 
||
| 
     			"enable_psg" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_sample" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"enable_spdif" => 1,
 
   | 
||
| 
     			"enable_ps2" => 1,
 
   | 
||
| 
     			"flash_addr_bits" => 17,
 
   | 
||
| 
     			"pll_v2" => 0,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a6_bit" => 3,
 
   | 
||
| 
     			"a7_bit" => 4,
 
   | 
||
| 
     			"gtia_audio_bit" => 5, 
 
   | 
||
| 
     			"spdif_bit" => 6,
 
   | 
||
| 
     			"ps2clk_bit" => 7,
 
   | 
||
| 
     			"ps2dat_bit" => 8,
 
   | 
||
| 
     			#"fancy_switch_bit" => 6,
 
   | 
||
| 
     			#"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     			"ext_bits"=> 11,
 
   | 
||
| 
     			#"cs1_bit" => 20, #force high
 
   | 
||
| 
     			"fpga" => "10M16SCU169C8G",
 
   | 
||
| 
     			"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"full_xel" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 1,
 
   | 
||
| 
     			"enable_psg" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_sample" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"enable_spdif" => 1,
 
   | 
||
| 
     			"enable_ps2" => 1,
 
   | 
||
| 
     			"flash_addr_bits" => 17,
 
   | 
||
| 
     			"pll_v2" => 0,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a6_bit" => 3,
 
   | 
||
| 
     			"a7_bit" => 4,
 
   | 
||
| 
     			"gtia_audio_bit" => 5, 
 
   | 
||
| 
     			"spdif_bit" => 6,
 
   | 
||
| 
     			"ps2clk_bit" => 7,
 
   | 
||
| 
     			"ps2dat_bit" => 8,
 
   | 
||
| 
     			#"fancy_switch_bit" => 6,
 
   | 
||
| 
     			#"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     			"ext_bits"=> 11,
 
   | 
||
| 
     			"cs1_bit" => 20,
 
   | 
||
| 
     			#"cs1_bit" => 20, #force high
 
   | 
||
| 
     			"fpga" => "10M16SCU169C8G",
 
   | 
||
| 
     			"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
 
   | 
||
| 
     		},
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_stereo_covox_no_right_detect_linear" =>
 
   | 
||
| 
     	"pokeymax_v4" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"saturate_on_by_default" => 0,
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 0,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"detect_right_on_by_default" => 0,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a7_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3, 
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"version" =>  $version."M02SC"
 
   | 
||
| 
     		"stereo" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"enable_audout2" => 0,
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 0,
 
   | 
||
| 
     			"enable_psg" => 0,
 
   | 
||
| 
     			"enable_covox" => 0,
 
   | 
||
| 
     			"enable_sample" => 0,
 
   | 
||
| 
     			"enable_flash" => 0,
 
   | 
||
| 
     			"enable_spdif" => 1,
 
   | 
||
| 
     			"enable_ps2" => 0,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"ps2clk_bit" => 5,
 
   | 
||
| 
     			"ps2dat_bit" => 6,
 
   | 
||
| 
     			"gtia_audio_bit" => 7, 
 
   | 
||
| 
     			"fancy_switch_bit" => 8,
 
   | 
||
| 
     			"spdif_bit" => 10,
 
   | 
||
| 
     			"ext_bits"=> 10,
 
   | 
||
| 
     			"paddle_lvds"=>1,
 
   | 
||
| 
     			"paddle_comp"=>0,
 
   | 
||
| 
     			"enable_iox"=>0,
 
   | 
||
| 
     			"enable_adc"=>1,
 
   | 
||
| 
     			"pll_v2" => 0, 
 
   | 
||
| 
     			"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     			"optimisearea" => 1,
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"full_stereo_sample" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"enable_audout2" => 0,
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 1,
 
   | 
||
| 
     			"enable_psg" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_sample" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"enable_spdif" => 0,
 
   | 
||
| 
     			"enable_ps2" => 0,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a6_bit" => 3,
 
   | 
||
| 
     			"a7_bit" => 4,
 
   | 
||
| 
     			"ps2clk_bit" => 5,
 
   | 
||
| 
     			"ps2dat_bit" => 6,
 
   | 
||
| 
     			"gtia_audio_bit" => 7, 
 
   | 
||
| 
     			"fancy_switch_bit" => 8,
 
   | 
||
| 
     			"spdif_bit" => 10,
 
   | 
||
| 
     			"ext_bits"=> 10,
 
   | 
||
| 
     			"paddle_lvds"=>1,
 
   | 
||
| 
     			"paddle_comp"=>0,
 
   | 
||
| 
     			"enable_iox"=>0,
 
   | 
||
| 
     			"enable_adc"=>1,
 
   | 
||
| 
     			"pll_v2" => 0, 
 
   | 
||
| 
     			"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     			"optimisearea" => 1,
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"full_stereo_spdif" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"enable_audout2" => 0,
 
   | 
||
| 
     			"pokeys" => 2,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 1,
 
   | 
||
| 
     			"enable_psg" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_sample" => 0,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"enable_spdif" => 1,
 
   | 
||
| 
     			"enable_ps2" => 0,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a6_bit" => 3,
 
   | 
||
| 
     			"a7_bit" => 4,
 
   | 
||
| 
     			"ps2clk_bit" => 5,
 
   | 
||
| 
     			"ps2dat_bit" => 6,
 
   | 
||
| 
     			"gtia_audio_bit" => 7, 
 
   | 
||
| 
     			"fancy_switch_bit" => 8,
 
   | 
||
| 
     			"spdif_bit" => 10,
 
   | 
||
| 
     			"ext_bits"=> 10,
 
   | 
||
| 
     			"paddle_lvds"=>1,
 
   | 
||
| 
     			"paddle_comp"=>0,
 
   | 
||
| 
     			"enable_iox"=>0,
 
   | 
||
| 
     			"enable_adc"=>1,
 
   | 
||
| 
     			"pll_v2" => 0, 
 
   | 
||
| 
     			"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     			"optimisearea" => 1,
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"mono" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"enable_audout2" => 0,
 
   | 
||
| 
     			"pokeys" => 1,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 0,
 
   | 
||
| 
     			"enable_psg" => 0,
 
   | 
||
| 
     			"enable_covox" => 0,
 
   | 
||
| 
     			"enable_sample" => 0,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a6_bit" => 3,
 
   | 
||
| 
     			"a7_bit" => 4,
 
   | 
||
| 
     			"ps2clk_bit" => 5,
 
   | 
||
| 
     			"ps2dat_bit" => 6,
 
   | 
||
| 
     			"gtia_audio_bit" => 7, 
 
   | 
||
| 
     			"fancy_switch_bit" => 8,
 
   | 
||
| 
     			"spdif_bit" => 10,
 
   | 
||
| 
     			"ext_bits"=> 10,
 
   | 
||
| 
     			"paddle_lvds"=>1,
 
   | 
||
| 
     			"paddle_comp"=>0,
 
   | 
||
| 
     			"enable_iox"=>0,
 
   | 
||
| 
     			"enable_adc"=>1,
 
   | 
||
| 
     			"pll_v2" => 0,
 
   | 
||
| 
     			"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     			"optimisearea" => 1,
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"full_quad" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"enable_audout2" => 0,
 
   | 
||
| 
     			"pokeys" => 4,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 1,
 
   | 
||
| 
     			"enable_psg" => 1,
 
   | 
||
| 
     			"enable_covox" => 1,
 
   | 
||
| 
     			"enable_sample" => 1,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"enable_spdif" => 1,
 
   | 
||
| 
     			"enable_ps2" => 1,
 
   | 
||
| 
     			"flash_addr_bits" => 17,
 
   | 
||
| 
     			"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a6_bit" => 3,
 
   | 
||
| 
     			"a7_bit" => 4,
 
   | 
||
| 
     			"ps2clk_bit" => 5,
 
   | 
||
| 
     			"ps2dat_bit" => 6,
 
   | 
||
| 
     			"gtia_audio_bit" => 7, 
 
   | 
||
| 
     			"fancy_switch_bit" => 8,
 
   | 
||
| 
     			"spdif_bit" => 10,
 
   | 
||
| 
     			"ext_bits"=> 10,
 
   | 
||
| 
     			"paddle_lvds"=>1,
 
   | 
||
| 
     			"paddle_comp"=>0,
 
   | 
||
| 
     			"enable_iox"=>0,
 
   | 
||
| 
     			"enable_adc"=>1,
 
   | 
||
| 
     			"pll_v2" => 0,
 
   | 
||
| 
     			"fpga" => "10M16SCU169C8G",
 
   | 
||
| 
     			"optimisearea" => 1,
 
   | 
||
| 
     		},
 
   | 
||
| 
     		"mono" =>
 
   | 
||
| 
     		{
 
   | 
||
| 
     			"enable_audout2" => 0,
 
   | 
||
| 
     			"pokeys" => 1,
 
   | 
||
| 
     			"enable_auto_stereo" => 1,
 
   | 
||
| 
     			"enable_sid" => 0,
 
   | 
||
| 
     			"enable_psg" => 0,
 
   | 
||
| 
     			"enable_covox" => 0,
 
   | 
||
| 
     			"enable_sample" => 0,
 
   | 
||
| 
     			"enable_flash" => 1,
 
   | 
||
| 
     			"flash_addr_bits" => 17,
 
   | 
||
| 
     			"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
 
   | 
||
| 
     			"a4_bit" => 1,
 
   | 
||
| 
     			"a5_bit" => 2,
 
   | 
||
| 
     			"a6_bit" => 3,
 
   | 
||
| 
     			"a7_bit" => 4,
 
   | 
||
| 
     			"ps2clk_bit" => 5,
 
   | 
||
| 
     			"ps2dat_bit" => 6,
 
   | 
||
| 
     			"gtia_audio_bit" => 7, 
 
   | 
||
| 
     			"spdif_bit" => 10,
 
   | 
||
| 
     			"ext_bits"=> 10,
 
   | 
||
| 
     			"paddle_lvds"=>1,
 
   | 
||
| 
     			"paddle_comp"=>0,
 
   | 
||
| 
     			"enable_iox"=>0,
 
   | 
||
| 
     			"enable_adc"=>1,
 
   | 
||
| 
     			"pll_v2" => 0,
 
   | 
||
| 
     			"fpga" => "10M16SCU169C8G",
 
   | 
||
| 
     			"optimisearea" => 1,
 
   | 
||
| 
     		},
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_stereo_auto_linear" =>
 
   | 
||
| 
     	#
 
   | 
||
| 
     	#sid adaptor board I think...
 
   | 
||
| 
     	#"sid_10M08_sid_mono" =>
 
   | 
||
| 
     	#{
 
   | 
||
| 
     	#	"pokeys" => 1,
 
   | 
||
| 
     	#	"enable_sid" => 1,
 
   | 
||
| 
     	#	"enable_auto_stereo" => 1,
 
   | 
||
| 
     	#	"enable_flash" => 1,
 
   | 
||
| 
     	#	"ext_bits"=> 4,
 
   | 
||
| 
     	#	"bus" => "c64",
 
   | 
||
| 
     	#	"a4_bit" => 4,
 
   | 
||
| 
     	#	"a5_bit" => 0,  #force low for now (will be stereo)
 
   | 
||
| 
     	#	"a6_bit" => 20, #force high
 
   | 
||
| 
     	#	"a7_bit" => 0, #force low
 
   | 
||
| 
     	#	"cs1_bit" => 20, #force high
 
   | 
||
| 
     	#	"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     	#	"version" => $version . "M08SI"
 
   | 
||
| 
     	#},
 
   | 
||
| 
     	#"sid_10M08_sid_stereo" =>
 
   | 
||
| 
     	#{
 
   | 
||
| 
     	#	"pokeys" => 1,
 
   | 
||
| 
     	#	"enable_sid" => 1,
 
   | 
||
| 
     	#	"enable_auto_stereo" => 1,
 
   | 
||
| 
     	#	"enable_flash" => 1,
 
   | 
||
| 
     	#	"ext_bits"=> 4,
 
   | 
||
| 
     	#	"bus" => "c64",
 
   | 
||
| 
     	#	"a4_bit" => 4,
 
   | 
||
| 
     	#	"a5_bit" => 1,  #STEREO
 
   | 
||
| 
     	#	"a6_bit" => 20, #force high
 
   | 
||
| 
     	#	"a7_bit" => 0, #force low
 
   | 
||
| 
     	#	"cs1_bit" => 20, #force high
 
   | 
||
| 
     	#	"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     	#},
 
   | 
||
| 
     	"sidmax_v1" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"saturate_on_by_default" => 0,
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M02SA"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_stereo_u1mb_auto_linear" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"saturate_on_by_default" => 0,
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"fancy_switch_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M02SU"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_stereo_covox_auto_linear" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"saturate_on_by_default" => 0,
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a7_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3, 
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"version" =>  $version."M02SC"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_mono" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 1,
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"a4_bit" => 1, #to access config!
 
   | 
||
| 
     		"version" => $version . "M02MO"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_stereo_xel_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"cs1_bit" => 20,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M02SX"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_stereo_covox_no_right_detect" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 0,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"detect_right_on_by_default" => 0,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a7_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3, 
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"version" =>  $version."M02SC"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_stereo_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M02SA"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_stereo_u1mb_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"fancy_switch_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M02SU"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_stereo_covox_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a7_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3, 
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"version" =>  $version."M02SC"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M04_quad_covox_xel_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a7_bit" => 3, 
 
   | 
||
| 
     		"cs1_bit" => 20,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M04QX"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M04_mono" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 1,
 
   | 
||
| 
     		"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1, #to access config!
 
   | 
||
| 
     		"version" => $version . "M04MO"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M16_monov2" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 1,
 
   | 
||
| 
     		"fpga" => "10M16SCU169C8G",
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"flash_addr_bits" => 17,
 
   | 
||
| 
     		"cs1_bit" => 20, #force high
 
   | 
||
| 
     		"a4_bit" => 1, #to access config!
 
   | 
||
| 
     		"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
 
   | 
||
| 
     		"version" => $version . "M16MO"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M04_stereo_xel_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"cs1_bit" => 20,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M04SX"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M04_stereo_covox_no_right_detect" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 0,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"detect_right_on_by_default" => 0,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a7_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3, 
 
   | 
||
| 
     		"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		"version" =>  $version."M04SC"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M04_stereo_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M04SA"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M04_stereo_u1mb_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"fancy_switch_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M04SU"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M04_stereo_covox_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a7_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3, 
 
   | 
||
| 
     		"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		"version" =>  $version."M04SC"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M04_quad_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3, 
 
   | 
||
| 
     		"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M04QA"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M04_quad_covox_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a7_bit" => 3, 
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M04QC"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M08_stereo_covox_sample_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_sample" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a7_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3, 
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" =>  $version."M08SC"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"sid_10M08_sid_mono" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 1,
 
   | 
||
| 
     		"enable_sid" => 1,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"ext_bits"=> 4,
 
   | 
||
| 
     		"bus" => "c64",
 
   | 
||
| 
     		"a4_bit" => 4,
 
   | 
||
| 
     		"a5_bit" => 0,  #force low for now (will be stereo)
 
   | 
||
| 
     		"a6_bit" => 20, #force high
 
   | 
||
| 
     		"a7_bit" => 0, #force low
 
   | 
||
| 
     		"board" => "sid",
 
   | 
||
| 
     		"cs1_bit" => 20, #force high
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M08SI"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"sid_10M08_sid_stereo" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 1,
 
   | 
||
| 
     		"enable_sid" => 1,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"ext_bits"=> 4,
 
   | 
||
| 
     		"bus" => "c64",
 
   | 
||
| 
     		"a4_bit" => 4,
 
   | 
||
| 
     		"a5_bit" => 1,  #STEREO
 
   | 
||
| 
     		"a6_bit" => 20, #force high
 
   | 
||
| 
     		"a7_bit" => 0, #force low
 
   | 
||
| 
     		"board" => "sid",
 
   | 
||
| 
     		"cs1_bit" => 20, #force high
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M08SS"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"sidmax_10M04_stereo" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 0,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"enable_psg" => 0,
 
   | 
||
| 
     		"enable_covox" => 0,
 
   | 
||
| 
     		"enable_sample" => 0,
 
   | 
||
| 
     		"ext_bits"=> 4,
 
   | 
||
| 
     		"bus" => "c64",
 
   | 
||
| 
     		"a5_bit" => 1,  #STEREO
 
   | 
||
| 
     		"a6_bit" => 2,
 
   | 
||
| 
     		"a7_bit" => 3,
 
   | 
||
| 
     		"irq_bit" => 4,
 
   | 
||
| 
     		#"a6_bit" => 20, #force high
 
   | 
||
| 
     		#"a7_bit" => 0, #force low
 
   | 
||
| 
     		"type" => "sidmax",
 
   | 
||
| 
     		"board" => "v1",
 
   | 
||
| 
     		#"cs1_bit" => 20, #force high
 
   | 
||
| 
     		"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "S04DS"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"sidmax_10M08_full" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"enable_psg" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_sample" => 1,
 
   | 
||
| 
     		"ext_bits"=> 4,
 
   | 
||
| 
     		"bus" => "c64",
 
   | 
||
| 
     		"a5_bit" => 1,  #STEREO
 
   | 
||
| 
     		"a6_bit" => 2,
 
   | 
||
| 
     		"a7_bit" => 3,
 
   | 
||
| 
     		"irq_bit" => 4,
 
   | 
||
| 
     		#"a6_bit" => 20, #force high
 
   | 
||
| 
     		#"a7_bit" => 0, #force low
 
   | 
||
| 
     		"type" => "sidmax",
 
   | 
||
| 
     		"board" => "v1",
 
   | 
||
| 
     		#"cs1_bit" => 20, #force high
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "S08HK"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M08_stereo_u1mb_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"fancy_switch_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3,
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M08SU"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M08_quad_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 3, 
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M08QA"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M08_quad_covox_sample_auto" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a7_bit" => 3, 
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_sample" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M08QC"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M08_quad_sid" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a6_bit" => 3,
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M08QS"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M08_quad_psg_covox_sample" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_psg" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_sample" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a7_bit" => 3,
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M08QP"
 
   | 
||
| 
     	},
 
   | 
||
| 
     #	"10M08_basic" =>
 
   | 
||
| 
     #	{
 
   | 
||
| 
     #		"enable_audout2" => 0,
 
   | 
||
| 
     #		"pokeys" => 2,
 
   | 
||
| 
     #		"enable_auto_stereo" => 1,
 
   | 
||
| 
     #		"enable_sid" => 0,
 
   | 
||
| 
     #		"enable_psg" => 0,
 
   | 
||
| 
     #		"enable_covox" => 0,
 
   | 
||
| 
     #		"enable_sample" => 0,
 
   | 
||
| 
     #		"enable_flash" => 1,
 
   | 
||
| 
     #		"a4_bit" => 1,
 
   | 
||
| 
     #		"a5_bit" => 2,
 
   | 
||
| 
     #		"a6_bit" => 3,
 
   | 
||
| 
     #		"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     #		"cs1_bit" => 20, #force high
 
   | 
||
| 
     #		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     #		"version" => $version . "M08HK",
 
   | 
||
| 
     #		"optimisearea" => 1
 
   | 
||
| 
     #	},
 
   | 
||
| 
     	"10M16_fullv2" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"fpga" => "10M16SCU169C8G",
 
   | 
||
| 
     		"flash_addr_bits" => 17,
 
   | 
||
| 
     		"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
 
   | 
||
| 
     		"version" => $version . "M16MO",
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 1,
 
   | 
||
| 
     		"enable_psg" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_sample" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a6_bit" => 3,
 
   | 
||
| 
     		"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     		"cs1_bit" => 20, #force high
 
   | 
||
| 
     		"version" => $version . "M16HK"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M08_fullv2" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"enable_audout2" => 0,
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 1,
 
   | 
||
| 
     		"enable_psg" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_sample" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a6_bit" => 3,
 
   | 
||
| 
     		"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     		"cs1_bit" => 20, #force high
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M08HK",
 
   | 
||
| 
     		"optimisearea" => 1
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M08_fullv2_stereo" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"enable_audout2" => 0,
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 1,
 
   | 
||
| 
     		"enable_psg" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_sample" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a6_bit" => 3,
 
   | 
||
| 
     		"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     		"cs1_bit" => 20, #force high
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M08HK",
 
   | 
||
| 
     		"optimisearea" => 1
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M02_v4_stereo" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"enable_audout2" => 0,
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 0,
 
   | 
||
| 
     		"enable_psg" => 0,
 
   | 
||
| 
     		"enable_covox" => 0,
 
   | 
||
| 
     		"enable_sample" => 0,
 
   | 
||
| 
     		"enable_flash" => 0,
 
   | 
||
| 
     		"enable_spdif" => 1,
 
   | 
||
| 
     		"enable_ps2" => 0,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"ps2clk_bit" => 5,
 
   | 
||
| 
     		"ps2dat_bit" => 6,
 
   | 
||
| 
     		"gtia_audio_bit" => 7, 
 
   | 
||
| 
     		"fancy_switch_bit" => 8,
 
   | 
||
| 
     		"spdif_bit" => 10,
 
   | 
||
| 
     		"ext_bits"=> 10,
 
   | 
||
| 
     		"paddle_lvds"=>1,
 
   | 
||
| 
     		"paddle_comp"=>0,
 
   | 
||
| 
     		"enable_iox"=>0,
 
   | 
||
| 
     		"enable_adc"=>1,
 
   | 
||
| 
     		"pll_v2" => 0, 
 
   | 
||
| 
     		"fpga" => "10M02SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M02SA",
 
   | 
||
| 
     		"optimisearea" => 1,
 
   | 
||
| 
     		"board" => "v4"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M08_fullv4_stereo_sample" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"enable_audout2" => 0,
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 1,
 
   | 
||
| 
     		"enable_psg" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_sample" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"enable_spdif" => 0,
 
   | 
||
| 
     		"enable_ps2" => 0,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a6_bit" => 3,
 
   | 
||
| 
     		"a7_bit" => 4,
 
   | 
||
| 
     		"ps2clk_bit" => 5,
 
   | 
||
| 
     		"ps2dat_bit" => 6,
 
   | 
||
| 
     		"gtia_audio_bit" => 7, 
 
   | 
||
| 
     		"fancy_switch_bit" => 8,
 
   | 
||
| 
     		"spdif_bit" => 10,
 
   | 
||
| 
     		"ext_bits"=> 10,
 
   | 
||
| 
     		"paddle_lvds"=>1,
 
   | 
||
| 
     		"paddle_comp"=>0,
 
   | 
||
| 
     		"enable_iox"=>0,
 
   | 
||
| 
     		"enable_adc"=>1,
 
   | 
||
| 
     		"pll_v2" => 0, 
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M08HK",
 
   | 
||
| 
     		"optimisearea" => 1,
 
   | 
||
| 
     		"board" => "v4"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M08_fullv4_stereo_spdif" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"enable_audout2" => 0,
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 1,
 
   | 
||
| 
     		"enable_psg" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_sample" => 0,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"enable_spdif" => 1,
 
   | 
||
| 
     		"enable_ps2" => 0,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a6_bit" => 3,
 
   | 
||
| 
     		"a7_bit" => 4,
 
   | 
||
| 
     		"ps2clk_bit" => 5,
 
   | 
||
| 
     		"ps2dat_bit" => 6,
 
   | 
||
| 
     		"gtia_audio_bit" => 7, 
 
   | 
||
| 
     		"fancy_switch_bit" => 8,
 
   | 
||
| 
     		"spdif_bit" => 10,
 
   | 
||
| 
     		"ext_bits"=> 10,
 
   | 
||
| 
     		"paddle_lvds"=>1,
 
   | 
||
| 
     		"paddle_comp"=>0,
 
   | 
||
| 
     		"enable_iox"=>0,
 
   | 
||
| 
     		"enable_adc"=>1,
 
   | 
||
| 
     		"pll_v2" => 0, 
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M08HK",
 
   | 
||
| 
     		"optimisearea" => 1,
 
   | 
||
| 
     		"board" => "v4"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M08_monov4" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"enable_audout2" => 0,
 
   | 
||
| 
     		"pokeys" => 1,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 0,
 
   | 
||
| 
     		"enable_psg" => 0,
 
   | 
||
| 
     		"enable_covox" => 0,
 
   | 
||
| 
     		"enable_sample" => 0,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a6_bit" => 3,
 
   | 
||
| 
     		"a7_bit" => 4,
 
   | 
||
| 
     		"ps2clk_bit" => 5,
 
   | 
||
| 
     		"ps2dat_bit" => 6,
 
   | 
||
| 
     		"gtia_audio_bit" => 7, 
 
   | 
||
| 
     		"fancy_switch_bit" => 8,
 
   | 
||
| 
     		"spdif_bit" => 10,
 
   | 
||
| 
     		"ext_bits"=> 10,
 
   | 
||
| 
     		"paddle_lvds"=>1,
 
   | 
||
| 
     		"paddle_comp"=>0,
 
   | 
||
| 
     		"enable_iox"=>0,
 
   | 
||
| 
     		"enable_adc"=>1,
 
   | 
||
| 
     		"pll_v2" => 0,
 
   | 
||
| 
     		"fpga" => "10M08SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M08HK",
 
   | 
||
| 
     		"optimisearea" => 1,
 
   | 
||
| 
     		"board" => "v4"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M16_fullv4_quad" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"enable_audout2" => 0,
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 1,
 
   | 
||
| 
     		"enable_psg" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_sample" => 1,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"enable_spdif" => 1,
 
   | 
||
| 
     		"enable_ps2" => 1,
 
   | 
||
| 
     		"flash_addr_bits" => 17,
 
   | 
||
| 
     		"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a6_bit" => 3,
 
   | 
||
| 
     		"a7_bit" => 4,
 
   | 
||
| 
     		"ps2clk_bit" => 5,
 
   | 
||
| 
     		"ps2dat_bit" => 6,
 
   | 
||
| 
     		"gtia_audio_bit" => 7, 
 
   | 
||
| 
     		"fancy_switch_bit" => 8,
 
   | 
||
| 
     		"spdif_bit" => 10,
 
   | 
||
| 
     		"ext_bits"=> 10,
 
   | 
||
| 
     		"paddle_lvds"=>1,
 
   | 
||
| 
     		"paddle_comp"=>0,
 
   | 
||
| 
     		"enable_iox"=>0,
 
   | 
||
| 
     		"enable_adc"=>1,
 
   | 
||
| 
     		"pll_v2" => 0,
 
   | 
||
| 
     		"fpga" => "10M16SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M16HK",
 
   | 
||
| 
     		"optimisearea" => 1,
 
   | 
||
| 
     		"board" => "v4"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M16_monov4" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"enable_audout2" => 0,
 
   | 
||
| 
     		"pokeys" => 1,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 0,
 
   | 
||
| 
     		"enable_psg" => 0,
 
   | 
||
| 
     		"enable_covox" => 0,
 
   | 
||
| 
     		"enable_sample" => 0,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"flash_addr_bits" => 17,
 
   | 
||
| 
     		"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a6_bit" => 3,
 
   | 
||
| 
     		"a7_bit" => 4,
 
   | 
||
| 
     		"ps2clk_bit" => 5,
 
   | 
||
| 
     		"ps2dat_bit" => 6,
 
   | 
||
| 
     		"gtia_audio_bit" => 7, 
 
   | 
||
| 
     		"spdif_bit" => 10,
 
   | 
||
| 
     		"ext_bits"=> 10,
 
   | 
||
| 
     		"paddle_lvds"=>1,
 
   | 
||
| 
     		"paddle_comp"=>0,
 
   | 
||
| 
     		"enable_iox"=>0,
 
   | 
||
| 
     		"enable_adc"=>1,
 
   | 
||
| 
     		"pll_v2" => 0,
 
   | 
||
| 
     		"fpga" => "10M16SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M16HK",
 
   | 
||
| 
     		"optimisearea" => 1,
 
   | 
||
| 
     		"board" => "v4"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M04_quad_auto_v3" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 0,
 
   | 
||
| 
     		"enable_psg" => 0,
 
   | 
||
| 
     		"enable_covox" => 0,
 
   | 
||
| 
     		"enable_sample" => 0,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"enable_spdif" => 1,
 
   | 
||
| 
     		"enable_ps2" => 1,
 
   | 
||
| 
     		"board" => "v3",
 
   | 
||
| 
     		"pll_v2" => 0,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"gtia_audio_bit" => 5, 
 
   | 
||
| 
     		"spdif_bit" => 6,
 
   | 
||
| 
     		"ps2clk_bit" => 7,
 
   | 
||
| 
     		"ps2dat_bit" => 8,
 
   | 
||
| 
     		"ext_bits"=> 11,
 
   | 
||
| 
     		"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M04QA"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M04_stereo_psg_covox_auto_v3" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 2,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 0,
 
   | 
||
| 
     		"enable_psg" => 1,
 
   | 
||
| 
     		"enable_covox" => 1,
 
   | 
||
| 
     		"enable_sample" => 0,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"enable_spdif" => 1,
 
   | 
||
| 
     		"enable_ps2" => 1,
 
   | 
||
| 
     		"board" => "v3",
 
   | 
||
| 
     		"pll_v2" => 0,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a6_bit" => 3,
 
   | 
||
| 
     		"a7_bit" => 4,
 
   | 
||
| 
     		"gtia_audio_bit" => 5, 
 
   | 
||
| 
     		"spdif_bit" => 6,
 
   | 
||
| 
     		"ps2clk_bit" => 7,
 
   | 
||
| 
     		"ps2dat_bit" => 8,
 
   | 
||
| 
     		#"fancy_switch_bit" => 6,
 
   | 
||
| 
     		#"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     		"ext_bits"=> 11,
 
   | 
||
| 
     		#"cs1_bit" => 20, #force high
 
   | 
||
| 
     		"fpga" => "10M04SCU169C8G",
 
   | 
||
| 
     		"version" => $version . "M04SP"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M16_mono" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
| 
     		"enable_auto_stereo" => 1,
 
   | 
||
| 
     		"enable_sid" => 0,
 
   | 
||
| 
     		"enable_psg" => 0,
 
   | 
||
| 
     		"enable_covox" => 0,
 
   | 
||
| 
     		"enable_sample" => 0,
 
   | 
||
| 
     		"enable_flash" => 1,
 
   | 
||
| 
     		"enable_spdif" => 0,
 
   | 
||
| 
     		"enable_ps2" => 0,
 
   | 
||
| 
     		"flash_addr_bits" => 17,
 
   | 
||
| 
     		"board" => "v3",
 
   | 
||
| 
     		"pll_v2" => 0,
 
   | 
||
| 
     		"a4_bit" => 1,
 
   | 
||
| 
     		"a5_bit" => 2,
 
   | 
||
| 
     		"a6_bit" => 3,
 
   | 
||
| 
     		"a7_bit" => 4,
 
   | 
||
| 
     		"gtia_audio_bit" => 5, 
 
   | 
||
| 
     		"spdif_bit" => 6,
 
   | 
||
| 
     		"ps2clk_bit" => 7,
 
   | 
||
| 
     		"ps2dat_bit" => 8,
 
   | 
||
| 
     		#"fancy_switch_bit" => 6,
 
   | 
||
| 
     		#"a7_bit" => 19,  #use CS1
 
   | 
||
| 
     		"ext_bits"=> 11,
 
   | 
||
| 
     		#"cs1_bit" => 20, #force high
 
   | 
||
| 
     		"fpga" => "10M16SCU169C8G",
 
   | 
||
| 
     		"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
 
   | 
||
| 
     		"version" => $version . "M16MO"
 
   | 
||
| 
     	},
 
   | 
||
| 
     	"10M16_fullv3" =>
 
   | 
||
| 
     	{
 
   | 
||
| 
     		"pokeys" => 4,
 
   | 
||
Split into a block per version. Generate code automatically since I was getting worse and worse. Some clearly overlap. Automatic offsets for patching wave data into CFM. Generate core.bin from svf blocks.