Using “filemerge.py”
“filemerge.py” loads specified files into the same “memory”. The parts of the memory occupied by the loaded files are then saved. The destination memory address contained in the first two bytes of the loaded files is considered.
Arguments and options
Arguments
- <OUTPUT_FILE>: the name of the file to write
- <INPUT_FILE(s)>: the files to load
Options
- --version: prints the version information
- --help/-h: prints the help screen
Examples
filemerge bb_game_disc.bin bb_hex_game.bin bb_prg_game_disc.bin
Reads the files “bb_hex_game.bin” and “bb_prg_game_disc.bin” into an empty memory to the addresses defined by the first two bytes stored in the files. Saves the resulting memory to “bb_game_disc.bin”.
- Arguments and options
- Examples
Table of contents