How to get Sunrise IDE working in openMSX
SOme additions:
If you chose to use FAT12 partitions, you'll be presented with the simple version of the FDISK tool. Just Press A when at the main menu to have it generate partitions automagically, then W to write the partitions to the virtual harddrive. Last press I to initialize (logical format) these partitions. You cannot specify the size or location of the harddisk by the way, it will always be 100MB, unless you edit the openMSX configuration files.
YOu could replace this by:
diskmanipulator create myhd.dsk 30M 30M 30M
for example, to create a formatted IDE disk image with 3 30MB partitions. You would have to copy it over the existing hd.dsk of course, which is e.g. in C:\Program Files\openMSX\persistent\ide\untitled1\hd.dsk.
The openMSX console is basically a TCL shell. So, you have to use TCL rules. From using-diskmanipulator.txt:
If you want to use wild-cards when importing files, you will have to use
the TCL glob-command. This command will perform the wild-card expansion
and return a TCL list. Enclose the glob command in between '[' and ']':
diskmanipulator import hda1 [glob *.txt] [glob *.asc]
This command will copy all files matching *.txt and *.asc in the current
directory on the host OS to the first partition of the master IDE drive
on the emulated MSX.
The glob-command can also take extra options. For instance, if you only
want to expand regular files and not the names of directories you can
do this:
diskmanipulator import hda1 [glob -type f info*]
Consult you local TCL guru or documentation for more info about the
glob-command and TCL lists.
Anyway, as I already said, to enjoy more diskmanipulator commands, check out that doc.
By Google
Ok, that was way more, than I ever know before this post! 
What I did was, that I downloaded Dubaron DiskImage, then I took my CF card out of MSX and placed it to my PC CF reader. Then I placed the files from PC to that CF card using Windows explorer. After that I started the program and took disk image out of my CF card and started that image in OpenMSX. This same procedure should work for HD users as well...
It is great to see, that there is even integrated possibility to move files in OpenMSX!
One question: Does anyone know good program, that can handle hard disk images on Windows? I bet that FAT12 partition support is not in the top of the list in most Windows HD image handling programs. :)
Oh BTW, current Windows version of OpenMSX has a little bug, that causes this method not to work, if size of the hard disk image is smaller, than defined in OpenMSX config file. Adjust the size to little bit smaller than your image is before you start OpenMSX and you'll be fine. This will be fixed in next version.
One question: Does anyone know good program, that can handle hard disk images on Windows? I bet that FAT12 partition support is not in the top of the list in most Windows HD image handling programs.
Probably not a complete tool, but you can use DiskManager created by the RuMSX author : the options MSX-DOS 2 and Custom (+ changing the number of sectors per disk to change the size of the harddisk image) give directly a MSX-DOS 2 formatted harddisk image on which you can add (or drag and drop) the files that interest you (including the 2 MSX-DOS 2 files of course).
By the way, NYYRIKKI is darn right about that bug
It occurs only on Windows though.
But indeed, I forgot to mention that with 0.6.0 you should make sure that the harddisk image you use is always equal or bigger than 100MB (unless you modified the hardwareconfig.xml). If you don't, the harddisk image will get corrupted.
On non-Windows and for next release, this will not be a problem: the harddisk image will be automatically sized up to 100MB (or another value you set up in the hardwareconfig.xml).

By Sonic_aka_T
Enlighted (4129)
04-05-2006, 22:51