Hi,
Since I'm not experienced with coding, wondering if it could be possible to add PRG-A19 to this mapper?
https://github.com/ClusterM/nes_mappers ... C3)/MMC3.v
I already understand an additionnal register would be required for:
output reg [18:12] cpu_addr_out ==> output reg [19:12] cpu_addr_out,
Its the banking part of the code I'd like help with:Thank you.
Since I'm not experienced with coding, wondering if it could be possible to add PRG-A19 to this mapper?
https://github.com/ClusterM/nes_mappers ... C3)/MMC3.v
I already understand an additionnal register would be required for:
output reg [18:12] cpu_addr_out ==> output reg [19:12] cpu_addr_out,
Its the banking part of the code I'd like help with:
Code:
// PRG bankingalways @ (*)begincase ({cpu_addr_in[14:13], prg_mode})3'b000: cpu_addr_out[18:13] <= r[6][5:0];3'b001: cpu_addr_out[18:13] <= 6'b111110;3'b010,3'b011: cpu_addr_out[18:13] <= r[7][5:0];3'b100: cpu_addr_out[18:13] <= 6'b111110;3'b101: cpu_addr_out[18:13] <= r[6][5:0];default: cpu_addr_out[18:13] <= 6'b111111;endcasecpu_addr_out[12] <= cpu_addr_in[12];end
Statistics: Posted by mightydidz — Sat Sep 07, 2024 7:41 am — Replies 0 — Views 67