X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=ROM2%2Fsrc2asm.pl;h=7b73f53548bf1b8960eb692c8102dc60fb27a49c;hb=HEAD;hp=e382f24672f2d1fd51fd524879289a7bd1ca5d7e;hpb=c107bf29a234bf80a7762e838628ac613456f838;p=uccvend-snackrom.git diff --git a/ROM2/src2asm.pl b/ROM2/src2asm.pl index e382f24..7b73f53 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 = 0x9d80; $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; }