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 »

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 32248 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.
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 »

Thank you for the reupload !
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

Hi !
Puu ! I have synthesized the last core and everything seems to work with internal SD, but the characters do not appear on the screen, just the cursor or the underlined_cursor, no chars, when in the previous version everything was seen and worked correctly.

My pc8801mk2sr.rom is 393,2 kB (393216 bytes)

What should be the correct order of the ROMs, for it to work in this new version?

Thanks a lot in advance !
LeftEmpty
Posts: 141
Joined: Sun May 24, 2020 6:47 pm
Has thanked: 2 times
Been thanked: 4 times

Re: PC88 Core

Unread post by LeftEmpty »

Starting a few versions ago, the font need to be bundled inside the rom. There was a discussion about it that you can check on page 2.
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

@LeftEmpty. I have been reading the thread patiently but finally I am not clear on the question of the font file. I have been doing tests with very discreet results.
8801bad01font.jpg
8801bad01font.jpg (156.31 KiB) Viewed 30936 times
8801bad02font.jpg
8801bad02font.jpg (10.37 KiB) Viewed 30936 times
It would be interesting to clarify as far as possible how to cook the final ROM and the font.rom issue, I still do not understand how with the previous version it worked correctly.

Anyway, Thanks very much for your help.
LeftEmpty
Posts: 141
Joined: Sun May 24, 2020 6:47 pm
Has thanked: 2 times
Been thanked: 4 times

Re: PC88 Core

Unread post by LeftEmpty »

