Schrijver
| HD.dsk
|
SLotman msx professional Berichten: 544 | Geplaatst: 22 Juli 2004, 03:54   |
I got IDE emulation working on openMSX, but...How can I add large files to HD.dsk?
For example, I want to add some EVA files (each around 10-20Mb) to the IDE image created by openMSX, but there's no way I can copy those to disks and then to the HD image... is there any utility to add/remove files from HD.dsk?
|
|
mth msx freak Berichten: 193 | Geplaatst: 22 Juli 2004, 05:25   |
There is no such tool yet, but David (turbor) is busy writing one.
|
|
ro msx guru Berichten: 2346 | Geplaatst: 22 Juli 2004, 07:51   |
Only way to add files is to have the HD.dsk on drive A: whilst having drive B: pointed out to a REAL folder on PC and use copy command from B: to A:
itsa damn pitty any DSK manager proggy can only handel flop-formats (e.g. 720 kb). . . .
|
|
manuel msx guru Berichten: 3531 | Geplaatst: 22 Juli 2004, 09:40   |
Slotman: you can also use a method that you would use in case of a *real* harddisk on MSX with only real floppy drives available.... (Don't know which method, but hey, it's exactly the same situation! :-)
|
|
turbor msx freak Berichten: 179 | Geplaatst: 22 Juli 2004, 10:08   |
SLOtman,
If you want I can send you an alpha of my tool
Only restrictions so far:
1) I develop it on Linux and do not have a Win32 compile environment, so I can only provide a Linux binary, and I can't even test if it wil compile under Windows(tm)
2) I only tested with FAT12 so far and do not have a FAT16 available for testing
rgds,
Turbor
|
|
SLotman msx professional Berichten: 544 | Geplaatst: 22 Juli 2004, 13:29   |
turbor: Hmmm... I dont have linux here, but maybe I could port it to DOS? well, send me the binary, I'll see what I can do with it. The FAT12 issue wouldnt be a problem, if a file is bigger than 32Mb I can cut them into 2 16Mb files and then assembly it together on MSX... thanks for helping me out!
ro: to transfer 20/30Mb files over disk drives are INSANE! Each disk is 720 kb, so in "rough math": 30/0.7 = 42 disks!
manuel: in a real MSX I would just burn those files on a cd-rw on the PC, put it on a cd-rom on MSX and copy it to the harddisk... if openMSX could access the CDROM drive as an IDE CD... =)
Another thing, I saw on openmsx web site that there is joynet support on openmsx? Isnt there an utility to transfer files from PC to MSX using joynet? I googled for it but couldnt find anything... but maybe can this be an answer to my problem?
Thanks everyone!
|
|
turbor msx freak Berichten: 179 | Geplaatst: 22 Juli 2004, 17:19   |
SLotman, how do I contact you ?
You do not have any userinfo on the mrc available for the public...
Also what good is a Linux binary for you if you do not have Linux? Are there tools to run those binaries on DOS ? Wouldn't it be more logical to give you sources ?
rgds
turbor
|
|
SLotman msx professional Berichten: 544 | Geplaatst: 22 Juli 2004, 19:26   |
Quote:
| SLotman, how do I contact you ?
You do not have any userinfo on the mrc available for the public...
Also what good is a Linux binary for you if you do not have Linux? Are there tools to run those binaries on DOS ? Wouldn't it be more logical to give you sources ?
rgds
turbor
|
To contact me: msxfiles@*nospam*uol.com.br (please remove *nospam*)
I asked the linux binary, cause I would install slackware or something to run it here... but if you're willing to share the sources, sure, send them =)
Thanks in advanced!
|
|
MeitsNearDark msx professional Berichten: 703 | Geplaatst: 22 Juli 2004, 19:49   |
I've not tried the HD emulation thing yet, but I use Winimage for my DSK files... It's a winzip look-a-like which supports DSK files.
|
|
manuel msx guru Berichten: 3531 | Geplaatst: 22 Juli 2004, 22:44   |
Since turbor's little project here is part of the openMSX project, the source code is freely accessible and licensed under the GPL 
Check it out here: http://cvs.sourceforge.net/viewcvs.py/openmsx/msxtar/
turbor is still heavily developing it, so no guarantees of course
(btw: hi David! ;-) |
|
turbor msx freak Berichten: 179 | Geplaatst: 22 Juli 2004, 22:48   |
Yup, and there I am, wanting to make it a little more userfriendly with some more testing before I announced it to the world... *sigh*
So much for that plan  |
|
SLotman msx professional Berichten: 544 | Geplaatst: 23 Juli 2004, 17:16   |
Well,
First of all, thanks everyone...
I've successfully ported msxtar to MS-DOS widht DJGPP, but the bad news is that msxtar does not help me =(
I've created a 600mb HD image with two partitions, one with 32Mb and the other with the remaining space. The problem with msxtar is that it re-creates the dsk file in memory, so it just crashes back to DOS saying "fatal error: not enough memory", since there's no way DOS can handle 600mb files on RAM 8(
Is there any other way to put files on a disk image on openmsx?
MeitsNearDark: winimage does not recognizes correctly HD images as valid DSKs (if does recognize two partitions, but stops on that)
|
|
SLotman msx professional Berichten: 544 | Geplaatst: 23 Juli 2004, 19:58   |
Update: I created a second HD image to use with openMSX as slave - 32Mb size, so now msxtar can add files to it... but anytime I try to add a file (any file, small or big) the HD image gets corrupted... what could be the problem?
The output generated by the program:
maxCluster 4087
RootDirStart 25
RootDirEnd 40
---------- Boot sector info -----
bytes per sector: 512
sectors per cluster: 16
number of FAT's: 2
direntries in rootdir: 256
sectors on disk: 65401
media descriptor: f0
sectors per FAT: 12
sectors per track: 32
number of sides: 16
---------------------------------
optind 3 argc 4
Couldn't find entry teste.txt to update, trying to create new entry
Adding file teste.txt
teste.txt -> "TESTE TXT"
|
|
turbor msx freak Berichten: 179 | Geplaatst: 26 Juli 2004, 23:19   |
Instead of trying to update the diskimage, could you try creating a new one with msxtar itself ? like this:
msxtar -cvf new-hd.dsk --size=ide teste.txt
To be honest, due to my way to limited available freetime, this is so far the only thing I actually tested. I never started updating with an existing HD image so far (unless this one was also already created with msxtar(read: unpartioned) )
By using the --size parameter like this, there is no partition info on that 32 MB diskimage.
And with my 'real HD image'(read: partitioned) all I have done so far is extracting
Like stated in earlier mails, this is all in development for now...
A possible cause why this update could go wrong, is because of the fact that I for now blindly assume a certain version of IDEFDISK to be used...
Which version do you use when partitioning/formating the HD image?
|
|
MicroTech msx lover Berichten: 122 | Geplaatst: 27 Juli 2004, 12:36   |
Message for Turbor!
Sorry for posting a "private" item in this forum: I wish to contact Turbor but I can't find any userinfo on the mrc available for the public.
So please, David would you be so kind to contact me or let me know how can I communicate with you?
Apologize me for the interference 
MicroTech
|
|
|
|
|