gigatron/rom/Contrib/at67/tools/gtsplitrom
2025-01-28 19:17:01 +03:00
..
CMakeLists.txt init repo 2025-01-28 19:17:01 +03:00
gtsplitrom.cpp init repo 2025-01-28 19:17:01 +03:00
README.md init repo 2025-01-28 19:17:01 +03:00

gtsplitrom

Takes a gigatron .rom file and splits it into two individual .rom files, one for instructions and one
for data. Input file has to be 128KBytes in length, if greater, then only the first 128KBytes will be
read and split.

Building

  • CMake 3.7 or higher is required for building, has been tested on Windows with Visual Studio and gcc/mingw32
    and also built and tested under Linux.
  • A C++ compiler that supports modern STL.

Usage

gtsplitrom <input filename> <output filename>

Example

gtsplitrom ROMv1.rom test.rom

Output

Output is always two files each 64KBytes in length, i.e. from the above example, output would be test.rom_i
and test.rom_d.