Date: Thu, 24 Jan 2002 19:57:30 -0500 From: madodelatptdprolog.net Subject: [VOICENWS] Write a bootblock on a floppy From: tamatgmx.de (Timo Maier) [Moderator note: Before anyone writes asking why they would need this, I have no idea. I'm just passing along something which may or may not be of interest to people who would know what to do with it if they had a use for it. :-) ] WRITBOOT -- Yet another Bootblock writer Peter Flass -- Jan 2002 WRITBOOT is a small program to write a floppy bootblock from a binary file. The file should be exactly 512 bytes long, and may be generated e.g. using the '-f bin' output option of NASM. The contents of the file are checked only for length = 512 bytes and signature in bytes 510 and 511 is \x55 \xAA. USAGE: WRITBOOT runs in an OS/2 windowed of fullscreen session: WRITBOOT a: or WRITBOOT b: where is the name of the bootblock file. The program will then prompt for a floppy to be initialized. EXAMPLE: WRITBOOT a: c:\stuff\bootblok.bin will read the contents of 'c:\stuff\bootblok.bin" and write it to the floppy in drive a. The compiled version of WRITBOOT requires the EMX runtime libraries, but presumably could be recompiled using other C compilers. RECOMPILING: WRITBOOT can be compiled using EMX by the command: GCC -o writboot.exe writboot.c http://hobbes.nmsu.edu/pub/incoming/writboot.zip http://hobbes.nmsu.edu/cgi-bin/h-search?key=writboot.zip -- To unsubscribe yourself from this list, send the following message to majormajoratos2voice.org unsubscribe news end If you have an announcement you would like posted to the VOICE News list, please send it to submitatos2voice.org. Please include a valid reply address and a real contact name. If you wish to comment on this post, please reply to feedbackatos2voice.org