1
0
mirror of https://github.com/DoctorWkt/unix-jun72.git synced 2026-04-16 00:21:48 +00:00

- oops, was wrong earlier.. its still using 16 byte header.

This commit is contained in:
tim.newsham
2008-05-01 18:34:31 +00:00
parent 9b30061768
commit 84b58bf1c1

View File

@@ -29,11 +29,10 @@ def dump(fn, addr) :
vals = unpack("<%dH" % (a.txt/2), a.txtd)
if v7 :
# it appears the a.out header isnt used for the kernel.
# dropping the first 16 bytes causes the tables in u0.s to
# line up with the addresses they were assigned...
vals = vals[8:]
# it appears the a.out header isnt used for the kernel.
# dropping the first 16 bytes causes the tables in u0.s to
# line up with the addresses they were assigned...
vals = vals[8:]
for n,v in enumerate(vals) :
print 'dep cpu %o %06o' % (addr+n*2, v)