X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=ROM2%2Fsrc2asm.pl;h=0f41a71c1da7c0126f760d73fc428a7f0fb2e409;hb=4155996fc1643ebf9f53b17fd0e9ad8782728a58;hp=e382f24672f2d1fd51fd524879289a7bd1ca5d7e;hpb=c107bf29a234bf80a7762e838628ac613456f838;p=uccvend-snackrom.git diff --git a/ROM2/src2asm.pl b/ROM2/src2asm.pl index e382f24..0f41a71 100644 --- a/ROM2/src2asm.pl +++ b/ROM2/src2asm.pl @@ -1,6 +1,7 @@ #!/usr/bin/perl -w -$origin = 0x9800; # must match address of .romsrc in memory.x +# keep the format of this next line the same to match regex in check-romsrc.pl +$origin = 0x9c80; $hole_start = 0xb600; $hole_size = 0x0200; @@ -17,7 +18,7 @@ my $a; while (read STDIN,$a,1) { if ($origin+$size == $hole_start) { for($i = 0; $i < $hole_size; $i++) { - print "\t.byte 0xff\n"; + print "\t.byte 0x00\n"; } $size += $hole_size; }