mirror of
https://github.com/simonowen/apple1emu.git
synced 2024-10-31 22:05:24 +00:00
Moved opcode table from &b000 to &c000
This commit is contained in:
parent
c571f7dd59
commit
2382ddd7bb
@ -7,7 +7,7 @@
|
||||
# http://simonowen.com/sam/apple1emu/
|
||||
|
||||
$source = 'apple1emu.asm';
|
||||
$codeend = 0xc000;
|
||||
$codeend = 0xd000;
|
||||
|
||||
# Assemble, outputting the symbols containing opcode implementation lengths
|
||||
$_ = `pyz80.py -s op_.*_len $source`;
|
||||
@ -78,9 +78,7 @@ $base = $codeend - (($size + 0xff) & ~0xff);
|
||||
print "Size = $size, used = $used, slack = ", $size-$used, "\n";
|
||||
|
||||
# Output sorted list of calculated positions
|
||||
foreach (sort { $a <=> $b } @todo)
|
||||
{
|
||||
my $offset = $base + $off{$_};
|
||||
foreach (sort { $a <=> $b } @todo) {
|
||||
printf FILE "op_%02x: equ &%04x ; +$len{$_}\n", $_, $base+$off{$_};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user