mirror of
https://github.com/livingcomputermuseum/pdp7-unix.git
synced 2026-02-06 00:25:37 +00:00
start with .=4096. This isn't what as.s does (and will break the kernel)
This commit is contained in:
@@ -55,7 +55,7 @@ usage() if ( @ARGV < 1 );
|
||||
# start with the location counter at zero
|
||||
# predefine syscall and opcodes as variables
|
||||
%Var = (
|
||||
'.' => 0,
|
||||
'.' => 4096,
|
||||
'..' => 4096, # output base addr?
|
||||
|
||||
# as.s does not have an initial symbol table
|
||||
@@ -189,7 +189,7 @@ foreach my $file (@ARGV) {
|
||||
}
|
||||
|
||||
# Now do it all again, pass two
|
||||
$Var{'.'} = 0;
|
||||
$Var{'.'} = 4096;
|
||||
$stage = 2;
|
||||
open(my $OUT, ">$output") || die "$output";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user