Branch 0001

1.	Interrupt system restored to previous code - improved compatibility.
 (config system updated along with ver information)
Testing spreadsheet added.
This commit is contained in:
shodge12 committed 2024-01-18 22:17:25 -05:00
1 parent 94bfcdbf6b
commit 8a3b917576
5 files changed
+318 -252

No files matched your search

+21 -54
View File
@@ -9,6 +9,16 @@
// CPU section copyrighted by John Kent
//
////////////////////////////////////////////////////////////////////////////////
// Project Name: CoCo3FPGA Version 5.x.x
// File Name: config.v
//
// CoCo3 in an FPGA
//
////////////////////////////////////////////////////////////////////////////////
//
// CPU section copyrighted by John Kent
//
////////////////////////////////////////////////////////////////////////////////
//
// Color Computer 3 compatible system on a chip
//
@@ -61,65 +71,22 @@
// This file is a configuration definition file. The CoCo3FPGA for MiSTer source files
// can be built into multiple objects which have mutually exclusive features.
// The debug value holds upto 8 feature settings [1 per bit] - when Config_Debug is set this appears at FFF1
`include "..\RTL\config_inc.v"
// If defined the Config_Debug sets the FEATURE MASKS all OR'd together which appears on COCO space at FFF1 & (FFF0 = 0x55 as a debug flag)
`define Config_Debug
`define Config_Debug_Value (`config_value_1 + `config_value_2 + `config_value_3 + `config_value_4 + `config_value_5 + `config_value_6 + `config_value_7 + `config_value_8)
`define Config_Debug_FLAG 8'h55
// Feature list - note the support area below needs editing for debug support...
// Feature list - note only FEATURE_1 - FEATURE_8 are supported
///////////////////////////////////////////////////////////////////////////////////////////////////////////
`define CoCo3_Horz_INT_FIX 8'h01 // Connection of the horz int to the Mister CoCo3 V5 rasterizer
`set_feature(CoCo3_Horz_INT_FIX, FEATURE_1) // Connection of the horz int to the Mister CoCo3 V5 rasterizer
`define CoCo3_Vert_INT_FIX 8'h02 // Connection of the vert int to the Mister CoCo3 V5 rasterizer
//`set_feature(CoCo3_Vert_INT_FIX, FEATURE_2) // Connection of the vert int to the Mister CoCo3 V5 rasterizer
//`set_feature(CoCo3_CYC_ACC_6809, FEATURE_3) // Use cycle accurate 6809
//`set_feature(CoCo3_sdc_override_size, FEATURE_4) // Define static size value
///////////////////////////////////////////////////////////////////////////////////////////////////////////
// This is support info to create the Config_Debug_Value referenced above
`ifdef CoCo3_Horz_INT_FIX
`define config_value_1 `CoCo3_Horz_INT_FIX
`else
`define config_value_1 8'h00
`endif
//`set_feature(CoCo3_sdc_fix_os9_driver, FEATURE_5) // fix sdc query disk size issue in llcocosdc driver in multipak enviroment
`ifdef CoCo3_Vert_INT_FIX
`define config_value_2 `CoCo3_Vert_INT_FIX
`else
`define config_value_2 8'h00
`endif
`ifdef NOT_DEFINED_YET
`define config_value_3 `NOT_DEFINED_YET
`else
`define config_value_3 8'h00
`endif
`ifdef NOT_DEFINED_YET
`define config_value_4 `NOT_DEFINED_YET
`else
`define config_value_4 8'h00
`endif
`ifdef NOT_DEFINED_YET
`define config_value_5 `NOT_DEFINED_YET
`else
`define config_value_5 8'h00
`endif
`ifdef NOT_DEFINED_YET
`define config_value_6 `NOT_DEFINED_YET
`else
`define config_value_6 8'h00
`endif
`ifdef NOT_DEFINED_YET
`define config_value_7 `NOT_DEFINED_YET
`else
`define config_value_7 8'h00
`endif
`ifdef NOT_DEFINED_YET
`define config_value_8 `NOT_DEFINED_YET
`else
`define config_value_8 8'h00
`endif
//`set_feature(CoCo3_disable_GART_in_GIMEX, FEATURE_6)// Disable GIMEX ram transfers [GIMEX detection in OS( EOU]