How to transfer a long file to hard disk on openMSX

By Juan Luis

Resident (46)

Juan Luis's picture

03-04-2019, 05:01

Hi to everyone,
sometimes I need to copy long files to a virtual hard disk on OpenMSX. To do this, I mount a Windows directory as virtual floppy disk but the maximum size of this virtual floppy disk is 720KB. If the directory has more than that size then you can't copy the file without losing data.

Is there any alternative to do this?

Login or register to post comments

By ericb59

Paladin (865)

ericb59's picture

03-04-2019, 07:18

hello,

you can set a TCL start script for OpenMSX to do the importation for you.

start open msx like this
> openmsx -script ./startscript.tcl

inside the starscript.tcl write something like this :

virtual_drive /Desktop/SDCC_msx/HD.dsk
diskmanipulator import virtual_drive /Desktop/SDCC_msx/ressources
virtual_drive eject
hda /Desktop/SDCC_msx/HD.dsk

each time you will start openMSX with the script, the importation will be done.

By Juan Luis

Resident (46)

Juan Luis's picture

03-04-2019, 10:32

It works fine. I didn't know diskmanipulator tool. It's very interesting.

Thank you.

By Manuel

Ascended (15752)

Manuel's picture

03-04-2019, 13:49

For more info, read its special manual: https://openmsx.org/manual/diskmanipulator.html

By Juan Luis

Resident (46)

Juan Luis's picture

04-04-2019, 23:54

Thanks Manuel. I'm studying all options of this command. I have found many useful things.

By Manuel

Ascended (15752)

Manuel's picture

05-04-2019, 00:01

Great to hear that! Smile You're welcome.