PC98 Core

User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC98 core

Unread post by tontonkaloun »

In /Games/Zet98 : boot.rom
in /bootrom : Zet98.rom

only one of them is required and it's better to have only one
puu
Core Developer
Posts: 111
Joined: Mon May 25, 2020 9:20 am
Location: Japan
Has thanked: 2 times
Been thanked: 130 times
Contact:

Re: PC98 core

Unread post by puu »

I updated MiSTer to the latest version with update.sh earlier, and it became v210103, but it starts normally with the original binary.
Just in case, I uploaded a replacement of sys with the latest template core.

https://fpga8801.up.seesaa.net/rtl/rele ... MiSTer.rbf
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC98 core

Unread post by tontonkaloun »

puu wrote: Fri Jan 08, 2021 2:40 pm I updated MiSTer to the latest version with update.sh earlier, and it became v210103, but it starts normally with the original binary.
Just in case, I uploaded a replacement of sys with the latest template core.

https://fpga8801.up.seesaa.net/rtl/rele ... MiSTer.rbf
I will test
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC98 core

Unread post by tontonkaloun »

puu wrote: Fri Jan 08, 2021 2:40 pm I updated MiSTer to the latest version with update.sh earlier, and it became v210103, but it starts normally with the original binary.
Just in case, I uploaded a replacement of sys with the latest template core.

https://fpga8801.up.seesaa.net/rtl/rele ... MiSTer.rbf

I have the same problem with this version and the last realese of main MiSTer, no osd menu !!

But I hear the two Core boot beeps
Seems to me that was not the case before
User avatar
Alkadian
Top Contributor
Posts: 721
Joined: Thu May 28, 2020 9:55 am
Has thanked: 289 times
Been thanked: 116 times

Re: PC98 core

Unread post by Alkadian »

tontonkaloun wrote: Fri Jan 08, 2021 2:26 pm In /Games/Zet98 : boot.rom
in /bootrom : Zet98.rom

only one of them is required and it's better to have only one
Great, thanks for your clarifications. I will keep it in mind.
User avatar
Alkadian
Top Contributor
Posts: 721
Joined: Thu May 28, 2020 9:55 am
Has thanked: 289 times
Been thanked: 116 times

Re: PC98 core

Unread post by Alkadian »

tontonkaloun wrote: Fri Jan 08, 2021 2:35 pm
Alkadian wrote: Fri Jan 08, 2021 2:21 pm
tontonkaloun wrote: Fri Jan 08, 2021 2:11 pm


you need to rename it Zet98.rom in this folder
Thanks! It worked like a charm!
I did another test and it also worked by keeping the same name boot.rom and by putting the file in /media/fat/games/Zet98.

Also I have tried the attached BIOS files which I put in /media/fat/games/Zet98 and also worked. But I am not an expert so I son't know if they are the correct ones. I have used them in retroarch.

No, your files don't seem to work!
That's very odd! I have tried again and I have put those 4 files back in the folder /media/fat/games/Zet98 and they worked! Sorry, I have no idea!
User avatar
Alkadian
Top Contributor
Posts: 721
Joined: Thu May 28, 2020 9:55 am
Has thanked: 289 times
Been thanked: 116 times

Re: PC98 core

Unread post by Alkadian »

tontonkaloun wrote: Fri Jan 08, 2021 2:52 pm
puu wrote: Fri Jan 08, 2021 2:40 pm I updated MiSTer to the latest version with update.sh earlier, and it became v210103, but it starts normally with the original binary.
Just in case, I uploaded a replacement of sys with the latest template core.

https://fpga8801.up.seesaa.net/rtl/rele ... MiSTer.rbf

I have the same problem with this version and the last realese of main MiSTer, no osd menu !!
Same here, I have tested it with the latest Mister release and I only get a black screen with an empty purple box in the centre of the screen.
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC98 core

Unread post by tontonkaloun »

Alkadian wrote: Fri Jan 08, 2021 3:02 pm
tontonkaloun wrote: Fri Jan 08, 2021 2:35 pm
Alkadian wrote: Fri Jan 08, 2021 2:21 pm

