Page 1 of 6

Re: PC88 Core

Posted: Wed May 27, 2020 7:32 pm
by wark91
I finally build the correct boot.rom with helps ! Thank you for the informations.

Re: PC88 Core

Posted: Wed May 27, 2020 8:44 pm
by DanHero
can someone do a little tutorial for this core? I'm currently running out of ideas. I have the rbf file in the main sd, a boot.rom file obtained by renaming one of the many bios for the system and the .d88 disks in the secondary sd. At the moment the core automatically starts the disk manager, so I mount the disks, press f11 to close the manager, reset the core and nothing, black screen. I can't figure out what I'm doing wrong.

Re: PC88 Core

Posted: Wed May 27, 2020 11:25 pm
by puu
The hardware is highly compatible, so I think that any version of the BIOS will work, but the PC88's BIOS has many different versions. So checksum will be difficult.

Re: PC88 Core

Posted: Thu May 28, 2020 2:59 am
by suverman
Ys (Ys1,2,3) doesnt seem to want to load at the moment. Rest all seem running perfectly for me.

Re: PC88 Core

Posted: Thu May 28, 2020 3:53 am
by zomgugoff
wark91 wrote: Wed May 27, 2020 4:20 am Thank you Puu for this core and the X68000.

@Zomgugolf, I'm interested by your script. I tried yesterday to build the boot.rom but with no luck.
pc88_bios.7z
Python 3 boot.rom compiler
(856 Bytes) Downloaded 620 times
It's written for Python 3. Put all of the needed files in the same place. You'll have to edit it and change the list of variables to match your filenames. When you run it, it should output a boot.rom file. If it finds one, it will exit without doing anything.

Re: PC88 Core

Posted: Thu May 28, 2020 6:29 am
by wark91
@zomgugoff, thank you !

@Puu, yes I saw that on my side i produced a boot.rom with basic 1.0 but I saw videos with basic 2.0 so maybe a bios for each version of PC88. Do you think is-it possible to add the possibility for the core to boot with a zip file containing all the files presents on the boot.rom ?

@DanHero, yes there are different modes on PC88. The mode by default is the mode N for compatibilty to PC 8800. You have the Mode 1 required by some games and mode 2 for others. I managed to launch Jesus 1 & 2 and Snatcher but black screen on YS 1.

Re: PC88 Core

Posted: Fri May 29, 2020 7:02 am
by DanHero
thank you, I managed to run the boot file with a little help, and looks like an amazing job, the speed seems just right. I didn't manage to run Super Mario Ball and Mario Bros. Special (I'm interested in the lost Hudson/Nintendo trilogy) but I'll try some other dump.

Re: PC88 Core

Posted: Sat May 30, 2020 6:42 pm
by tontonkaloun
hard to find these roms

Re: PC88 Core

Posted: Sat May 30, 2020 9:03 pm
by tontonkaloun
it's good, i found and built my boot.rom

Re: PC88 Core

Posted: Sat May 30, 2020 10:53 pm
by tontonkaloun
Which version of quartus should I compile with?
With version 19.1 I have errors that I don't have with 17.1

Re: PC88 Core

Posted: Sun May 31, 2020 8:24 am
by wark91
The version 17.0.2 of quatrus (lite or full) is used for Mister Cores.

Re: PC88 Core

Posted: Sun May 31, 2020 11:45 am
by breiztiger
hi
can someone tell md5 sum for each files please ?

Re: PC88 Core

Posted: Sun May 31, 2020 12:51 pm
by LeftEmpty
There are no md5 since there are many bios dumps for many different models.

Re: PC88 Core

Posted: Sun May 31, 2020 2:29 pm
by breiztiger
mess report for pc88 mk2sr

mk2sr_n80.rom 32768 27e1857d 5b922ed9de07d2a729bdf1da7b57c50ddf08809a
kanji1.rom 131072 6178bd43 82e11a177af6a5091dd67f50a2f4bafda84d6556
disk.rom 2048 2158d307 bb7103a0818850a039c67ff666a31ce49a8d516f
n88_3.rom 8192 7713c519 efce0b51cab9f0da6cf68507757f1245a2867a72
n88_2.rom 8192 af2b6efa b7c8bcea219b77d9cc3ee0efafe343cc307425d1
n88_1.rom 8192 c0bd2aa6 8528eef7946edf6501a6ccb1f416b60c64efac7c
mk2sr_n88_0.rom 8192 710a63ec d239c26ad7ac5efac6e947b0e9549b1534aa970d
mk2sr_n88.rom 32768 a0fc0473 3b31fc68fa7f47b21c1a1cb027b86b9e87afbfff
kanji2.rom 131072 154803cc 7e6591cd465cbb35d6d3446c5a83b46d30fafe95

mk2sr_n88_0.rom doesn't seem be use
and is mk2sr_n80.rom or mk2sr_n88.rom the first basic rom ?

Re: PC88 Core

Posted: Sun May 31, 2020 5:52 pm
by LeftEmpty
n80 should be the first rom, as the N mode you can select in the core aims for compabitility with the PC-8001.
I am guessing that n88.rom is probably just the 0, 1, 2 and 3 roms concatenated.

Re: PC88 Core

Posted: Sun May 31, 2020 9:10 pm
by KnC
with the files you have on that list it would go like this but you are still missing some files