The font.rom found around is 6KB and is, I suspect, a stack of the two files Puu uses for his rom file.
Splitting the file manually (using an hex editor for instance, at address #0800) should do the trick. To be sure, once you're done with your electronic butchery, you can check whether the font.rom is 2048 bytes long and the graphfont.bin is 4096 bytes long.
I haven't built my own new pc88.rom to test yet, so this is just theory!
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

Hi ! there's no way.
It does not matter what you do, the result is the same as I put in the images of the post above.

Does anyone work the new version correctly?
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

The .d88 floppies works fine from internal SD, and graphics demos are working fine, video and audio OK. But no chars at the system prompts.
demo01.png
demo01.png (282.56 KiB) Viewed 30920 times
nochars.png
nochars.png (189.13 KiB) Viewed 30920 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: PC88 Core

Unread post by puu »

6kB font.rom contains 2kB 8x8dot font and 4kB 8x16dot font in this order.
Therefore, it is necessary to remove the first 2kB.
The quickest way is to delete addresses 0 to 7ff with a binary editor, but if linux can be used
split -b 2048 font.rom
Since it is divided into xaa, xab, xac every 2kB,
cat xab xac >font.bin
I think you can do it by connecting the two back with.
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

Hi puu
You are very kind responding. I have not been able to find the famous 6KB font.rom and therefore I am still where I was. I give up.

In the end no one has answered my questions and if someone have the rom currently working. It was hard for me to find and put together the ROM for the previous version of the core, but if it is going to be so difficult I will leave the core for a while until the evil ROM appears.
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

Let's take a look. This is my last attempt.
-It is a real shame that such a small file ruins the entire core experience.If it cannot be used it is as if it does not exist, this core serves as a nice paperweight since nothing can be done., I just wanted to continue testing the core, as I say, it's a pity.

These are my files:

Code: Select all

 8192       n88_3.rom
 8192       n88_2.rom
 8192       n88_1.rom
 8192       n88_0.rom
 32768      mk2sr_n88.rom
 8192       mk2sr_n88_0.rom
 32768      mk2sr_n80.rom
131072      kanji2.rom
131072      kanji1.rom
 2048       font.rom
 8192       disk.rom
4096        graphfont.bin
Any help with this problem was greatly appreciated
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

nec01.png
nec01.png (369.51 KiB) Viewed 27742 times
After several tries and trial and error I have finally shown the characters in Basic.
The point is that my rom only works with N mode.- Nor N88V1L, N88V1H and neither N88V2
LeftEmpty
Posts: 141
Joined: Sun May 24, 2020 6:47 pm
Has thanked: 2 times
Been thanked: 4 times

Re: PC88 Core

Unread post by LeftEmpty »

I have tried building mine and have the exact same issue. (garbled screens and all)
I wonder if the graphfont.bin included in the core's .qar might not be different from the one we can extract from font.roms.
I can't test it though, since I'm not running Windows and unable to use quartus in any way.
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

i create my boot.rom with

copy / b n88.rom+n80.rom+n88_0.rom+n88_1.rom+n88_2.rom+n88_3.rom+font_8X16.rom+graphfont.bin+mh_disk.rom+8KO_BLANK_FF.ROM+8KO_BLANK_FF.ROM+kanji1.rom+kanji2.rom boot.rom

n88.rom 32768 a0fc0473 3b31fc68fa7f47b21c1a1cb027b86b9e87afbfff
n80.rom 32768 27e1857d 5b922ed9de07d2a729bdf1da7b57c50ddf08809a
n88_0.rom 8192 710a63ec d239c26ad7ac5efac6e947b0e9549b1534aa970d
n88_1.rom 8192 c0bd2aa6 8528eef7946edf6501a6ccb1f416b60c64efac7c
n88_2.rom 8192 af2b6efa b7c8bcea219b77d9cc3ee0efafe343cc307425d1
n88_3.rom 8192 7713c519 efce0b51cab9f0da6cf68507757f1245a2867a72
font_8X16.rom 4096 b5a15b5c e5f071edb72a5e9a8b8b1c23cf94a74d24cb648e
graphfont.bin 4096 cdd1be6b c013d22c22aebbbea0474d418397fe70ac66fe02
mh_disk.rom 8192 a222ecf0 79e9c0786a14142f7a83690bf41fb4f60c5c1004
kanji1.rom 131072 6178bd43 82e11a177af6a5091dd67f50a2f4bafda84d6556
kanji2.rom 131072 154803cc 7e6591cd465cbb35d6d3446c5a83b46d30fafe95

i think caracteres are good but i can have ok for basic commandline like on your screenshot ?!?
CPC-Power Staff
LeftEmpty
Posts: 141
Joined: Sun May 24, 2020 6:47 pm
Has thanked: 2 times
Been thanked: 4 times

Re: PC88 Core

Unread post by LeftEmpty »

Ah I think I got it.
But since we don't have the graphfont.bin, we can't build it. Oh well.
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

This was my way:
cat N88.ROM N80.ROM N88_0.ROM N88_1.ROM N88_2.ROM N88_3.ROM FONT.BIN GRAPH.BIN DISK.ROM BLANK16K.ROM N88KNJ1.ROM N88KNJ2.ROM > pc8801mk2sr.rom
demobad.png
demobad.png (402.66 KiB) Viewed 27734 times
Won't it be a core problem?
LeftEmpty
Posts: 141
Joined: Sun May 24, 2020 6:47 pm
Has thanked: 2 times
Been thanked: 4 times

Re: PC88 Core

Unread post by LeftEmpty »

I don't think so, but unless the graphfont.bin file is taken out of its qar prison, I can't comment on it.
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

LeftEmpty wrote: Wed Jul 01, 2020 5:35 pm I don't think so, but unless the graphfont.bin file is taken out of its qar prison, I can't comment on it.
I did, but this is like a scary story, every time i make a new rom the behaviour is totally different
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

OK, I DID IT !
cat N88.ROM N80.ROM N88_0.ROM N88_1.ROM N88_2.ROM N88_3.ROM FONT.BIN GRAPH.BIN DISK.ROM N88KNJ1.ROM N88KNJ2.ROM > pc8801mk2sr.rom
Works FIne !
cpmpc8801new.jpg
cpmpc8801new.jpg (57.27 KiB) Viewed 27732 times
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

OK, this seems to work fine. Was a nightmare.
Disk paddings are not necessary.
ok40colbasic.png
ok40colbasic.png (399.16 KiB) Viewed 27732 times
okbasicmode80col.png
okbasicmode80col.png (379.65 KiB) Viewed 27732 times
workingok.png
workingok.png (480.92 KiB) Viewed 27731 times
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

HI ! after a light testing, now works like a charm. Even better than before.
Internal SD works fine, .D88 loads ok. Disk Basic, Demos, Games, 40 and 80 columns, CP/M and IDOS.

So, Puu this was a great improvement. Congratulations. Was a bit difficult to solve the rom issue but the core works very well. Thank You

Sorry for the pics. :mrgreen: very poor quality
diskbasic.jpg
diskbasic.jpg (66.56 KiB) Viewed 27740 times
mkiidemo.jpg
mkiidemo.jpg (69.26 KiB) Viewed 27740 times
openbruce.jpg
openbruce.jpg (38.53 KiB) Viewed 27740 times
playbruce.jpg
playbruce.jpg (59.33 KiB) Viewed 27740 times
User avatar
lomdar67
Posts: 182
Joined: Sun May 24, 2020 8:27 pm
Has thanked: 12 times
Been thanked: 8 times

Re: PC88 Core

Unread post by lomdar67 »

ron wrote: Wed Jul 01, 2020 6:03 pm OK, this seems to work fine. Was a nightmare.
Any chance you can somehow share this rom?
We raise hopes here...until they're old enough to fend for themselves.
--Mike Callahan
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 »

@ron, can you compare your rom sha with mine please ?
CPC-Power Staff
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

@LeftEmpty & @lomdar67 & @breiztiger , PM. Good Luck
User avatar
ron
Posts: 159
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 67 times
Been thanked: 58 times

Re: PC88 Core

Unread post by ron »

OK, just in order to help:

cat N88.ROM N80.ROM N88_0.ROM N88_1.ROM N88_2.ROM N88_3.ROM FONT.BIN GRAPH.BIN DISK.ROM N88KNJ1.ROM N88KNJ2.ROM > pc8801mk2sr.rom

4f984e04a99d56c4cfe36115415d6eb8 N88.ROM 32768
2ff07b8769367321128e03924af668a0 N80.ROM 32768
d675a2ca186c6efcd6277b835de4c7e5 N88_0.ROM 8192
e844534dfe5744b381444dbe61ef1b66 N88_1.ROM 8192
6548fa45061274dee1ea8ae1e9e93910 N88_2.ROM 8192
fc4b76a402ba501e6ba6de4b3e8b4273 N88_3.ROM 8192
56262bd422155391e995e2116f72b583 FONT.BIN 4096
83b2d2e6f050cf869efad605c2170632 GRAPH.BIN 4096
f553ae258c4a93de4e64dc35830d9737 DISK.ROM 8192
d81c6d5d7ad1a4bbbd6ae22a01257603 N88KNJ1.ROM 131072
41d2e2c0c0edfccf76fa1c3e38bc1cf2 N88KNJ2.ROM 131072

Disk paddings are not necessary.

pc8801mk2sr.rom filesize is : 376832
LeftEmpty
Posts: 141
Joined: Sun May 24, 2020 6:47 pm
Has thanked: 2 times
Been thanked: 4 times

Re: PC88 Core

Unread post by LeftEmpty »

Thank you very much for the explanation. Can't tell you how relieved that makes me feel!
Post Reply