Page 2 of 6

Re: PC88 Core

Posted: Mon Jun 01, 2020 1:31 pm
by tontonkaloun
I had looked to delete the beginning or the end, but since it was not 0 ...
So the begining of the file is not useful?

Re: PC88 Core

Posted: Mon Jun 01, 2020 1:55 pm
by tontonkaloun
KnC wrote: Mon Jun 01, 2020 12:10 pm
tontonkaloun wrote: Mon Jun 01, 2020 11:29 am the file "font.rom" that i have, don't drop me at the correct offset address for the next file. Where to find the right one?

I'm too far: 19800 instead of 19000
take the last 4kb from the font.bin and use that as cfont.bin

offset 0800 to the end
I had looked to delete the beginning or the end, but since it was not 0 ...
So the begining of the file is not useful?

Re: PC88 Core

Posted: Mon Jun 01, 2020 2:22 pm
by KnC
i used the info from puu here
puu wrote: Mon May 25, 2020 9:53 am Due to copyright issues, some files may not be included in the archive.
I'm sorry that the attached document is written in Japanese. (Because I can understand only C, VHDL and Japanese)
Probably the missing one is the font file.
Save the 8x16 dot font file as Font/fonth.hex.
Since there is an 8x16dot part in FONT ROM(0x0800-0x17ff), I think that you should extract that part with a binary editor and save it as .hex.
which is just cutting off the first 2kb if you do it that way

Re: PC88 Core

Posted: Mon Jun 01, 2020 2:35 pm
by tontonkaloun
I had read the readme file but too quickly
Thank you

Re: PC88 Core

Posted: Wed Jun 03, 2020 7:51 pm
by yubm12
Hello All - I'm new here, and to the MiSTer in general. I got mine a couple of weeks ago and have been really digging it. Can someone help me out with this core? I can't find the readme/any documentation on how to set it up. Would love to try out Super Mario Bros Special, but I'm at a loss of what to do. Any help would be greatly appreciated.

Re: PC88 Core

Posted: Wed Jun 03, 2020 9:12 pm
by tontonkaloun
yubm12 wrote: Wed Jun 03, 2020 7:51 pm Hello All - I'm new here, and to the MiSTer in general. I got mine a couple of weeks ago and have been really digging it. Can someone help me out with this core? I can't find the readme/any documentation on how to set it up. Would love to try out Super Mario Bros Special, but I'm at a loss of what to do. Any help would be greatly appreciated.
Hello,

You need the core (.rbf file) in the _Computer folder
In the bootom directory you put the boot rom pc8801mk2sr.rom


Then you need a second SD card formatted in exfat for example on which you put your files * .d88

Re: PC88 Core

Posted: Wed Jun 03, 2020 11:18 pm
by yubm12
Sorry - what is the bootom folder and do i rename the bios boot.rom or do i need to name it pc8801mk2sr.rom

also - is there a way to check i have a correct/proper BIOS? mine was named n88.rom and i can't find one with the pc8801mk2sr name.

I've tried to run it with what I have and I just get a black screen. I can pull up the OSD, but there's no place to tell it to load a disk like in other computers on MiSTer. Just wondering if I'm heading in the right direction.
tontonkaloun wrote: Wed Jun 03, 2020 9:12 pm
yubm12 wrote: Wed Jun 03, 2020 7:51 pm Hello All - I'm new here, and to the MiSTer in general. I got mine a couple of weeks ago and have been really digging it. Can someone help me out with this core? I can't find the readme/any documentation on how to set it up. Would love to try out Super Mario Bros Special, but I'm at a loss of what to do. Any help would be greatly appreciated.
Hello,

You need the core (.rbf file) in the _Computer folder
In the bootom directory you put the boot rom pc8801mk2sr.rom


Then you need a second SD card formatted in exfat for example on which you put your files * .d88

Re: PC88 Core

Posted: Thu Jun 04, 2020 1:32 am
by AmigoMexicano
tontonkaloun wrote: Wed Jun 03, 2020 9:12 pm
yubm12 wrote: Wed Jun 03, 2020 7:51 pm Hello All - I'm new here, and to the MiSTer in general. I got mine a couple of weeks ago and have been really digging it. Can someone help me out with this core? I can't find the readme/any documentation on how to set it up. Would love to try out Super Mario Bros Special, but I'm at a loss of what to do. Any help would be greatly appreciated.
Hello,