mk2sr_n88.rom
mk2sr_n80.rom
mk2sr_n88_0.rom
n88_1.rom
n88_2.rom
n88_3.rom
CFONT (not in that list)
graphfont (not in that list)
disk.rom
Blank (space needed for padding)
kanji1.rom
kanji2.rom

Re: PC88 Core

Posted: Mon Jun 01, 2020 8:46 am
by breiztiger
thanks

is that correct ?

copy / b mk2sr_n88.rom+mk2sr_n80.rom+mk2sr_n88_0.rom+n88_1.rom+n88_2.rom+n88_3.rom+font.rom+graphfont.bin+2KO_BLANK_00.ROM+mh_disk.rom+8KO_BLANK_00.ROM+8KO_BLANK_00.ROM+kanji1.rom+kanji2.rom boot.rom

@LeftEmpty mk2sr_n80.rom must be at first place as you said or at second like Knc said ?

Re: PC88 Core

Posted: Mon Jun 01, 2020 9:13 am
by tontonkaloun
Hello,
Is "blank" absolutely necessary? I did the rom without and it seems to work?
What size? 8kb?

Re: PC88 Core

Posted: Mon Jun 01, 2020 9:25 am
by KnC
this is the instructions from the read me

Loads the BIOS image from MiSTer's SD card when booting from MiSTer.
Create /PC8801mk2SR/boot.rom with the following layout and save it.

00000 ~ N88BASIC
08000- N-BASIC
10000 ~ N88 4th-0
12000 ~ N88 4th-1
14000 ~ N88 4th-2
16000 ~ N88 4th-3
18000 ~ FONT (8x16)
19000- Simple graphics font (attached Font / graphfont.bin)
1a000 ~ DISK ROM
20000 ~ KANJI1
40000 ~ KANJI2

as you can see n88 basic is first and n80 basic is second
unless puu got it wrong but built as above works fine for me

Re: PC88 Core

Posted: Mon Jun 01, 2020 9:27 am
by KnC
tontonkaloun wrote: Mon Jun 01, 2020 9:13 am Hello,
Is "blank" absolutely necessary? I did the rom without and it seems to work?
What size? 8kb?
i am not sure if not using the blank is a problem i also tried without and it seems to be ok but i did not try every mode and what it can do
but not using the blanks changes the address that are in the readme so i made it with blank to keep in line with the readme address

Re: PC88 Core

Posted: Mon Jun 01, 2020 9:53 am
by breiztiger
with MESS PC8801 roms (with blank otherise not align on adress)

00000 ~ N88BASIC (32ko) mk2sr_n88.rom A0FC0473
08000- N-BASIC (32ko) mk2sr_n80.rom 27E1857D
10000 ~ N88 4th-0 (8ko) mk2sr_n88_0.rom 710A63EC
12000 ~ N88 4th-1 (8ko) n88_1.rom C0BD2AA6
14000 ~ N88 4th-2 (8ko) n88_2.rom AF2B6EFA
16000 ~ N88 4th-3 (8ko) n88_3.rom 7713C519
18000 ~ FONT (8x16) (2ko) + (2ko blank) font.rom 56653188
19000- Simple graphics font (attached Font / graphfont.bin) (4ko) graphfont.bin CDD1BE6B
1a000 ~ DISK ROM (8ko) + (16ko blank) mh_disk.rom A222ECF0
20000 ~ KANJI1 (128ko) kanji1.rom 6178BD43
40000 ~ KANJI2 (128ko) kanji2.rom 154803CC

copy / b mk2sr_n88.rom+mk2sr_n80.rom+mk2sr_n88_0.rom+n88_1.rom+n88_2.rom+n88_3.rom+font.rom+2KO_BLANK_00.ROM+graphfont.bin+mh_disk.rom+8KO_BLANK_00.ROM+8KO_BLANK_00.ROM+kanji1.rom+kanji2.rom boot.rom

Re: PC88 Core

Posted: Mon Jun 01, 2020 11:29 am
by tontonkaloun
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

Re: PC88 Core

Posted: Mon Jun 01, 2020 12:10 pm
by KnC
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

Re: PC88 Core

Posted: Mon Jun 01, 2020 1:08 pm
by LeftEmpty
breiztiger wrote: Mon Jun 01, 2020 8:46 am
@LeftEmpty mk2sr_n80.rom must be at first place as you said or at second like Knc said ?
You better ignore stuff I say, I talk only from my memory, and my RAM is failing ;D
KnC (and the readme, duh!) is right of course. Sorry for the confusion.

Re: PC88 Core

Posted: Mon Jun 01, 2020 1:15 pm
by LeftEmpty
KnC wrote: Mon Jun 01, 2020 9:27 am i am not sure if not using the blank is a problem i also tried without and it seems to be ok but i did not try every mode and what it can do
but not using the blanks changes the address that are in the readme so i made it with blank to keep in line with the readme address
The first blank should be important in some case (if I remember *cough*, the DISC.ROM isn't necessary to basic floppy disc operations, but I don't remember the details — some stuff won't work though, probably).
The second blank is very important... if you speak Japanese. If you don't, well the wrong kanjis will be displayed I am guessing, which will make little difference for you. If you do though, the text will probably simply become unintelligible.

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.