Skip to content

Instantly share code, notes, and snippets.

@sf2platinum
sf2platinum / merger.pl
Created November 27, 2019 04:12
Merge hi/low rom pairs
#!/usr/bin/perl
#
# Merge a pair of hi/low byte roms into a single file
#
# Usage: merger.pl <low_or_even_byte_rom> <high_or_odd_byte_rom> >outputfile.bin
open LO, $ARGV[0] || die $!;
open HI, $ARGV[1] || die $!;
$i=0;