From mboxrd@z Thu Jan 1 00:00:00 1970 From: wkt@tuhs.org (Warren Toomey) Date: Fri, 2 May 2008 08:28:23 +1000 Subject: [Unix-jun72] Early a.out headers In-Reply-To: <20080501222355.GA75266@minnie.tuhs.org> References: <29658.1209658194@mini> <30972.1209662573@mini> <31410.1209664053@mini> <20080501222355.GA75266@minnie.tuhs.org> Message-ID: <20080501222823.GA75548@minnie.tuhs.org> On Fri, May 02, 2008 at 08:23:55AM +1000, Warren Toomey wrote: > I haven't read the the OCR'd kernel source fully yet; in the section for > exec(), there must be code to parse an a.out header. Does it only know > about 0405, or 0407, or both? I'll answer myself. sysexec() in u2.s has this: cmp core,$405 / br .+14 is first instrution if file is / standard a.out format bne 1f / branch, if not standard format So the kernel is definitely 1st Edition, then. Warren