Subject: Re: ELF
To: David Rogers <drogers@halo7.net>
From: None <nigel@ind.tansu.com.au>
List: port-mac68k
Date: 05/14/2001 12:01:46
* The Booter is currently only able to parse a.out kernels.
  The kernel loading code is a humongous section of spaghetti

* Chuck kindly supplied an ELF kernel to experiment with

* I have compiled libsa/loadfile.c into the Booter, and it
  parses both ELF and a.out kernels, but the kernel hangs
  right at the start (i.e. before it outputs the NetBSD msg)

* From comparing memory dumps for booting an a.out kernel
  with an old and the new Booter, it seemed that the loadfile
  code was adding an extra blank page, but I think I fixed that

* My old laptop disk died somewhere in the middle there,
  and after I replaced it the machine was unreliable,
  so I moved onto a new laptop.
  Unfortunately, the new one has no floppy drive,
  so testing the Booter became a much slower process.
  I have been trying to get a MacOS emulator working,
  to speed up the compile/build/test cycle.

* I haven't done much testing in about a month.
  If anyone has CodeWarrior 9 or greater,
  and some spare motivation, I can e-mail the code.

-- 
| Nigel Pearson, nigel@ind.tansu.com.au | "Reality is that which,   |
|   Telstra NW-D, Sydney, Australia.    |  when you stop believing  |
| Office: 9206 3468    Fax:  9212 6329  |  in it, doesn't go away." |
| Mobile: 0408 664435  Home: 9792 6998  | Philip K. Dick - 'Valis.' |