PC98 Core
-
- Core Developer
- Posts: 113
- Joined: Mon May 25, 2020 9:20 am
- Location: Japan
- Has thanked: 2 times
- Been thanked: 151 times
- Contact:
Re: PC98 core
Thank you.
I tried tracing with the 98DO BIOS, but I used the OUTSB instruction at a very early stage in the BIOS, which seems to be an instruction added after 80186/80286 / V30, but in Zet this is executed Unable, exception 06: It seems that an undefined instruction has occurred. (I think exception 06 was reserved on 8086) It doesn't seem to work as it is.
However, it is predicted that it will not be so difficult to modify Zet (CPU core) to support OUTSB instructions, so I am thinking about proceeding with this method.
I tried tracing with the 98DO BIOS, but I used the OUTSB instruction at a very early stage in the BIOS, which seems to be an instruction added after 80186/80286 / V30, but in Zet this is executed Unable, exception 06: It seems that an undefined instruction has occurred. (I think exception 06 was reserved on 8086) It doesn't seem to work as it is.
However, it is predicted that it will not be so difficult to modify Zet (CPU core) to support OUTSB instructions, so I am thinking about proceeding with this method.
Re: PC98 core
I'm thinking you could maybe make a 8086 that supports some of the 286+ instructions not related to protected mode? It would certainly allow a larger variety of programs to run too (programs compiled for 286+ that don't use its features but compiler optimizations make them use those instructions).
Is GDC working? Is there possibility of GRCG (not EGC) features?
Is GDC working? Is there possibility of GRCG (not EGC) features?
-
- Core Developer
- Posts: 113
- Joined: Mon May 25, 2020 9:20 am
- Location: Japan
- Has thanked: 2 times
- Been thanked: 151 times
- Contact:
Re: PC98 core
This is the progress at the moment:
The INS and OUTS instructions that are missing in the 80286's real mode base have been added, and it seems that the INS instruction is not used in the BIOS, so it has been confirmed that the OUTS instruction works normally. The PUSHA and POPA instructions were implemented, but we found a bug and fixed it. As a result, the microcode has been expanded from 9-bit addresses to 10-bit addresses, so it is possible to increase the number of instructions to just under twice.
In GDC, the dot, line, and square drawing circuits are working for the time being. Circles and arcs have not been implemented yet. GRCG is also implemented.
Since I haven't connected the FDC yet, I can only boot ROM BASIC, but it is at the stage where ROM BASIC can be booted. Therefore, I think that development will proceed because the IO port can be accessed freely.
By the way, the development environment is DE0-CV. I will not port it to MiSTer until it is a little more complete.
The INS and OUTS instructions that are missing in the 80286's real mode base have been added, and it seems that the INS instruction is not used in the BIOS, so it has been confirmed that the OUTS instruction works normally. The PUSHA and POPA instructions were implemented, but we found a bug and fixed it. As a result, the microcode has been expanded from 9-bit addresses to 10-bit addresses, so it is possible to increase the number of instructions to just under twice.
In GDC, the dot, line, and square drawing circuits are working for the time being. Circles and arcs have not been implemented yet. GRCG is also implemented.
Since I haven't connected the FDC yet, I can only boot ROM BASIC, but it is at the stage where ROM BASIC can be booted. Therefore, I think that development will proceed because the IO port can be accessed freely.
By the way, the development environment is DE0-CV. I will not port it to MiSTer until it is a little more complete.
-
- Posts: 2
- Joined: Mon Dec 28, 2020 8:22 pm
Re: PC98 core
Amazing project puu! Would it be possible to keep a 24 Khz option for those of us that still use old school MultiSync monitors?
-
- Core Developer
- Posts: 113
- Joined: Mon May 25, 2020 9:20 am
- Location: Japan
- Has thanked: 2 times
- Been thanked: 151 times
- Contact:
Re: PC98 core
sorry. The timing is adjusted to VGA (640x480) that can be used by the overwhelming majority of people.
The original (640x400) should be compatible with a slight change in RTL, but I have already thrown away the compatible display so I can't confirm it.
The original (640x400) should be compatible with a slight change in RTL, but I have already thrown away the compatible display so I can't confirm it.
-
- Posts: 2
- Joined: Mon Dec 28, 2020 8:22 pm
Re: PC98 core
No problem, it appears to be the most reasonable decision. At least now I have a reason to get a real pc98
-
- Core Developer
- Posts: 113
- Joined: Mon May 25, 2020 9:20 am
- Location: Japan
- Has thanked: 2 times
- Been thanked: 151 times
- Contact:
Re: PC98 core
The PC-98 core port to MiSTer has been completed and is being uploaded.
There are some strange parts and functions that are not supported (pallet, HDD, etc.).
http://fpga8801.seesaa.net/archives/20210107-1.html
There are some strange parts and functions that are not supported (pallet, HDD, etc.).
http://fpga8801.seesaa.net/archives/20210107-1.html
-
- Core Developer
- Posts: 113
- Joined: Mon May 25, 2020 9:20 am
- Location: Japan
- Has thanked: 2 times
- Been thanked: 151 times
- Contact:
Re: PC98 core
Since Zet SOC itself is compatible with IBM PC, I think ao486 has higher performance. I think it's better to use ao486 than to port Zet to MiSTer.
I only use the core part of Zet (i8086).
I only use the core part of Zet (i8086).
- tontonkaloun
- Top Contributor
- Posts: 361
- Joined: Sun May 24, 2020 7:38 pm
- Has thanked: 161 times
- Been thanked: 53 times
Re: PC98 core
Hellopuu wrote: ↑Thu Jan 07, 2021 1:40 am The PC-98 core port to MiSTer has been completed and is being uploaded.
There are some strange parts and functions that are not supported (pallet, HDD, etc.).
http://fpga8801.seesaa.net/archives/20210107-1.html
Thank You so much Mister Puu
I tried quickly this morning.
I created a boot.rom file but the core does'nt start and the MiSTer is unresponsive.
Re: PC98 core
I have tried the core and only got a beautiful black screen. The MiSTer hangs up and a total reset must be done. I don't know if it's a problem with the ROM or if the core itself has a fault.
No OSD present and can't do anything else. Does the video work over HDMI or VGA?, I am not very clear about it, because the MiSTer hangs, maybe it could be a problem when synthesizing.
No OSD present and can't do anything else. Does the video work over HDMI or VGA?, I am not very clear about it, because the MiSTer hangs, maybe it could be a problem when synthesizing.
Re: PC98 core
I have resynthesized the core and we are the same. No success and too many warnings. It still does not work and the MiSTer hangs completely.
It seems to be a problem with clocks and their allocations/associations.
It seems to be a problem with clocks and their allocations/associations.
Re: PC98 core
Ok, I am resynthesizing and I have realized that you have to choose the Zet98MiSTer project.
In a while when I finish synthesizing I will tell you if it is specifically this. I was generating a release-Zet98MiSTer.rbf when it is the Zet98MiSTer.rbf to generate.
Edit:
Unfortunately I have obtained the same result, the behavior is the same. It does not work.
In a while when I finish synthesizing I will tell you if it is specifically this. I was generating a release-Zet98MiSTer.rbf when it is the Zet98MiSTer.rbf to generate.
Edit:
Unfortunately I have obtained the same result, the behavior is the same. It does not work.
-
- Core Developer
- Posts: 113
- Joined: Mon May 25, 2020 9:20 am
- Location: Japan
- Has thanked: 2 times
- Been thanked: 151 times
- Contact:
Re: PC98 core
I put the compiled .rbf in output_files / and updated it to the archived one, so please check there.
- tontonkaloun
- Top Contributor
- Posts: 361
- Joined: Sun May 24, 2020 7:38 pm
- Has thanked: 161 times
- Been thanked: 53 times
- tontonkaloun
- Top Contributor
- Posts: 361
- Joined: Sun May 24, 2020 7:38 pm
- Has thanked: 161 times
- Been thanked: 53 times
Re: PC98 core
It's good, the output folder is there now.
I will test.
I will test.
- Attachments
-
- IMG_2759.JPG (2.55 MiB) Viewed 51029 times
- tontonkaloun
- Top Contributor
- Posts: 361
- Joined: Sun May 24, 2020 7:38 pm
- Has thanked: 161 times
- Been thanked: 53 times
-
- Top Contributor
- Posts: 468
- Joined: Sun May 24, 2020 7:17 pm
- Has thanked: 35 times
- Been thanked: 99 times
- tontonkaloun
- Top Contributor
- Posts: 361
- Joined: Sun May 24, 2020 7:38 pm
- Has thanked: 161 times
- Been thanked: 53 times
-
- Top Contributor
- Posts: 468
- Joined: Sun May 24, 2020 7:17 pm
- Has thanked: 35 times
- Been thanked: 99 times
Re: PC98 core
Same for me. Exactly the same. But it doesn't start/work.tontonkaloun wrote: ↑Thu Jan 07, 2021 2:44 pm It's good, the output folder is there now.
I will test.
- pgimeno
- Top Contributor
- Posts: 710
- Joined: Thu Jun 11, 2020 9:44 am
- Has thanked: 277 times
- Been thanked: 226 times
Re: PC98 core
If you don't have Quartus, you can use this to extract qar files: https://github.com/makigumo/unqar/blob/master/unqar.py (you need Python).
Converters I've written: Floppy DIM/FDI/FDD/HDM to D88, D88 to XDF, Tape SVI 318/328 CAS to WAV
-
- Core Developer
- Posts: 113
- Joined: Mon May 25, 2020 9:20 am
- Location: Japan
- Has thanked: 2 times
- Been thanked: 151 times
- Contact:
Re: PC98 core
Is the menu displayed when you press F12?
If the menu is displayed, the core itself should be running.
Since Zet is equivalent to 8086 / V30 / 80186, the BIOS of the model at that time is required. As for the era, if it is not the BIOS of the era of PC-9801VM and PC-98DO, the instructions related to protected mode are used in the BIOS and it will not start.
If the menu is displayed, the core itself should be running.
Since Zet is equivalent to 8086 / V30 / 80186, the BIOS of the model at that time is required. As for the era, if it is not the BIOS of the era of PC-9801VM and PC-98DO, the instructions related to protected mode are used in the BIOS and it will not start.
- Alkadian
- Top Contributor
- Posts: 728
- Joined: Thu May 28, 2020 9:55 am
- Has thanked: 294 times
- Been thanked: 119 times
Re: PC98 core
Hi guys,ron wrote: ↑Thu Jan 07, 2021 5:02 pmSame for me. Exactly the same. But it doesn't start/work.tontonkaloun wrote: ↑Thu Jan 07, 2021 2:44 pm It's good, the output folder is there now.
I will test.
Same for me. No video at all at the screen.
- Alkadian
- Top Contributor
- Posts: 728
- Joined: Thu May 28, 2020 9:55 am
- Has thanked: 294 times
- Been thanked: 119 times
Re: PC98 core
Hi puu,puu wrote: ↑Thu Jan 07, 2021 11:03 pm Is the menu displayed when you press F12?
If the menu is displayed, the core itself should be running.
Since Zet is equivalent to 8086 / V30 / 80186, the BIOS of the model at that time is required. As for the era, if it is not the BIOS of the era of PC-9801VM and PC-98DO, the instructions related to protected mode are used in the BIOS and it will not start.
Thanks for the new release.
No the menu is not displayed when I press F12. I can only see a sort of faint purple box in the center of the screen, which I believe it is where the menu is supposed to show up.
- Alkadian
- Top Contributor
- Posts: 728
- Joined: Thu May 28, 2020 9:55 am
- Has thanked: 294 times
- Been thanked: 119 times
Re: PC98 core
Thanks for sharing this python script, it worked like a charm and I have managed to extract the .rbf from within the folder!pgimeno wrote: ↑Thu Jan 07, 2021 6:58 pm If you don't have Quartus, you can use this to extract qar files: https://github.com/makigumo/unqar/blob/master/unqar.py (you need Python).
-
- Core Developer
- Posts: 113
- Joined: Mon May 25, 2020 9:20 am
- Location: Japan
- Has thanked: 2 times
- Been thanked: 151 times
- Contact:
Re: PC98 core
At present, is there a mistake in the detection of disk insertion? It takes a very long time to start ROM-BASIC when the FD is not inserted.
If you load a D88 image such as MS-DOS or Disk BASIC and reset it, it will start up in about the same time as usual.
If you are using the BIOS of a model that makes a startup sound at startup, you will also hear a startup sound from HDMI.
Around 20:00(JST) yesterday, the .qar file was updated without renaming it. The .rbf file was not included before the update. The only change is the addition of the .rbf file.
If you load a D88 image such as MS-DOS or Disk BASIC and reset it, it will start up in about the same time as usual.
If you are using the BIOS of a model that makes a startup sound at startup, you will also hear a startup sound from HDMI.
Around 20:00(JST) yesterday, the .qar file was updated without renaming it. The .rbf file was not included before the update. The only change is the addition of the .rbf file.