You need the core (.rbf file) in the _Computer folder
In the bootom directory you put the boot rom pc8801mk2sr.rom


Then you need a second SD card formatted in exfat for example on which you put your files * .d88
I've been told that the boot.rom file goes inside: /media/fat/PC8801mk2SR

I still can't use this core, until my SDRAM board arrives, so I can't check this for sure.

So, where does it go?

Re: PC88 Core

Posted: Thu Jun 04, 2020 7:22 am
by zomgugoff
AmigoMexicano wrote: Thu Jun 04, 2020 1:32 am I've been told that the boot.rom file goes inside: /media/fat/PC8801mk2SR

I still can't use this core, until my SDRAM board arrives, so I can't check this for sure.

So, where does it go?
That is the correct location

Re: PC88 Core

Posted: Fri Jun 05, 2020 9:26 pm
by Artemio
Sorgelig wrote: Mon May 25, 2020 9:58 pm @puu,
do PC88 and X68000 use NEC uPD765 as a floppy controller?
I'm mostly certain you know about this, but it is worth sharing anyway:
NEC uPD765 Floppy Disk Controller: Internally this is a microcoded part with a primative controller of NEC’s own design. Testing microcode embedded in a part can be troublesome. The uPD765 had a few extra gates associated with the DMA Request and DMA Ack pins. Presenting a certain illegal combination here places the part into a “test” mode and allows the sequencer microcode to be output on the normal Data pins. The sequencer microcode is responsible for high level commands such as Read Track, Recalibrate, Format Track, or Write Data. There is a similar test mode for the nano-code array which serializes data at the floppy disk head.
Source: https://hackaday.com/2012/08/13/taking- ... ent-734991

Re: PC88 Core

Posted: Fri Jun 05, 2020 10:47 pm
by AmigoMexicano
zomgugoff wrote: Thu Jun 04, 2020 7:22 am
AmigoMexicano wrote: Thu Jun 04, 2020 1:32 am I've been told that the boot.rom file goes inside: /media/fat/PC8801mk2SR

I still can't use this core, until my SDRAM board arrives, so I can't check this for sure.

So, where does it go?
That is the correct location
OK, my SDRAM board finally arrived, and I can confirm, that is the correct location, everything works like a charm!

Re: PC88 Core

Posted: Fri Jun 05, 2020 10:52 pm
by puu
@Artemio
I didn't know this.
The circuit equivalent to my uPD765 is made by hard wired so that the same operation is performed based on the specifications, and Micro code is not used.

Re: PC88 Core

Posted: Sat Jun 06, 2020 6:59 am
by tontonkaloun
AmigoMexicano wrote: Fri Jun 05, 2020 10:47 pm
zomgugoff wrote: Thu Jun 04, 2020 7:22 am
AmigoMexicano wrote: Thu Jun 04, 2020 1:32 am I've been told that the boot.rom file goes inside: /media/fat/PC8801mk2SR

I still can't use this core, until my SDRAM board arrives, so I can't check this for sure.

So, where does it go?
That is the correct location
OK, my SDRAM board finally arrived, and I can confirm, that is the correct location, everything works like a charm!
The correct location is also '/media/fat/bootrom/PC8801mk2SR.rom' (just rename 'boot.rom')

Re: PC88 Core

Posted: Sat Jun 06, 2020 7:23 am
by breiztiger
hi

perhaps can you take an eye on amstrad cpc 765 component to merge to a good 765 one ;-)

Re: PC88 Core

Posted: Sun Jun 07, 2020 11:10 am
by puu
I don't know the architecture of amstrad cpc. Is the uPD765 core of amstrad cpc free to use various sector sizes? The PC-88 uses the maximum disk capacity, or for reasons such as preventing illegal copying and other reasons, the sector size changes from track to track, the number of sectors changes, and the single density/double density changes. The D88 format is a flexible format that can support this, and my core Disk emulator also supports it.

Re: PC88 Core

Posted: Sun Jun 07, 2020 5:36 pm
by breiztiger
@puu

