CoCo3_FPGA - 220124 Release

CoCo3_220124.rtf Updates:
1: Fully supports CoCo3_FPGA / GIME-X byte move transactions (GART) via addresses $FFE1-$FFE9 [see docs].
2: Fully supports CoCo3_FPGA / GIME-X font manipulation [see docs].
3: Cold Start implemented in new approach. The fixes the problem of going from Disk Basic to Extended Basic and not seeing a
difference.  The change has side effect of not being able to cold start out of OS9.  Work-around: <ctrl><alt><ins> followed by
<ctrl><alt><del>.
4: Memory size now supports 16MB.  New OSD control allows the memory selections of 512K, 1M, 2M, and 16M.
5: New OSD option to 'Force Turbo' mode.  If set the OSD turbo mode speed settings always control the coco's clock rate.
6: Tons of code cleanup including closer alignment to GIME-C and CoCo3_FPGA code. Better Cart compatibility.
7: MPI selection in the OSD has changed.  Orch90 has been removed [you can load it as a cartridge or disk].  The selections are
(Slot 3) ECB and (Slot 4) Disk.
8: RTC has been added via addresses [$FFC0 - $FFC7] - [see docs].
This commit is contained in:
shodge12 committed 2022-01-24 21:28:23 -05:00
1 parent f73e6fd93d
commit 935350fd4c
6 files changed
+4 -18

No files matched your search

+2 -2
View File
@@ -193,7 +193,7 @@ localparam CONF_STR = {
"COCO3;UART19200:9600:4800:2400:1200:300;", "COCO3;UART19200:9600:4800:2400:1200:300;",
"-;", "-;",
//"OCD,Multi-Pak Slot,Orch 90,ECB / Cart,Disk;", //"OCD,Multi-Pak Slot,Orch 90,ECB / Cart,Disk;",
"OCD,Multi-Pak Slot,Orc 90,ECB / Cart,Disk;", "OCD,Multi-Pak Slot,(Slot3) ECB /Cart,(Slot 4) Disk;",
"-;", "-;",
"H2S0,DSK,Load Disk Drive 0;", "H2S0,DSK,Load Disk Drive 0;",
"H2S1,DSK,Load Disk Drive 1;", "H2S1,DSK,Load Disk Drive 1;",
@@ -562,7 +562,7 @@ wire AMW_ACK;
wire cpu_speed = status[11]; wire cpu_speed = status[11];
wire [1:0] mpi = (status[13:12]==2'b00) ? 2'b00 : status[13:12]==2'b01 ? 2'b10 : status[13:12]==2'b10 ? 2'b11 : 2'b00; wire [1:0] mpi = (status[13:12]==2'b00) ? 2'b10: 2'b11;
wire video=status[14]; wire video=status[14];
wire cartint=status[16]; wire cartint=status[16];
wire sg4v6 = status[21]; wire sg4v6 = status[21];
Binary file not shown.
Binary file not shown.
Binary file not shown.
-14
View File
@@ -779,7 +779,6 @@ assign FLASH_CE_S = ROM_SEL ? 1'b1:
wire [7:0] COCO3_ROM_DATA; wire [7:0] COCO3_ROM_DATA;
wire [7:0] COCO3_DISK_ROM_DATA; wire [7:0] COCO3_DISK_ROM_DATA;
wire [7:0] ORCH90_ROM_DATA;
localparam [1:0] BOOT0 = 2'd0; localparam [1:0] BOOT0 = 2'd0;
localparam [1:0] BOOT1 = 2'd1; localparam [1:0] BOOT1 = 2'd1;
@@ -790,8 +789,6 @@ localparam [5:0] BOOT = 6'd0;
wire COCO3_ROM_WRITE = (ioctl_index[7:0] == {BOOT0, BOOT}) & ioctl_wr; wire COCO3_ROM_WRITE = (ioctl_index[7:0] == {BOOT0, BOOT}) & ioctl_wr;
wire COCO3_DISKROM_WRITE = (ioctl_index[7:0] == {BOOT1, BOOT}) & ioctl_wr; wire COCO3_DISKROM_WRITE = (ioctl_index[7:0] == {BOOT1, BOOT}) & ioctl_wr;
wire COCO3_ORCH90_ROM_WRITE = (ioctl_index[7:0] == {BOOT2, BOOT}) & ioctl_wr;
COCO_ROM_32K CC3_ROM( COCO_ROM_32K CC3_ROM(
@@ -812,21 +809,10 @@ COCO_ROM_8K CC3_DISK_ROM(
.WRITE(COCO3_DISKROM_WRITE) .WRITE(COCO3_DISKROM_WRITE)
); );
COCO_ROM_8K CC3_ORCH90_ROM(
.ADDR(FLASH_ADDRESS[12:0]),
.DATA(ORCH90_ROM_DATA),
.CLK(~clk_sys),
.WR_ADDR(ioctl_addr[12:0]),
.WR_DATA(ioctl_data[7:0]),
.WRITE(COCO3_ORCH90_ROM_WRITE)
);
assign FLASH_DATA = ENA_PAK ? CART_DATA: assign FLASH_DATA = ENA_PAK ? CART_DATA:
(FLASH_ADDRESS[15] == 1'b0) ? COCO3_ROM_DATA: (FLASH_ADDRESS[15] == 1'b0) ? COCO3_ROM_DATA:
(FLASH_ADDRESS[15:13] == 3'b100) ? COCO3_DISK_ROM_DATA: (FLASH_ADDRESS[15:13] == 3'b100) ? COCO3_DISK_ROM_DATA:
(FLASH_ADDRESS[15:13] == 3'b101) ? ORCH90_ROM_DATA:
8'b00000000; 8'b00000000;
+2 -2
View File
@@ -77,14 +77,14 @@ architecture RTL of COCO_ROM_16 is
type ROM_ARRAY is array(0 to 15) of std_logic_vector(7 downto 0); type ROM_ARRAY is array(0 to 15) of std_logic_vector(7 downto 0);
signal ROM : ROM_ARRAY:= ( signal ROM : ROM_ARRAY:= (
// Clear $71 [Warm Start Flag] -- Clear $71 [Warm Start Flag]
x"80",x"07",x"00",x"71",x"00", -- valid, nc, nc, nc, nc, nc, nc, a24 x"80",x"07",x"00",x"71",x"00", -- valid, nc, nc, nc, nc, nc, nc, a24
-- a23, a22, a21, a20, a19, a18, a17, a16 -- a23, a22, a21, a20, a19, a18, a17, a16
-- a15, a14, a13, a12, a11, a10, a09, a08 -- a15, a14, a13, a12, a11, a10, a09, a08
-- a07, a06, a05, a04, a03, a02, a01, a00 -- a07, a06, a05, a04, a03, a02, a01, a00
-- d07, d06, d05, d04, d03, d02, d01, d00 -- d07, d06, d05, d04, d03, d02, d01, d00
// Set $C000 <- $55 [Clear D in DK identifier in rom] -- Set $C000 <- $55 [Clear D in DK identifier in rom]
x"80",x"07",x"C0",x"00",x"55", -- valid, nc, nc, nc, nc, nc, nc, a24 x"80",x"07",x"C0",x"00",x"55", -- valid, nc, nc, nc, nc, nc, nc, a24
-- a23, a22, a21, a20, a19, a18, a17, a16 -- a23, a22, a21, a20, a19, a18, a17, a16
-- a15, a14, a13, a12, a11, a10, a09, a08 -- a15, a14, a13, a12, a11, a10, a09, a08