Viewing Issue Advanced Details Jump to Notes ] mz2000.cpp
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06336 Graphics Minor Always Jul 29, 2016, 16:24 Feb 11, 2017, 15:12
Tester demotester View Status Public Platform MESS (Unofficial Binary)
Assigned To Resolution Open OS Windows XP
Status [?] Acknowledged   Driver mz2000.cpp
Version 0.176 Fixed in Version Build Normal
Summary MESS-specific 06336: mz2000: The diff. between the actual and the emulation font !
Description I guess that the current font in mz2000 driver is conversion from the "mzfont.bmp" found in the emuz2000_tf emu !

Quote from the drivers / mz2000.cpp:
------------------------------------------------------------------------------------------------------------------------
877 /* these are hand-crafted roms, converted from bmps floating around the net */
878 ROM_LOAD( "font.bin", 0x0000, 0x0800, BAD_DUMP CRC(6ae6ce8e) SHA1(6adcdab9e4647429dd8deb73146264746b5eccda) )

898 /* these are hand-crafted roms, converted from bmps floating around the net */
899 ROM_LOAD( "font.bin", 0x0000, 0x0800, BAD_DUMP CRC(6ae6ce8e) SHA1(6adcdab9e4647429dd8deb73146264746b5eccda) )
------------------------------------------------------------------------------------------------------------------------

But on the pictures below, taken from a real MZ-2000, it is visiable that some letters are different; like "B", "f", "g", "p" !!!
http://www4.kcn.ne.jp/~sailplan/myComputer/MZ2000/MZ2000.htm
http://lancelot2.blog.so-net.ne.jp/2016-05-05

Also, here is how the font looks on a MZ-80B Jpn. version (not emulated in mess) -> http://www43.tok2.com/home/cmpslv/Mz80b/mzbdisp.htm

It seems the MZ-2000 might uses the same font found on a MZ-80B Jpn. version ! (if above MZ-2000 pics are compared to the MZ-80B Jpn. font bitmap)

The difference between MZ-80B Jpn. font bitmap and the current mess mz2000 driver font are only in letters: "B", "f", "g", "p", "q", "w" !!!

In attachment is "corrected" version converted according to MZ-80B Jpn. bitmap. You can compare it with current "BAD_DUMP" or check the diff. on attached pictures.
Steps To Reproduce Maybe the "corrected" one should replace the current "BAD_DUMP", as it looks closer to pictures taken from a real MZ-2000 !!!

PS.
Because is not possible to found any picture that confirms the same for a MZ-2200 and have no info if there is diff. between MZ-2000/MZ-2200 regarding fonts and because above pictures comes from a MZ-2000, I guess the corrected one then apply to MZ-2000 driver !!!

EDIT:
On below link is picture of a MZ-2500 in 2000 mode... seems it uses same font, so I guess that MZ-2200 probably also uses same font:
http://hankakusai.basekernel.co.jp/cgi-bin/adiary/adiary.cgi/0541


Additional Information Btw. MZ-2000 uses green monitor and current mz2000 driver does not !!!

Also, the corrected one can be used for MZ-80B Jpn. driver, currently not emulated in mess !!!
(The 80B Jpn. Keyboard Matrix -> http://www43.tok2.com/home/cmpslv/Mz80b/EnrMzb.htm )
The same keyboard matrix might apply for a MZ-2000 too, I guess, as the both keyboard layouts look pretty same.
MZ-80B Jpn differ. from MZ-80B EU version in used font and kbd-layout, the used IPL is probably the same.
Flags
Regression Version
Affected Sets / Systems mz2000
Attached Files
zip file icon corrected.zip (121,417 bytes)  Jul 29, 2016, 16:27 by demotester


-  Notes
User avatar
No.13532
demotester
(Tester)
Jan 6, 2017, 19:15
edited on: Jan 6, 2017, 19:17
http://www.8bity.cz/2016/manuals-for-japan-personal-computers-sharp-mz-2000-mz-2200/

According to above manuals it seems both machines MZ-2000/2200 are using the same font ! (same as on Jpn. mz-80B)

User avatar
No.13619
demotester
(Tester)
Feb 11, 2017, 15:12
edited on: Feb 13, 2017, 16:19
The manual "MZ2000_BASIC-MONITOR" on p.149 = IPL listing for MZ-2000.
The manual "MZ2200_BASIC-MONITOR" on p.171 = IPL listing for MZ-2200.

Hmm, there are some differences with two existing IPL also!

If compares existing MAME/MESS IPLs of mz2000 and mz2200 in Hex Editor:
-----------------------------------------
mz2000 IPL <--> mz2200 IPL
-----------------------------------------
03DB = D8 <--> 03DB = DB (diff)
049B = FD <--> 049B = FE (diff)
-----------------------------------------
Except of above two differences, everything else looks same in the Hex Editor.

If compares between existing IPLs and manual listings, there is one diff. at "03DB" and "049B":
-----------------------------------------------
mz2000 IPL <--> mz-2000 manual
-----------------------------------------------
03DB = D8 <--> 03DB = DB (diff)
049B = FD <--> 049B = FD
-----------------------------------------------
-----------------------------------------------
mz2200 IPL <--> mz-2200 manual
-----------------------------------------------
03DB = DB <--> 03DB = DB
049B = FE <--> 049B = FD (diff)
-----------------------------------------------

If compares between manual listings, there are no differences at "03DB" and "049B":
-----------------------------------------------------
mz-2000 manual <--> mz-2200 manual
-----------------------------------------------------
03DB = DB <--> 03DB = DB
049B = FD <--> 049B = FD
-----------------------------------------------------

Are the MAME/MESS IPLs good or bad dumps? (in the driver is mentioned only for fonts as bad_dump)
(In fact, current IPL seem same to those on "sharpmz.org"!)


Hmm, what should be the best solution: keep the same or correct the IPL and use it on both machines !? (or wait someone with a real working machine to confirm that)

Note: Regarding the font, the current one is already bad_dump and it should be replaced with the new "hand corrected" one (attached) that can apply to "mz80bj", "mz2000" and "mz2200" ! The new corrected font is mostly the same to old one but with a few corrections on problematic characters that now looks same to a real machine!


EDIT:
Confirmed! The font for MZ-2000/2200 is same as on MZ-80B(Jpn.)!
https://ja.wikipedia.org/wiki/MZ-2000 - MZ-2000 / Overview / other (on last paragraph): "the font incorporated in the character generator is derived from MZ - 80B"

Also, regarding the IPL for MZ2000 and MZ-2200 it is not mentioned that is different!
According to that, there is no need for two MZ-2000 drivers as both uses same font and same IPL !?
(mz2200 is enough as it covers all function of mz2000 + color mode = expanded mz2000)