Thanks! It worked like a charm!
I did another test and it also worked by keeping the same name boot.rom and by putting the file in /media/fat/games/Zet98.

Also I have tried the attached BIOS files which I put in /media/fat/games/Zet98 and also worked. But I am not an expert so I son't know if they are the correct ones. I have used them in retroarch.

No, your files don't seem to work!
That's very odd! I have tried again and I have put those 4 files back in the folder /media/fat/games/Zet98 and they worked! Sorry, I have no idea!

Did you delete the /bootrom/Zet98.rom file?

in addition, you must rebuild your boot.rom file from these files. It shouldn't work like this
User avatar
Alkadian
Top Contributor
Posts: 721
Joined: Thu May 28, 2020 9:55 am
Has thanked: 289 times
Been thanked: 116 times

Re: PC98 core

Unread post by Alkadian »

tontonkaloun wrote: Fri Jan 08, 2021 3:10 pm
Alkadian wrote: Fri Jan 08, 2021 3:02 pm
tontonkaloun wrote: Fri Jan 08, 2021 2:35 pm


No, your files don't seem to work!
That's very odd! I have tried again and I have put those 4 files back in the folder /media/fat/games/Zet98 and they worked! Sorry, I have no idea!

Did you delete the /bootrom/Zet98.rom file?

in addition, you must rebuild your boot.rom file from these files. It shouldn't work like this
Ah! You were right! I kept bootrom/Zet98.rom file! That's why it was working! Sorry my fault!
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC98 core

Unread post by tontonkaloun »

Alkadian wrote: Fri Jan 08, 2021 3:19 pm
tontonkaloun wrote: Fri Jan 08, 2021 3:10 pm
Alkadian wrote: Fri Jan 08, 2021 3:02 pm

That's very odd! I have tried again and I have put those 4 files back in the folder /media/fat/games/Zet98 and they worked! Sorry, I have no idea!

Did you delete the /bootrom/Zet98.rom file?

in addition, you must rebuild your boot.rom file from these files. It shouldn't work like this
Ah! You were right! I kept bootrom/Zet98.rom file! That's why it was working! Sorry my fault!

it's for this reason, that I told you that it is better to have the file than in one place
User avatar
Alkadian
Top Contributor
Posts: 721
Joined: Thu May 28, 2020 9:55 am
Has thanked: 289 times
Been thanked: 116 times

Re: PC98 core

Unread post by Alkadian »

tontonkaloun wrote: Fri Jan 08, 2021 3:23 pm
Alkadian wrote: Fri Jan 08, 2021 3:19 pm
tontonkaloun wrote: Fri Jan 08, 2021 3:10 pm


Did you delete the /bootrom/Zet98.rom file?

in addition, you must rebuild your boot.rom file from these files. It shouldn't work like this
Ah! You were right! I kept bootrom/Zet98.rom file! That's why it was working! Sorry my fault!

it's for this reason, that I told you that it is better to have the file than in one place
Yup, you were correct. I have edited my previous post to avoid confusion!
User avatar
Alkadian
Top Contributor
Posts: 721
Joined: Thu May 28, 2020 9:55 am
Has thanked: 289 times
Been thanked: 116 times

Re: PC98 core

Unread post by Alkadian »

Just out of curiosity I have tried one game, Albion. I have converted it from .fdi to .d88 with D88 Virtual Flooppy Converter, but it didn't work. I mean it boots up but then I get lots of graphical glitches.
suverman
Posts: 84
Joined: Mon May 25, 2020 1:17 am
Has thanked: 42 times
Been thanked: 6 times

Re: PC98 core

Unread post by suverman »

Same looks like games have double screen top and bottom kinda glitch...
I tried:
1. Thexder
2. Hatris
3. Deflektor
4. Slip Stream 92

All these booted, but various graphical glitches over HDMI.
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC98 core

Unread post by ron »

puu wrote: Fri Jan 08, 2021 2:40 pm I updated MiSTer to the latest version with update.sh earlier, and it became v210103, but it starts normally with the original binary.
Just in case, I uploaded a replacement of sys with the latest template core.

https://fpga8801.up.seesaa.net/rtl/rele ... MiSTer.rbf

