PC98 Core

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 45990 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 45915 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...
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 »

Maxriptide wrote: Thu Jan 14, 2021 5:06 pm
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...
Thanks for your feedback. Hopefully this will get fixed soon.
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 »

Alkadian wrote: Mon Jan 11, 2021 11:32 am @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!
I used HXCexplorer to convert the the .fdi to d88 but I got the same as your result, the game is unplayable due to many graphical glitches

かすりん

User avatar
Chris23235
Top Contributor
Posts: 841
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 106 times
Been thanked: 167 times

Re: PC98 core

Unread post by Chris23235 »

Same here, all games I converted with VFIC showed only garbled graphics.
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 »

@ kathleen
@ Chris23235

Thanks for your feedback as well!
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 »

Thank you everyone for investigating the reason why it does not start.
I uploaded the corrections for that part and other corrections.

http://fpga8801.seesaa.net/archives/20210115-1.html

The standard state is the following settings.
DIP1-8 Extend
DIP1-3 Normal
DIP2-1 1
DIP2-2 Basic
DIP2-3 80
DIP2-4 25
DIP2-5 Keep
DIP2-6 Connect
DIP2-7 Control
DIP2-8 2.5MHz
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 15, 2021 11:20 am Thank you everyone for investigating the reason why it does not start.
I uploaded the corrections for that part and other corrections.

http://fpga8801.seesaa.net/archives/20210115-1.html

The standard state is the following settings.
DIP1-8 Extend
DIP1-3 Normal
DIP2-1 1
DIP2-2 Basic
DIP2-3 80
DIP2-4 25
DIP2-5 Keep
DIP2-6 Connect
DIP2-7 Control
DIP2-8 2.5MHz
Hello
Thank yo Mr Puu
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 »

Zet98_20210115
Attachments
Zet98_20210115.rar
(1.19 MiB) Downloaded 303 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 »

puu wrote: Fri Jan 15, 2021 11:20 am Thank you everyone for investigating the reason why it does not start.
I uploaded the corrections for that part and other corrections.

http://fpga8801.seesaa.net/archives/20210115-1.html

The standard state is the following settings.
DIP1-8 Extend
DIP1-3 Normal
DIP2-1 1
DIP2-2 Basic
DIP2-3 80
DIP2-4 25
DIP2-5 Keep
DIP2-6 Connect
DIP2-7 Control
DIP2-8 2.5MHz
Hi Puu,

That's great, many thanks. I can't wait to test it!
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 15, 2021 12:01 pm Zet98_20210115
That's very handy as usual. Many thanks for sharing tontonkaloun!
OhPoorPup
Posts: 3
Joined: Tue Aug 11, 2020 12:11 am
Has thanked: 1 time
Been thanked: 1 time

Re: PC98 core

Unread post by OhPoorPup »

Hi,

Thank you puu for the updated core. It boots into DOS just fine, but I'm still getting the corrupted/duplicated screen issues Alkadian described. Here's what I'm seeing:
IMG_3026[1241].jpg
IMG_3026[1241].jpg (2.9 MiB) Viewed 44568 times
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 »

Even on Thexder, Hatris etc similar dual 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 »

Thank you Mr Puu for the last release
I will test
Attachments
20210116_114605-screen.png
20210116_114605-screen.png (12.23 KiB) Viewed 44449 times
Zet98_20210116.rar
(1.18 MiB) Downloaded 321 times
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 »

Added support for 200 lines of graphics screen.
Mills
Posts: 83
Joined: Mon Jun 08, 2020 2:52 pm
Has thanked: 15 times
Been thanked: 29 times

Re: PC98 core

Unread post by Mills »

Interesting core, I hope the 8086 part can be used for other PC MS-DOS cores.
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 »

Thank you puu, its graphics glitch gone.
Post Reply