yes amstrad can use sector size 0 to 6 (128 to 8192 bytes) with only 6304 max used per track

generaly it's 9 sectors x 512 bytes (size 2) = 4.5 KB per track x 40 tracks = 180 KB (178 KB free with 2 KB reserved for FAT)

Re: PC88 Core

Posted: Mon Jun 08, 2020 3:25 pm
by zomgugoff
Are all disk write operations delayed? I tried to create a user disk for Zeliard, but it kept failing part way through. I checked the disk emu screen (F11) and saw the red progress bar start shortly after that.

Re: PC88 Core

Posted: Tue Jun 09, 2020 3:38 pm
by puu
All FDDs are written to SDRAM once and then delayed back to the image. If the red progress bar goes to the far right, the write back is complete, but if there is another write during the write back, the write back should be repeated again.
From the FDC's point of view, writing to SDRAM is always performed normally whether it is writing back or not.
If you are worried, select EJECT to write back again.

Re: PC88 Core

Posted: Tue Jun 09, 2020 5:38 pm
by zomgugoff
puu wrote: Tue Jun 09, 2020 3:38 pm All FDDs are written to SDRAM once and then delayed back to the image. If the red progress bar goes to the far right, the write back is complete, but if there is another write during the write back, the write back should be repeated again.
From the FDC's point of view, writing to SDRAM is always performed normally whether it is writing back or not.
If you are worried, select EJECT to write back again.
I wonder why the write operation is failing... Can anyone list other games that have user disk creation?

Re: PC88 Core

Posted: Wed Jun 10, 2020 3:57 am
by puu
Did you use an existing image for the user disk? Did you create a new one?
What kind of media type (2D/2DD/2HD) did you choose when newly created? In the era of PC-88, the mainstream is 2D, so I think there is no problem if you choose 2D unless otherwise specified. FDC is doing PIO transfer with sub CPU, but I think that it may not work because Z80 is so hard for 2HD 's 500kbps transmit speed.

Re: PC88 Core

Posted: Thu Jun 11, 2020 10:46 am
by zomgugoff
puu wrote: Wed Jun 10, 2020 3:57 am Did you use an existing image for the user disk? Did you create a new one?
What kind of media type (2D/2DD/2HD) did you choose when newly created? In the era of PC-88, the mainstream is 2D, so I think there is no problem if you choose 2D unless otherwise specified. FDC is doing PIO transfer with sub CPU, but I think that it may not work because Z80 is so hard for 2HD 's 500kbps transmit speed.
I tried new images of each type. They all failed.
0611200340_HDR.jpg
0611200340_HDR.jpg (1.62 MiB) Viewed 45032 times

Re: PC88 Core

Posted: Sun Jun 21, 2020 11:08 am
by tontonkaloun
@Puu

hello

I saw on your site that there was a new version of the core, but the download link is not functional

Re: PC88 Core

Posted: Sun Jun 21, 2020 12:40 pm
by wark91
The link is working now.
Thank you Puu for this new release of PC88 without the need of the 2nd SD Card!

Re: PC88 Core

Posted: Sun Jun 21, 2020 1:09 pm
by puu
Sorry, since the size of the uploaded file was unusually large, I confirmed that a huge .stp file for debugging was attached, so I deleted it and re-uploaded it.

Re: PC88 Core

Posted: Sun Jun 21, 2020 2:30 pm
by tontonkaloun
thank you Puu !!!

Re: PC88 Core

Posted: Sat Jun 27, 2020 9:36 am
by tontonkaloun
Hello Mr. Puu,
I saw the new version of the core pc8801 on your site. It is impossible to compile it

Re: PC88 Core

Posted: Sat Jun 27, 2020 9:39 am
by tontonkaloun
hello

Re: PC88 Core

Posted: Sat Jun 27, 2020 9:44 am
by tontonkaloun
I will use the missing file from the previous version! It will be good ?

Re: PC88 Core

Posted: Sat Jun 27, 2020 9:56 am
by tontonkaloun
it seems to be good !!!

Re: PC88 Core

Posted: Mon Jun 29, 2020 3:35 pm
by puu
Sorry I forget. Re-uploded in my blog.