www.digitalmars.com Home | Search | CTG | RTL | IDDE | STL
Last update Sat Apr 8 23:54:06 2006
Compiler & Tools Guide

Compiling
Compiling Code
C Implementation
C++ Implementation
Language Extensions
Mixing Languages
Assembly Language
Inline Assembler
Optimizing Code
Numerics Programming
Regular Expressions
Acrtused
Pragmas
Precompiled Headers
Predefined Macros
Warning Messages
Error Messages
Runtime Messages


Linking
Optlink
Switches
Module Definition Files
Operation and Design
Error Messages


Win32 Programming
Win32 Programming


DOS and Win16
Programming

Memory Models
16 Bit Pointer Types
and Type Modifiers

Handle Pointers
DOS
DOS 32 (DOSX)
Win16
Win16 DLLs
Win16 Prolog/Epilog


C/C++ Extensions
Contract Programming
__debug statement
__debug declaration
Dynamic Profiling
Embedding C in HTML


Tools
BCC
CHMOD
CL
COFF2OMF
COFFIMPLIB
DMC
DIFF
DIFFDIR
DUMP
DUMPOBJ
DUMPEXE
EXE2BIN
FLPYIMG
GREP
HC
IMPLIB
LIB
LIBUNRES
MAKE
MAKEDEP
ME
OBJ2ASM
PATCHOBJ
RC
RCC
SC
SHELL
SMAKE
TOUCH
UNMANGLE
WHEREIS


Porting to DMC++
Switching to DMC++
from Microsoft
from Borland
Porting Guide


FLPYIMG: Read/Write Floppy Image

flpyimg will read, write, and verify entire floppy disk images, or just the boot sector. It's useful for backing up boot floppies, or for preparing boot floppies with a custom operating system.

Reading a floppy image from drive: and writing it to file:

	flpyimg switches... drive: file
Reading a floppy image from file and writing it to drive:
	flpyimg switches... file drive:
-b Boot sector only, not the entire disk.
-h Help
-v Verify that file matches disk contents.

Examples

Read the entire contents of disk a: and write it to the file foo.img.
	flpyimg a: foo.img
Read the first 512 bytes of boot.img and write it to the boot sector of disk b:.
	flpyimg -b boot.img b:
Read the entire contents of disk b: and verify that it matches the file foo.img.
	flpyimg -v b: foo.img

Notes

  • flpyimg is a DOS program, meaning it will not handle long file names.
  • The only disk drives flpyimg will write to are drives A: and B:, to avoid accidental destruction of drive C:.
  • The floppy disk must already have been properly formatted before flpyimg can write to it.
  • Windows XP will not read 160Kb single sided DOS disks at all, at least not disks formatted by DOS 1.0. DOS 1.0 does not set the BIOS parameter block (BPB) correctly in the boot sector. Windows 95 will read them.