1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-01-13 15:27:39 +00:00

start with .=4096. This isn't what as.s does (and will break the kernel)

This commit is contained in:
Phil Budne 2016-03-01 20:36:13 -05:00
parent 1bb80f01ec
commit 97b11c6e40

View File

@ -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";