PC88 Core

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

Re: PC88 Core

Unread post 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?
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC88 Core

Unread post 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?
KnC
Posts: 107
Joined: Sun May 24, 2020 6:47 pm
Been thanked: 15 times

Re: PC88 Core

Unread post 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
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC88 Core

Unread post by tontonkaloun »

I had read the readme file but too quickly
Thank you
yubm12
Posts: 2
Joined: Wed Jun 03, 2020 4:04 pm

Re: PC88 Core

Unread post 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.
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC88 Core

Unread post 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
yubm12
Posts: 2
Joined: Wed Jun 03, 2020 4:04 pm

Re: PC88 Core

Unread post 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
User avatar
AmigoMexicano
Posts: 14
Joined: Mon May 25, 2020 3:06 am

Re: PC88 Core

Unread post 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?
--
From Mexico City... AmigoMexicano!
(Yes, the same from all other retro forums)
*MiSTer FPGA Owner since April 2020*
User avatar
zomgugoff
Posts: 33
Joined: Sun May 24, 2020 8:54 pm

Re: PC88 Core

Unread post 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
User avatar
Artemio
Posts: 2
Joined: Mon May 25, 2020 4:27 am

Re: PC88 Core

Unread post 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
User avatar
AmigoMexicano
Posts: 14
Joined: Mon May 25, 2020 3:06 am

Re: PC88 Core

Unread post 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!
--
From Mexico City... AmigoMexicano!
(Yes, the same from all other retro forums)
*MiSTer FPGA Owner since April 2020*
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: PC88 Core

Unread post 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.
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC88 Core

Unread post 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')
breiztiger
Top Contributor
Posts: 427
Joined: Sun May 24, 2020 7:17 pm
Has thanked: 23 times
Been thanked: 93 times

Re: PC88 Core

Unread post by breiztiger »

hi

perhaps can you take an eye on amstrad cpc 765 component to merge to a good 765 one ;-)
CPC-Power Staff
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: PC88 Core

Unread post 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.
breiztiger
Top Contributor
Posts: 427
Joined: Sun May 24, 2020 7:17 pm
Has thanked: 23 times
Been thanked: 93 times

Re: PC88 Core

Unread post 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)
CPC-Power Staff
User avatar
zomgugoff
Posts: 33
Joined: Sun May 24, 2020 8:54 pm

Re: PC88 Core

Unread post 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.
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: PC88 Core

Unread post 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.
User avatar
zomgugoff
Posts: 33
Joined: Sun May 24, 2020 8:54 pm

Re: PC88 Core

Unread post 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?
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: PC88 Core

Unread post 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.
User avatar
zomgugoff
Posts: 33
Joined: Sun May 24, 2020 8:54 pm

Re: PC88 Core

Unread post 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 31097 times
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC88 Core

Unread post 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
User avatar
wark91
Core Developer
Posts: 334
Joined: Sun May 24, 2020 8:34 pm
Has thanked: 447 times
Been thanked: 94 times

Re: PC88 Core

Unread post by wark91 »

The link is working now.
Thank you Puu for this new release of PC88 without the need of the 2nd SD Card!
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: PC88 Core

Unread post 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.
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC88 Core

Unread post by tontonkaloun »

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

Re: PC88 Core

Unread post by tontonkaloun »

Hello Mr. Puu,
I saw the new version of the core pc8801 on your site. It is impossible to compile it
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC88 Core

Unread post by tontonkaloun »

hello
Attachments
pc88.JPG
pc88.JPG (81.7 KiB) Viewed 32261 times
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC88 Core

Unread post by tontonkaloun »

I will use the missing file from the previous version! It will be good ?
User avatar
tontonkaloun
Posts: 354
Joined: Sun May 24, 2020 7:38 pm
Has thanked: 152 times
Been thanked: 51 times

Re: PC88 Core

Unread post by tontonkaloun »

it seems to be good !!!
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: PC88 Core

Unread post by puu »

Sorry I forget. Re-uploded in my blog.
Post Reply