Skip to content
New issue

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

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

Already on GitHub? # to your account

Register corruption problem when calling memory mapper support extended BIOS #87

Closed
hra1129 opened this issue Aug 2, 2021 · 1 comment · Fixed by #88
Closed

Register corruption problem when calling memory mapper support extended BIOS #87

hra1129 opened this issue Aug 2, 2021 · 1 comment · Fixed by #88
Labels
bug Something isn't working fixplemented This bug has already been fixed/this feature has already been implemented in a released version

Comments

@hra1129
Copy link

hra1129 commented Aug 2, 2021

[Issues]
"Calling 'Get mapper variable table' will change the value of the DE register.

[Description]
As the return value, DE is Reserved, so at first glance it looks fine.
However, in MSX-DOS2, the DE register is not destroyed, but is maintained at 0401h.

The MSX Technical Guidebook, which was sold in Japan a long time ago, clearly states that 'Get mapper variable table' "maintains the value of DE".
It is not important that the information in this document is appropriate for the MSX-DOS2 specifications.
In MSX-DOS2, DEs are actually saved. And there is software out there that expects it.

[Appendix]
For example, ”SZMMP (鈴見咲 MIDI Player) ver0.64” will run out of control due to this problem.
http://sakuramail.net/fswold/midi.html

ASCAT Technical Guide Book
http://www.ascat.jp/tg/tg2.html
 ●マッパテーブルの先頭アドレスを得る方法 (How to get the top address of the mapper table)
  DEは保存される (DE is saved.)

@Konamiman Konamiman added the bug Something isn't working label Aug 11, 2021
@Konamiman Konamiman added the fixplemented This bug has already been fixed/this feature has already been implemented in a released version label Aug 20, 2021
@Konamiman
Copy link
Owner

Fixed in v2.1.1 beta 1.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working fixplemented This bug has already been fixed/this feature has already been implemented in a released version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants