3 $origin = 0x9800; # must match address of .romsrc in memory.x
12 .align 7 ; for a 128-bit boundary
17 while (read STDIN,$a,1) {
18 if ($origin+$size == $hole_start) {
19 for($i = 0; $i < $hole_size; $i++) {
20 print "\t.byte 0xff\n";
24 printf "\t.byte 0x%04x\n", ord($a);