demOS

- Main Page
- Modules
- Data Structures
- Files

All Data Structures Files Modules Pages
IMAGER

IMAGER is a tool that:

- creates the floppy disks image
- generates C headers & sources to map data in your program
- strips .ARJ (mode 4) files (=> write shrinked .ARJX file)

- consider .BOT file as bootsector program => strips its gemdos descriptor and computes its checksum (delta to $1234) to make it executable

  Warning: generating the sources of the disk map integrated into your program creates a cyclic dependency for the floppy containing the program => when you recompile your program and write the image, maybe its size has changed, so the following data may have moved => in this case you need to recompile it and rewrite the image a second time.

  => To avoid this problem, in the future it would be better to:

  - only generate entries enum in .h file
  - store the content of arrays (currently generated into .c files) into a specific sector of the floppy (2nd sector of the floppy for example) and load it at LOADinit