Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ptsfa!ihnp4!inuxc!pur-ee!uiucdcs!uxc.cso.uiuc.edu!hamilton From: hamilton@uxc.cso.uiuc.edu Newsgroups: comp.sys.amiga Subject: Re: Boot code. Help Needed Message-ID: <172200031@uxc.cso.uiuc.edu> Date: Mon, 16-Mar-87 13:52:00 EST Article-I.D.: uxc.172200031 Posted: Mon Mar 16 13:52:00 1987 Date-Received: Wed, 18-Mar-87 06:40:34 EST References: <415@inria.UUCP> Lines: 30 Nf-ID: #R:inria.UUCP:415:uxc.cso.uiuc.edu:172200031:000:966 Nf-From: uxc.cso.uiuc.edu!hamilton Mar 16 12:52:00 1987 /* Written 10:34 am Mar 13, 1987 by rouaix@inria.UUCP in uxc.cso.uiuc.edu:comp.sys.amiga */ /* ---------- "Boot code. Help Needed" ---------- */ I would like to know what the amiga does when booting on a system disk. The code lies in blocks 0 and 1 of bootable disks. Has anyone a commented disassembly listing ? It would be great. Thanks . /* End of text from uxc.cso.uiuc.edu:comp.sys.amiga */ not much there. slightly paraphrased, it's: lea DosName(pc),a1 jsr LVOFindResident(a6) tst.l d0 beq fail fail, return nonzero move.l d0,a0 move.l 22(a0),a0 a0 = a0->rt_Init moveq #0,d0 succeed, return 0 return rts fail moveq #$FF,d0 bra return DosName dc.b "dos.library" wayne hamilton U of Il and US Army Corps of Engineers CERL UUCP: ihnp4!uiucuxc!hamilton ARPA: hamilton%uiucuxc@a.cs.uiuc.edu USMail: Box 476, Urbana, IL 61801 CSNET: hamilton%uiucuxc@uiuc.csnet Phone: (217)333-8703 CIS: [73047,544] PLink: w hamilton