Yokemate of Keyboards
Posts: 2096 from 2003/2/24
From: po-RNO
Well.. as said, FileWrite comes with MorphOS and you can use it to write a HDF. Type this in the shell:
Code:
filewrite test.hdf 209715200
That creates a 200MB hardfile, now you can give it to an emulator and prepare it there, or mount it under MorphOS with
FileImageCtrl and then format it with MorphOS's format option.
If you want to create bigger HDF files that you don't have enough memory in your system, just use the Lua script I made and launch it in the shell like this:
Code:LuaX create_file.lua Work:test.hdf 1024
That would create a 1GB hardfile, and then do the rest the same way as told with the FileWrite image...Edit: the FileWrite command has been fixed to work with large files without noticeable memory consumption.
Or use the MorphOS
Software Development Kit's dd command as suggested by Polluks, which does the same as FileWrite or create_file.lua.