Exe => Img ????

Srstanek@aol.com Srstanek@aol.com
Tue, 20 Jul 1999 18:44:39 EDT


>  I have a BIG problem... It would be FANTASTIC if someone of you could help
>  me... :-] :-]
>  OK: heres the prob:
>  I have an exe-file with a size of 1077 bytes.
>  The disk only accepts an img-file of 512 bytes. When I try to make an
>  img-file with "IMG version 2.0 by Kalk Huth", it becomes an img of 1,47
>  megabytes. Now I know I should do it with Microsoft DEBUG but I don't know 
> how!!!
>  Thats my BIG problem.
>  OK If anybody has an answer or another way to get an 512-img, i would be
>  glad to hear it!!! (And of course I'm always here for help if I can :-]
>  Although I think the most people on this list are profis at computer :-] 
:-] 
> :-])
>  So by 4 now

There are two ways. First of all, make sure you understand what you should be 
doing putting an EXE file onto a floppy disk. If you want to use that 1.44M 
version, use a program like rawrite. If you want to put that EXE in the boot 
sector (512 bytes), assuming you have the correct format, you could use a 
utility like the one in my bootstrap tutorial. It takes an EXE file and 
strips it down to a raw binary and also has a utility to write it to the boot 
sector of a disk. You can download it with all the utilities and full source 
code at:
  http://members.aol.com/srstanek/vul-2.zip

  - vulture a.k.a. Sean Stanek