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:
1 parent
8b8cf72d1f
commit
cb40fed3b9
126 files changed
+12795
-528
No files matched your search
@@ -0,0 +1,29 @@
|
||||
// Original Coco 3 Plus contributions: Copyright (c) 2026 Brian K. Holman.
|
||||
// Original component notices/terms retained; see COPYRIGHT.md and LICENSING.md.
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// One shared engine per controller, independently placeable in four sockets.
|
||||
// ROM and SCS selectors remain separate, software-addressable MPI fields.
|
||||
module bh_mpi_router(
|
||||
input wire [11:0] layout,input wire [1:0] cts,scs,
|
||||
output wire [2:0] rom_kind,io_kind,
|
||||
output wire floppy_io,sdc_io,rom_io,serial_io,
|
||||
output reg ssc_present,orchestra_present,floppy_present,sdc_present);
|
||||
assign rom_kind=layout[cts*3+:3];
|
||||
assign io_kind=layout[scs*3+:3];
|
||||
assign floppy_io=io_kind==2;
|
||||
assign sdc_io=io_kind==3;
|
||||
assign rom_io=io_kind==1||io_kind==5||io_kind==6;
|
||||
// Legacy floppy/SDC setups include the existing RS232 endpoint. A separate
|
||||
// RS232 device can also be assigned without requiring a storage controller.
|
||||
assign serial_io=io_kind==2||io_kind==3||io_kind==7;
|
||||
integer n;
|
||||
always_comb begin
|
||||
ssc_present=0;orchestra_present=0;floppy_present=0;sdc_present=0;
|
||||
for(n=0;n<4;n=n+1)begin
|
||||
ssc_present=ssc_present||(layout[n*3+:3]==4)||(layout[n*3+:3]==6);
|
||||
orchestra_present=orchestra_present||(layout[n*3+:3]==5)||(layout[n*3+:3]==6);
|
||||
floppy_present=floppy_present||(layout[n*3+:3]==2);
|
||||
sdc_present=sdc_present||(layout[n*3+:3]==3);
|
||||
end
|
||||
end
|
||||
endmodule
|
||||
Reference in new issue
Block a user