nowind with rom images?

Page 1/2
| 2

By matthew180

Resident (48)

matthew180's picture

31-03-2011, 03:43

I'm trying to get my nowind to work with a rom image. Does the nowind support rom images yet? The feature list indicates it does, but the docs are vague and it seems not much has happened with it in a while. Disk images are working fine, but no matter what I try, loading a rom image does nothing but drop me to BASIC.

Also, what is a "diskrom" exactly?

Thanks,
Matthew

Login or register to post comments

By cax

Prophet (3721)

cax's picture

31-03-2011, 12:11

diskrom is a rom that adds disk support to MSX, and it can serve either physical floppy disk drive or virtual / emulated one (e.g. disk image on SD card, RAM disk or, in your case, PC files shared by nowind). On your system diskrom, IMHO, is inside your Nowind cartridge.

By JohnHassink

Ambassador (5389)

JohnHassink's picture

31-03-2011, 13:18

Well, if that's your opinion, nothing to do about that. Wink

By matthew180

Resident (48)

matthew180's picture

31-03-2011, 15:46

So no direct ROM support?

Also, if a diskrom is a rom with disk support, then what is the "rom" part exactly. When you specify the diskrom option (--diskrom or -j), you still have to specify an image (-i), which I now assume becomes the disk used by the rom? Which leads back to the question above (what is the rom in this case?)

By cax

Prophet (3721)

cax's picture

31-03-2011, 18:20

Can you define what's "rom image" and "romdisk" ?
(obviously "diskrom" and "romdisk" are 2 very different words)

Is "ROM image" a .ROM file representing a game ? Or is it a disk image to be stored in a flash chip ?
Is "romdisk" a virtual disk representing the filesystem stored on a flash chip ?

By matthew180

Resident (48)

matthew180's picture

31-03-2011, 21:11

"ROM Image" - this would be a dump of the binary information from a ROM or EPROM chip that was originally in a cartridge, and saved to a file. I.e. what an emulator uses to play cartridge based games, etc.

"diskrom" and "romdisk", I have no idea, and that's what I'm trying to figure out.

I have a "ROM Image", i.e. a dump of a cartridge ROM, that I'd like to see run on my real MSX1. The file loads and works fine with RuMSX, so I know the file works as a ROM. I have the nowind device and was under the impression that it could be loaded with a "ROM Image" and function as if you had actually plugged in that original cartridge. So far I have only been able to get the nowind to support disks. When I specify the "ROM Image" file, it accepts it, but rebooting the MSX just dumps me to BASIC instead of loading the expected program.

The "romdisk" and "diskrom" terms I was using come from the nowind "usage" information, and I have no idea what they mean or actually are. I was hoping that it was just another name for what I was calling a "ROM Image", but that does not seem to be the case.

I have been unable to find any details on using the nowind other than the limited manual and the "usage" that is displayed when your run the command line util. I started reading the code-base last night in an attempt to understand a little more, but nothing as of yet.

Any clarification would be great, and a definitive answer as to whether the nowind can act as a "ROM Image" would be helpful.

Thanks,
Matthew

Usage: usbhost [-2afgijmpz] [-i image.dsk] [-f firmware.rom]
Options: --image, -i    specify disk image or partition image
         --hdimage, -m  specify harddisk image
         --physical, -y specify physical disk
         --romdisk, -j  enable romdisk
         --flash, -f    update firmware (compatible for v1 nowind interface)
         --glash, -g    update firmware (faster, but does not verify nor update romheaders!)
         --dos2, -2     boot MSXDOS 2
         --phantom, -p  create phantom drives (like NOT holding CTRL on MSX)
         --allow, -a    allow more diskroms to initialize
         --dsk2rom, -z  convert 360 kB image to romdisk.bin
         --debug, -d    enable debug loginfo from libnowind
         --write,slot,subslot,address,code.bin,r
         --read,slot,subslot,address,dest.bin,size_to_read
         --test, -t[mode]  -traw
         --test, -t[mode]  -tread
         --test, -t[mode]  -twrite (send a fixed 'HELLO MSX' infinitely to MSX)
         --test, -t[mode]  -tdev (device test, not implemented on win32)

Examples: usbhost -i image.dsk
          usbhost -2 -i image.dsk
          usbhost --flash nowind.rom          usbhost -m hdimage.dsk inserts the first partition
          usbhost -m hdimage.dsk:0 inserts the first partition
          usbhost -m hdimage.dsk:1-3 inserts the second, third and forth

By Manuel

Ascended (15551)

Manuel's picture

31-03-2011, 22:59

That usbhost help text doesn't say you can use it to run a ROM image at all, does it?

By matthew180

Resident (48)

matthew180's picture

31-03-2011, 23:40

No, but somewhere on the nowind.nl site I thought I read that. Or I'm confusing terms, which is completely possible.

By Huey

Prophet (2643)

Huey's picture

01-04-2011, 08:50

This is what the nowind site mentions:

Another possibility is to load .rom images into the MSX memory. Images of 16, 32 and 48kB are supported.

Perhaps you can flash your rom image sing the firmware flash command (nwhostapp -f xxxxxxxxx.rom). But I am not sure if/how to revert back to the original firmware after that.

By Manuel

Ascended (15551)

Manuel's picture

01-04-2011, 20:22

I don't think this was ever properly supported. (Maybe in the first host app versions...) At least it doesn't seem to be supported nowadays.

By cax

Prophet (3721)

cax's picture

01-04-2011, 20:42

load .rom images into the MSX memory.
I believe any tool for running ROMs in MSX RAM will do that, as long as your MSX has 64K of RAM or more.

Page 1/2
| 2