Thanks puu ! we're close but still not working. Have you updated the MiSTer framework part?

Now when starting i can hear two beeps and in the screens seems like forming a matrix that disappears. This haven't happened before.
But, still black screen, maroon square as OSD ( NO OSD ) and MiSTer hanged.

My MiSTer is v210103, OS 200908
puu
Core Developer
Posts: 111
Joined: Mon May 25, 2020 9:20 am
Location: Japan
Has thanked: 2 times
Been thanked: 130 times
Contact:

Re: PC98 core

Unread post by puu »

I uploaded the latest Template core compiled with Advanced Setting (Synth and Fitter) of Compiler Settings.
https://fpga8801.up.seesaa.net/image/Zet98_20210109.rbf
puu
Core Developer
Posts: 111
Joined: Mon May 25, 2020 9:20 am
Location: Japan
Has thanked: 2 times
Been thanked: 130 times
Contact:

Re: PC98 core

Unread post by puu »

There is still something wrong with the graphics screen. 200 lines cannot be displayed normally. The 400 line is displayed normally on DE0-CV to some extent, but for some reason MiSTer crushes the height in half.
User avatar
wark91
Core Developer
Posts: 334
Joined: Sun May 24, 2020 8:34 pm
Has thanked: 447 times
Been thanked: 94 times

Re: PC98 core

Unread post by wark91 »

Hi Puu,
I have the same issue no OSD with the last RBF Zet98_20210109.
Thanks,
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC98 core

Unread post by ron »

puu wrote: Sat Jan 09, 2021 2:04 am I uploaded the latest Template core compiled with Advanced Setting (Synth and Fitter) of Compiler Settings.
https://fpga8801.up.seesaa.net/image/Zet98_20210109.rbf
Sorry, puu san ! Same behaviour and nothing new. I think you've got a problem with video timmings.
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC98 core

Unread post by tontonkaloun »

puu wrote: Sat Jan 09, 2021 2:04 am I uploaded the latest Template core compiled with Advanced Setting (Synth and Fitter) of Compiler Settings.
https://fpga8801.up.seesaa.net/image/Zet98_20210109.rbf
Hello Mr Puu

Same issue with the last release of your Core and the last release of the main MiSTer.
With MiSTer_20201027, no issue
puu
Core Developer
Posts: 111
Joined: Mon May 25, 2020 9:20 am
Location: Japan
Has thanked: 2 times
Been thanked: 130 times
Contact:

Re: PC98 core

Unread post by puu »

What exactly is Quartus giving an error message on the VIDEO clock?
User avatar
Alkadian
Top Contributor
Posts: 721
Joined: Thu May 28, 2020 9:55 am
Has thanked: 289 times
Been thanked: 116 times

Re: PC98 core

Unread post by Alkadian »

puu wrote: Sat Jan 09, 2021 2:04 am I uploaded the latest Template core compiled with Advanced Setting (Synth and Fitter) of Compiler Settings.
https://fpga8801.up.seesaa.net/image/Zet98_20210109.rbf
Hi puu,

As mentioned by other users above, same behaviour here.
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC98 core

Unread post by ron »

At this moment I am not at my computer, but I remember that it had to do with a video clock.
Something like: CRTC98 : VID | VTIMING : TIM | clk3sft was determined to be a clock but was found without an associated clock assignment.
User avatar
wark91
Core Developer
Posts: 334
Joined: Sun May 24, 2020 8:34 pm
Has thanked: 447 times
Been thanked: 94 times

Re: PC98 core

Unread post by wark91 »

I have this line :
Warning (332060): Node: emu:emu|Zet98MiSTer:Zet98_top|CRTC98:VID|VTIMING:TIM|clk3sft[2] was determined to be a clock but was found without an associated clock assignment.
Info (13166): Register emu:emu|Zet98MiSTer:Zet98_top|CRTC98:VID|synccont2:sync|altshift_taps:HSYNCB_rtl_0|shift_taps_ibv:auto_generated|altsyncram_rcc1:altsyncram5|ram_block8a1 is being clocked by emu:emu|Zet98MiSTer:Zet98_top|CRTC98:VID|VTIMING:TIM|clk3sft[2]

