Problem with MKROMDSK

By MicroTech

Champion (386)

Аватар пользователя MicroTech

13-04-2017, 17:05

I'm trying to use Nestor's utility to create a romdisk (with an embedded MSXDOS2.20 kernel) to get a standalone version of Tetris 2 Special Edition (T2SE for short).
I use MKROMDSK v1.2 with supplied MKROMDSK.DAT.
My configuration is BlueMSX emulating TurboR with IDE (with harddisk image) and a 4MB mapper.
These are the steps I follow:
1) boot TurboR
2) create a 3072 KB ramdisk
3) copy all T2SE files to ramdisk (they take approx 1,4MB on disk)
4) use command: MKROMDSK G T2.ROM /8
then I extract T2.ROM from harddisk image and give it a try with BlueMSX itself but I never get a fully running version.
Passing through many different tries, I supposed there could be a limit on the size of ramdisk, or on the total size of files on ramdisk, or on the mapper type I choose when creating the romdisk... I did many different combinations but I'm not able to get an "always running fine" version.

Actually I got a working version on TurboR but the same rom produces an "illegal function call" when in basic a simple color=restore is executed... which makes me think I did some mistake somewhere but I don't get where.
Has somebody any experience with MKROMDSK tool?
Any hints?
Thanks

Для того, чтобы оставить комментарий, необходимо регистрация или !login

By MicroTech

Champion (386)

Аватар пользователя MicroTech

18-04-2017, 18:00

I found 2 problems:
1) an ASCII 8K mapper cannot address more than 2 MB so I reduced ramdisk size to 1800KB
2) using the default MKROMDSK.DAT (downloadable from konamiman website) to generate romdisk, EXTBIO (0xFFCA) returns incongruent values, like A = 0 (primary mapper cannot be in unexpanded slot 0) and HL points to code instead of data tables.
I tried to use another msxdos22.rom image to generate MKROMDSK.DAT but it doesn't start at all.
Please Nestor, would you be so kind to give me some support, thanks?
Marco