Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions to generate boot.rom #3

Open
tjanas opened this issue May 1, 2023 · 1 comment
Open

Instructions to generate boot.rom #3

tjanas opened this issue May 1, 2023 · 1 comment

Comments

@tjanas
Copy link

tjanas commented May 1, 2023

From readme.md:

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

image

I have all the component files that match the checksums described, with 2KO_BLANK_00.ROM being a 2048-byte file only containing null bytes, and 8KO_BLANK_00.ROM being a 8096-byte file only containing null bytes. Generating boot.rom from appending the above components results in the following file:

Name: boot.rom
Size: 393216 bytes
CRC32: 7E4F92C3
SHA1: 6CC312DBFD1F7BABE3CF6B4DB24F1EF192646400
MD5: 9F3EC09D19A0768F01FDBF2826ED3253

The boot.rom that is downloaded from the Bios DB via @theypsilon's update_all script has a different checksum:

Name: PC8801 MKII SR BIOS.rom
Size: 393216 bytes
CRC32: 6337409F
SHA1: 7A6676E352C8D0EAF16E5863C1C98AC65D6F8686
MD5: F1CE4D5F83717093982E5F75516B8F3C

Which is the correct file to use?
Are the checksums and instructions provided in readme.md correct?

@wwark
Copy link
Collaborator

wwark commented May 2, 2023

There is few versions of the bioses for PC88 (differents revisions).
I couldn't say which one is the better to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants