Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于fcuex 2-6-6 关于mapper195 无法模拟的问题,请亲爱的开发者们帮我解决这个问题。About fcuex 2-6-6 About the problem that mapper195 cannot be simulated, please dear developers help me solve this problem. #775

Open
1989Firefly opened this issue Jan 9, 2025 · 2 comments

Comments

@1989Firefly
Copy link

Describe the bug
A clear and concise description of what the bug is.

亲爱的开发者们,mapper 195 目前最大只支持prg容量在1mb,超过1mb的不能运行,在调式器中,最大寻址地址在FFFFF,请帮忙修复它,让它能够支持读取到超过1MB PRG的nes文件。感谢各位!!!
Dear developers, mapper 195 currently only supports a maximum of 1MB PRG capacity, more than 1MB can not run, in the modem, the maximum addressing address is FFFFF, please help fix it, so that it can support reading more than 1MB PRG nes files. Thank you!!

我的联系方式 My contact details [email protected]

@1989Firefly
Copy link
Author

Uploading 1.png…
Uploading 2.png…

@dragon2snow
Copy link

dragon2snow commented Jan 9, 2025

好久没有用中文在这里说话了
首先,195是基于MMC3的,他是8k一个bank, 而MMC3默认是 0x3F个bank,而FCEUX默认是0x7F个bank.
而标准195是最大支持1024K 即0x7F个bank,的,所以1024K是可以支持的。

还有最大寻址是FFFF,但实际最大单字节就是FF个bank,不可能超过FF,不要把最大寻址和最大bank混了

1.更改以下代码7F为FF或去掉,不建议这样作
static void GENPWRAP(uint32 A, uint8 V) {
// [NJ102] Mo Dao Jie (C) has 1024Mb MMC3 BOARD, maybe something other will be broken
// also HengGe BBC-2x boards enables this mode as default board mode at boot up
setprg8(A, (V & 0x7F) | ((kt_extra & 4) << 4));
// KT-008 boards hack 2-in-1, TODO assign to new ines mapper, most dump of KT-boards on the net are mapper 4, so need database or goodnes fix support
}
2.增加195的子mapper,重载GENPWRAP,支持大于1024,最大到2048,再大就要增加寄存器

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants