From 7fa33022996cd7332e53af286ba8e69cead376b9 Mon Sep 17 00:00:00 2001 From: Polprzewodnikowy Date: Thu, 26 Aug 2021 01:02:21 +0200 Subject: [PATCH] v --- fw/rtl/n64/n64_cfg.sv | 3 +++ sw/bootloader/src/main.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/fw/rtl/n64/n64_cfg.sv b/fw/rtl/n64/n64_cfg.sv index aee93ce..1452f33 100644 --- a/fw/rtl/n64/n64_cfg.sv +++ b/fw/rtl/n64/n64_cfg.sv @@ -26,6 +26,9 @@ module n64_cfg ( 9: bus.rdata = cfg.response[15:0]; 10: bus.rdata = cfg.arg[0][31:16]; 11: bus.rdata = cfg.arg[0][15:0]; + // ... + 14: bus.rdata = 16'h5343; + 15: bus.rdata = 16'h7632; default: bus.rdata = 16'd0; endcase end diff --git a/sw/bootloader/src/main.c b/sw/bootloader/src/main.c index 0e1aee4..26200c8 100644 --- a/sw/bootloader/src/main.c +++ b/sw/bootloader/src/main.c @@ -6,6 +6,8 @@ typedef struct sc64_cart_registers { __IO reg_t ARG[2]; __IO reg_t RESPONSE; __IO reg_t BOOTSTRAP; + __IO reg_t ___unused; + __IO reg_t VERSION; } sc64_cfg_registers_t; #define SC64_CFG_BASE (0x1FFF0000)