PartCopy.....
Re:PartCopy.....
Assuming I'm reading the documentation right, it doesn't look like there is.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:PartCopy.....
what you could do is a small C program that would compute the filesize (the usual fseek(file,0,SEEK_END) ; ftell(file);) and then make a system("...") invokation with the appropriate forged command line.
What you wanna do is easily feasible in BASH or TCSH, but hard in MS-DOS
maybe check the %ERRORLEVEL% variable, it might help you ...
What you wanna do is easily feasible in BASH or TCSH, but hard in MS-DOS
maybe check the %ERRORLEVEL% variable, it might help you ...
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:PartCopy.....
i personnally prepare everything into a single "disk.bin" image file and then use "cat disk.bin >/dev/fd0" ...
I feel no need to do it in DOS/Windows as i have an DOS-version of the loader program which can run Clicker as a DOS program
I feel no need to do it in DOS/Windows as i have an DOS-version of the loader program which can run Clicker as a DOS program
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:PartCopy.....
You don't have to use such sophisticated methods. You just put a size bigger than the file's, and yes, it stops with "Unable to read offset 0A123".
I believe that it even doesn't change the rest of the sector in which the limit occurs.
And, later it works ;D
I believe that it even doesn't change the rest of the sector in which the limit occurs.
And, later it works ;D
Re:PartCopy.....
Hello!
I use dd. First I developed in Linux. There dd is a standard utility. But now I develop in Windows and there I had the problem how to copy files to the raw floppy-disk. I found a dd version for windows (dd.exe). With the followinf command you copy file.bin to floppy (starting with the first sector):
[tt]
dd bs=512 if=file.bin of=/dev/fd0
[/tt]
You can also start at another sector number (e.g. sector 10)
[tt]
dd bs=512 if=file.bin of=/dev/fd0 seek=10
[/tt]
You can find newer versions of DD.exe with google.
::edit by admin:: check http://unxutils.sourceforge.net/. I (Pype) delete the attachment DD.Zip : this board is not a software exchange platform.
I use dd. First I developed in Linux. There dd is a standard utility. But now I develop in Windows and there I had the problem how to copy files to the raw floppy-disk. I found a dd version for windows (dd.exe). With the followinf command you copy file.bin to floppy (starting with the first sector):
[tt]
dd bs=512 if=file.bin of=/dev/fd0
[/tt]
You can also start at another sector number (e.g. sector 10)
[tt]
dd bs=512 if=file.bin of=/dev/fd0 seek=10
[/tt]
You can find newer versions of DD.exe with google.
::edit by admin:: check http://unxutils.sourceforge.net/. I (Pype) delete the attachment DD.Zip : this board is not a software exchange platform.
Re:PartCopy.....
Hey,
If you want to see some source code, and design your own setup, then have look at attachment. Contains class file+header+usage.
It is *not* developed by me. All copy rights, acknowledged.
Regards,
Aditya.
[attachment deleted by admin]
If you want to see some source code, and design your own setup, then have look at attachment. Contains class file+header+usage.
It is *not* developed by me. All copy rights, acknowledged.
Regards,
Aditya.
[attachment deleted by admin]