Introduce Coco 3 Plus for MiSTer

Add original-firmware Sound & Speech, four configurable Multi-Pak sockets,
bounded per-slot ROM allocation and a nine-page menu organized around devices
and media. Repair inherited clock/reset/CPU-memory/video paths and add explicit
conditional external-I/O timing contracts. Preserve native Main startup-file
ordering, saved layouts, stock-core separation and the coco3plus media profile.

Provide native Windows tool downloads, pinned ToolShed ROM assembly, fresh
Quartus builds, functional and fitted timing checks, reviewed release packaging
and passwordless SSH installation with backups. Retain original component
notices, document contribution copyright and keep SSC ROM inputs outside Git.

Validation: Quartus17.0.2 Build602 seed5, zero errors; 15 functional jobs,
368 both-corner timing scopes and eight tooling-integrity checks pass.
The renamed build reaches Disk BASIC, PRINT1+1 returns2 and SSC loads ready.
Physical cold power cycling and conditional board-delay assumptions remain
separate. Full original upstream histories are preserved before this single
consolidated implementation commit.
This commit is contained in:
bholman committed 2026-11-18 16:00:45 -07:00
1 parent 8b8cf72d1f
commit cb40fed3b9
126 files changed
+12795 -528

No files matched your search

+50
View File
@@ -0,0 +1,50 @@
# Fitted UART diagnostics, both timing corners; no changes to project assignments.
# quartus_sta -t uart_timing_paths.tcl PROJECT REVISION OUTPUT_DIRECTORY
package require ::quartus::project
package require ::quartus::sta
set project [lindex $quartus(args) 0]
set revision [lindex $quartus(args) 1]
set output [file normalize [lindex $quartus(args) 2]]
file mkdir $output
project_open $project -revision $revision
foreach model {slow fast} {
create_timing_netlist -model $model
read_sdc
update_timing_netlist
# Include the MiSTer wrapper's enable generator/reset chain, not just RS232.
set uart [get_registers {*RS232|* *COM1|* *|CLK_6551* *|uart_tick_release* dw_top_release[*] dw_mode* dw_base_d COM1_CLOCK* COM1_STATE* COM1_CLK*}]
if {[get_collection_size $uart] == 0} {error "Expected fitted UART registers"}
puts "UART_REGISTERS $model [get_collection_size $uart]"
foreach check {setup hold recovery removal} {
report_timing -$check -npaths 3 -detail full_path \
-file [file join $output global-${model}-${check}.rpt]
report_timing -$check -to $uart -npaths 20 -detail full_path \
-file [file join $output uart-${model}-${check}.rpt]
report_timing -$check -from $uart -npaths 10 -detail full_path \
-file [file join $output uart-out-${model}-${check}.rpt]
}
set cfg [get_registers {*RS232|CTL_REG[*] *RS232|CMD_REG[*] *COM1|CTL_REG[*]}]
report_timing -setup -from $cfg -to $uart -npaths 10 -detail full_path \
-file [file join $output uart-config-${model}-setup.rpt]
report_timing -hold -from $cfg -to $uart -npaths 10 -detail full_path \
-file [file join $output uart-config-${model}-hold.rpt]
if {$model eq "slow"} {
set audit [open [file join $output uart-register-clocks.tsv] w]
puts $audit "register\tclock_pin\tclock_driver"
foreach_in_collection reg $uart {
foreach edge [get_register_info -clock_edges $reg] {
set source [get_edge_info -src $edge]
foreach input_edge [get_node_info -clock_edges $source] {
set driver [get_edge_info -src $input_edge]
puts $audit "[get_register_info -name $reg]\t[get_node_info -name $source]\t[get_node_info -name $driver]"
}
}
}
close $audit
report_clocks -file [file join $output clocks.rpt]
report_ucp -file [file join $output unconstrained.rpt]
report_clock_transfers -file [file join $output clock-transfers.rpt]
}
delete_timing_netlist
}
project_close