This commit is contained in:
Polprzewodnikowy 2021-08-26 01:02:21 +02:00
parent 43bf7ecbd1
commit 7fa3302299
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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)