Page 1 of 1
PartCopy.....
Posted: Sat Feb 08, 2003 7:03 pm
by Perica
..
Re:PartCopy.....
Posted: Tue Feb 11, 2003 12:20 pm
by Schol-R-LEA
Assuming I'm reading the documentation right, it doesn't look like there is.
Re:PartCopy.....
Posted: Tue Feb 11, 2003 10:54 pm
by Perica
..
Re:PartCopy.....
Posted: Wed Feb 12, 2003 4:49 am
by Pype.Clicker
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 ...
Re:PartCopy.....
Posted: Wed Feb 12, 2003 5:01 am
by Perica
..
Re:PartCopy.....
Posted: Wed Feb 12, 2003 5:36 am
by Pype.Clicker
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
Re:PartCopy.....
Posted: Wed Feb 12, 2003 6:18 am
by Perica
..
Re:PartCopy.....
Posted: Wed Feb 12, 2003 6:24 am
by Pype.Clicker
YEp. That could work pretty fine
Re:PartCopy.....
Posted: Sun Feb 16, 2003 5:21 am
by Adek336
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
Re:PartCopy.....
Posted: Tue Feb 18, 2003 5:17 am
by Perica
..
Re:PartCopy.....
Posted: Tue Feb 18, 2003 7:48 am
by richie
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.
Re:PartCopy.....
Posted: Thu Feb 20, 2003 1:05 am
by surya4friends
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]