Revision 1449
Added by markw 11 months ago
build.sh | ||
---|---|---|
# version : STRING := "DEVELOPR" -- 8 char string atascii
|
||
"pokeymax_v1" =>
|
||
{
|
||
"stereo_auto" =>
|
||
"10M02SCU169C8G" =>
|
||
{
|
||
"pokeys" => 2,
|
||
"enable_auto_stereo" => 1,
|
||
"a4_bit" => 1,
|
||
"fpga" => "10M02SCU169C8G",
|
||
"ext_bits"=> 1,
|
||
"cs0_bit" => 0, #force low
|
||
},
|
||
"stereo_auto" =>
|
||
{
|
||
"pokeys" => 2,
|
||
"enable_auto_stereo" => 1,
|
||
"a4_bit" => 1,
|
||
"ext_bits"=> 1,
|
||
"cs0_bit" => 0, #force low
|
||
},
|
||
}
|
||
},
|
||
"pokeymax_v2" =>
|
||
{
|
||
"mono_linear" =>
|
||
"10M02SCU169C8G" =>
|
||
{
|
||
"saturate_on_by_default" => 0,
|
||
"pokeys" => 1,
|
||
"fpga" => "10M02SCU169C8G",
|
||
"enable_auto_stereo" => 1,
|
||
"gtia_audio_bit" => 3,
|
||
"a4_bit" => 1, #to access config!
|
||
"mono_linear" =>
|
||
{
|
||
"saturate_on_by_default" => 0,
|
||
"pokeys" => 1,
|
||
"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,
|
||
},
|
||
"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,
|
||
},
|
||
"stereo_auto_linear" =>
|
||
{
|
||
"saturate_on_by_default" => 0,
|
||
"pokeys" => 2,
|
||
"enable_auto_stereo" => 1,
|
||
"a4_bit" => 1,
|
||
"gtia_audio_bit" => 3,
|
||
},
|
||
"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,
|
||
},
|
||
"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,
|
||
},
|
||
"mono" =>
|
||
{
|
||
"pokeys" => 1,
|
||
"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,
|
||
},
|
||
"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,
|
||
},
|
||
"stereo_auto" =>
|
||
{
|
||
"pokeys" => 2,
|
||
"enable_auto_stereo" => 1,
|
||
"a4_bit" => 1,
|
||
"gtia_audio_bit" => 3,
|
||
},
|
||
"stereo_u1mb_auto" =>
|
||
{
|
||
"pokeys" => 2,
|
||
"enable_auto_stereo" => 1,
|
||
"a4_bit" => 1,
|
||
"fancy_switch_bit" => 2,
|
||
"gtia_audio_bit" => 3,
|
||
},
|
||
"stereo_covox_auto" =>
|
||
{
|
||
"pokeys" => 2,
|
||
"enable_auto_stereo" => 1,
|
||
"enable_covox" => 1,
|
||
"a4_bit" => 1,
|
||
"a7_bit" => 2,
|
||
"gtia_audio_bit" => 3,
|
||
},
|
||
},
|
||
"stereo_xel_auto_linear" =>
|
||
"10M04SCU169C8G" =>
|
||
{
|
||
"saturate_on_by_default" => 0,
|
||
"pokeys" => 2,
|
||
"enable_auto_stereo" => 1,
|
||
"a4_bit" => 1,
|
||
"cs1_bit" => 20,
|
||
"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,
|
||
},
|
||
"mono" =>
|
||
{
|
||
"pokeys" => 1,
|
||
"enable_auto_stereo" => 1,
|
||
"gtia_audio_bit" => 3,
|
||
"enable_flash" => 1,
|
||
"a4_bit" => 1, #to access config!
|
||
},
|
||
"stereo_xel_auto" =>
|
||
{
|
||
"pokeys" => 2,
|
||
"enable_auto_stereo" => 1,
|
||
"enable_flash" => 1,
|
||
"a4_bit" => 1,
|
||
"cs1_bit" => 20,
|
||
"gtia_audio_bit" => 3,
|
||
},
|
||
"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,
|
||
},
|
||
"stereo_auto" =>
|
||
{
|
||
"pokeys" => 2,
|
||
"enable_auto_stereo" => 1,
|
||
"enable_flash" => 1,
|
||
"a4_bit" => 1,
|
||
"gtia_audio_bit" => 3,
|
||
},
|
||
"stereo_u1mb_auto" =>
|
||
{
|
||
"pokeys" => 2,
|
||
"enable_auto_stereo" => 1,
|
||
"enable_flash" => 1,
|
||
"a4_bit" => 1,
|
||
"fancy_switch_bit" => 2,
|
||
"gtia_audio_bit" => 3,
|
||
},
|
||
"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,
|
||
},
|
||
"quad_auto" =>
|
||
{
|
||
"pokeys" => 4,
|
||
"enable_auto_stereo" => 1,
|
||
"enable_flash" => 1,
|
||
"a4_bit" => 1,
|
||
"a5_bit" => 2,
|
||
"gtia_audio_bit" => 3,
|
||
},
|
||
"quad_covox_auto" =>
|
||
{
|
||
"pokeys" => 4,
|
||
"enable_auto_stereo" => 1,
|
||
"enable_flash" => 1,
|
||
"a4_bit" => 1,
|
||
"a5_bit" => 2,
|
||
"a7_bit" => 3,
|
||
"enable_covox" => 1,
|
||
},
|
||
},
|
||
"stereo_covox_no_right_detect_linear" =>
|
||
"10M08SCU169C8G" =>
|
||
{
|
||
"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",
|
||
"mono" =>
|
||
{
|
||
"pokeys" => 1,
|
||
"enable_auto_stereo" => 1,
|
||
"gtia_audio_bit" => 3,
|
||
"cs1_bit" => 20, #force high
|
||
"a4_bit" => 1, #to access config!
|
||
},
|
||
"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,
|
||
},
|
||
"stereo_u1mb_auto" =>
|
||
{
|
||
"pokeys" => 2,
|
||
"enable_auto_stereo" => 1,
|
||
"enable_flash" => 1,
|
||
"a4_bit" => 1,
|
||
"fancy_switch_bit" => 2,
|
||
"gtia_audio_bit" => 3,
|
||
},
|
||
"quad_auto" =>
|
||
{
|
||
"pokeys" => 4,
|
||
"enable_auto_stereo" => 1,
|
||
"enable_flash" => 1,
|
||
"a4_bit" => 1,
|
||
"a5_bit" => 2,
|
||
"gtia_audio_bit" => 3,
|
||
},
|
||
"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,
|
||
},
|
||
"quad_sid" =>
|
||
{
|
||
"pokeys" => 4,
|
||
"enable_auto_stereo" => 1,
|
||
"enable_sid" => 1,
|
||
"enable_flash" => 1,
|
||
"a4_bit" => 1,
|
||
"a5_bit" => 2,
|
||
"a6_bit" => 3,
|
||
},
|
||
"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,
|
||
},
|
||
# "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
|
||
# "optimisearea" => 1
|
||
# },
|
||
#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
|
||
# "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
|
||
"optimisearea" => 1
|
||
},
|
||
},
|
||
"stereo_auto_linear" =>
|
||
"10M16SCU169C8G" =>
|
||
{
|
||
"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
|
||
},
|
||
"mono" =>
|
||
{
|
||
"pokeys" => 1,
|
||
"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\"))",
|
||
},
|
||
"full" =>
|
||
{
|
||
"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
|
||
},
|
||
}
|
||
},
|
||
"pokeymax_v3" =>
|
||
{
|
||
"quad_auto" =>
|
||
"10M04SCU169C8G" =>
|
||
{
|
||
"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",
|
||
"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,
|
||
},
|
||
"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
|
||
},
|
||
},
|
||
"stereo_psg_covox_auto" =>
|
||
"10M16SCU169C8G" =>
|
||
{
|
||
"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\"))",
|
||
},
|
||
"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
|
||
"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
|
||
"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
|
||
"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
|
||
},
|
||
}
|
||
},
|
||
"pokeymax_v4" =>
|
||
{
|
||
"stereo" =>
|
||
"10M02SCU169C8G" =>
|
||
{
|
||
"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,
|
||
"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,
|
||
"optimisearea" => 1,
|
||
},
|
||
},
|
||
"full_stereo_sample" =>
|
||
"10M08SCU169C8G" =>
|
||
{
|
||
"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_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,
|
||
"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,
|
||
"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,
|
||
"optimisearea" => 1,
|
||
},
|
||
},
|
||
"full_stereo_spdif" =>
|
||
"10M16SCU169C8G" =>
|
||
{
|
||
"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,
|
||
},
|
||
"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,
|
||
"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,
|
||
"optimisearea" => 1,
|
||
},
|
||
}
|
||
},
|
||
#
|
||
#sid adaptor board I think...
|
||
... | ... | |
#},
|
||
"sidmax_v1" =>
|
||
{
|
||
"full" =>
|
||
"10M08SCU169C8G" =>
|
||
{
|
||
"sids" => 2, #Not generic yet...
|
||
"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
|
||
#"cs1_bit" => 20, #force high
|
||
"fpga" => "10M08SCU169C8G",
|
||
},
|
||
"full" =>
|
||
{
|
||
"sids" => 2, #Not generic yet...
|
||
"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
|
||
#"cs1_bit" => 20, #force high
|
||
},
|
||
}
|
||
}
|
||
);
|
||
|
||
... | ... | |
my $type = $1;
|
||
my $board = $2;
|
||
|
||
my $tbvariants = $variants{$typeboard};
|
||
foreach my $name (sort keys %$tbvariants)
|
||
my $fpgas = $variants{$typeboard};
|
||
foreach my $fpga (sort keys %$fpgas)
|
||
{
|
||
my $spec = $tbvariants->{$name};
|
||
|
||
my $fpga = $spec->{"fpga"};
|
||
$fpga =~ /M(..)/;
|
||
my $fpgasize = $1;
|
||
|
||
my $code1;
|
||
my $code2;
|
||
my $sample = 0;
|
||
if (exists $spec->{"enable_sample"} and $spec->{"enable_sample"}==1)
|
||
my $names = $fpgas->{$fpga};
|
||
foreach my $name (sort keys %$names)
|
||
{
|
||
$sample = 1;
|
||
}
|
||
my $covox = 0;
|
||
if (exists $spec->{"enable_covox"} and $spec->{"enable_covox"}==1)
|
||
{
|
||
$covox = 1;
|
||
}
|
||
my $sids = 0;
|
||
if (exists $spec->{"enable_sid"} and $spec->{"enable_sid"}) {$sids = 2;}
|
||
my $pokeys = $spec->{"pokeys"};
|
||
my $psgs = 0;
|
||
if (exists $spec->{"enable_psg"} and $spec->{"enable_psg"}) {$psgs = 2;}
|
||
|
||
my $primary = $pokeys;
|
||
if ($type eq "pokeymax")
|
||
{
|
||
if ($pokeys==1)
|
||
my $spec = $names->{$name};
|
||
$spec->{"fpga"} = $fpga;
|
||
|
||
$fpga =~ /M(..)/;
|
||
my $fpgasize = $1;
|
||
|
||
my $code1;
|
||
my $code2;
|
||
my $sample = 0;
|
||
if (exists $spec->{"enable_sample"} and $spec->{"enable_sample"}==1)
|
||
{
|
||
$code1 = "M";
|
||
$sample = 1;
|
||
}
|
||
elsif ($pokeys==2)
|
||
my $covox = 0;
|
||
if (exists $spec->{"enable_covox"} and $spec->{"enable_covox"}==1)
|
||
{
|
||
$code1 = "S";
|
||
$covox = 1;
|
||
}
|
||
elsif ($pokeys==4)
|
||
my $sids = 0;
|
||
if (exists $spec->{"enable_sid"} and $spec->{"enable_sid"}) {$sids = 2;}
|
||
my $pokeys = $spec->{"pokeys"};
|
||
my $psgs = 0;
|
||
if (exists $spec->{"enable_psg"} and $spec->{"enable_psg"}) {$psgs = 2;}
|
||
|
||
my $primary = $pokeys;
|
||
if ($type eq "pokeymax")
|
||
{
|
||
$code1 = "Q";
|
||
if ($pokeys==1)
|
||
{
|
||
$code1 = "M";
|
||
}
|
||
elsif ($pokeys==2)
|
||
{
|
||
$code1 = "S";
|
||
}
|
||
elsif ($pokeys==4)
|
||
{
|
||
$code1 = "Q";
|
||
}
|
||
else
|
||
{
|
||
$code1 = "O";
|
||
}
|
||
|
Also available in: Unified diff
Some names clash in the hash. Add an extra layer. Also if sidwavedataneeded the value is blank, not zero. So the pof creation fails!