Full compilation log:
fullcompilationlog_zet98.zip
(26.49 KiB) Downloaded 259 times
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC98 core

Unread post by tontonkaloun »

puu wrote: Fri Jan 08, 2021 2:40 pm I updated MiSTer to the latest version with update.sh earlier, and it became v210103, but it starts normally with the original binary.
Just in case, I uploaded a replacement of sys with the latest template core.

https://fpga8801.up.seesaa.net/rtl/rele ... MiSTer.rbf

Hello,

But why don't you have an issue with the latest version of Main MiSTer? It doesn't work for anyone !
ExCyber
Posts: 217
Joined: Sun May 24, 2020 3:33 pm
Has thanked: 11 times
Been thanked: 66 times

Re: PC98 core

Unread post by ExCyber »

The OSD lockup seems to be related to the parsing of CONF_STR. Commenting out the following line (in Zet98/MiSTer/Zet98.sv) fixed it for me. I don't understand why, because I don't see anything wrong with the syntax; I just found it by trial and error.

Code: Select all

"OK,DIP2-6 Fixed drive,Disconnect,Connect;",
The core still doesn't run consistently on my setup, but I think that's a different issue.
Attachments
Zet98MiSTer-no-fixed-drive.zip
(1.18 MiB) Downloaded 389 times
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC98 core

Unread post by ron »

Bang ! Bingo !

ExCyber , you got the key. Thanks.

After several I / O errors, I realized that from the OSD (which already works) you can configure the options of the machine.
So once I checked it was working and with a DOS 6.2 disk for PC98, this is the result.
pc98working.png
pc98working.png (83.64 KiB) Viewed 46303 times
I'll take a look, there's a lot to test.
User avatar
kathleen
Top Contributor
Posts: 409
Joined: Fri Jun 26, 2020 4:23 am
Location: Belgium
Has thanked: 224 times
Been thanked: 131 times

Re: PC98 core

Unread post by kathleen »

Thank you @puu for your hard work
Thank you @ExCyber,
Works also on my side with the latest Mister revision
Attachments
NODATE-screen_0001.png
NODATE-screen_0001.png (4.64 KiB) Viewed 46228 times

かすりん

ExCyber
Posts: 217
Joined: Sun May 24, 2020 3:33 pm
Has thanked: 11 times
Been thanked: 66 times

Re: PC98 core

Unread post by ExCyber »

I did some more experiments. The OSD hang happens when the combination of option name and current value is too long. The combination of "DIP2-6 Fixed drive" and "Disconnect" is 2 characters too long. So one possibility for why puu (or anyone else) might not see this problem is a saved setting of "DIP2-6 Fixed drive" to "Connect", which does not cause the problem.

Likewise, one workaround is to replace "Fixed drive" with "Hard disk", which is two characters shorter (but sadly loses 100% of the '80s PC jargon vibe). I've attached a .rbf with that change in case it's important to anyone to be able to flip that switch, although it sounded like HDD emulation isn't working yet (?).

I'm not sure what the actual failure is, but I guess it's probably something to do with overlapping memory regions in the menu code (various typical algorithms and library functions don't work correctly for overlapping regions).
Attachments
Zet98MiSTer-osd-fix.zip
(1.19 MiB) Downloaded 361 times
User avatar
Alkadian
Top Contributor
Posts: 721
Joined: Thu May 28, 2020 9:55 am
Has thanked: 289 times
Been thanked: 116 times

Re: PC98 core

Unread post by Alkadian »

@ExCyber,
Many thanks for sharing your findings.

Guys,
Would you please let me know if you have managed to run any .d88 games? All the ones I have tried so far boot up but have many graphical glitches/issues as if the screen was replicated 3/4 times.
Thanks!
Maxriptide
Posts: 15
Joined: Sun Jul 19, 2020 11:50 am
Has thanked: 1 time
Been thanked: 7 times

Re: PC98 core

Unread post by Maxriptide »

Alkadian wrote: Mon Jan 11, 2021 11:32 am Would you please let me know if you have managed to run any .d88 games?
I tried converting some .fdi games to .d88, I only get a DOS loading screen and then it goes black...
Post Reply