git.ucc.asn.au
/
uccvend-snackrom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update README to reflect new repository structure
[uccvend-snackrom.git]
/
ROM2
/
src2asm.pl
diff --git
a/ROM2/src2asm.pl
b/ROM2/src2asm.pl
index
2d38015
..
0f41a71
100644
(file)
--- a/
ROM2/src2asm.pl
+++ b/
ROM2/src2asm.pl
@@
-1,7
+1,7
@@
#!/usr/bin/perl -w
# keep the format of this next line the same to match regex in check-romsrc.pl
#!/usr/bin/perl -w
# keep the format of this next line the same to match regex in check-romsrc.pl
-$origin = 0x9
d
80;
+$origin = 0x9
c
80;
$hole_start = 0xb600;
$hole_size = 0x0200;
$hole_start = 0xb600;
$hole_size = 0x0200;
@@
-18,7
+18,7
@@
my $a;
while (read STDIN,$a,1) {
if ($origin+$size == $hole_start) {
for($i = 0; $i < $hole_size; $i++) {
while (read STDIN,$a,1) {
if ($origin+$size == $hole_start) {
for($i = 0; $i < $hole_size; $i++) {
- print "\t.byte 0x
ff
\n";
+ print "\t.byte 0x
00
\n";
}
$size += $hole_size;
}
}
$size += $hole_size;
}
UCC
git Repository :: git.ucc.asn.au