add credit, add 013 debug timer message on keypress
[uccvend-snackrom.git] / ROM2 / src2asm.pl
index e382f24..7b73f53 100644 (file)
@@ -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;
        }

UCC git Repository :: git.ucc.asn.au