Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!sunic!tut!santra!santra!puhuri From: puhuri@niksula.hut.fi (Markus Peuhkuri) Newsgroups: comp.sys.amiga.tech Subject: Re: Writing to WCS Message-ID: Date: 23 Jan 90 19:45:00 GMT References: <90012003501244@masnet.uucp> <20011@watdragon.waterloo.edu> <629@shodha.dec.com> Sender: news@santra.uucp (Cnews - USENET news system) Organization: Helsinki University of Technology, Finland Lines: 24 In-Reply-To: ridder@elvira.enet.dec.com's message of 23 Jan 90 05:06:47 GMT In article <629@shodha.dec.com> ridder@elvira.enet.dec.com (Hans Ridder) writes: >[Suported way to make reboot] > _ColdReboot: > MOVE.L 4,(A6) ; Get pointer to ExecBase ^--^ I think here is an error. This code moves address of ExecBase to some address that was in a6. You should leave those parenthesis off. So, right code is: MOVE.L 4,a6 ; Get ExecBase in a6 > LEA.L MagicResetCode(PC),A5 ; Location of reset code > JSR _LVOSupervisor(A6) ; Start code in supervisor mode >[code cont.] > I have never done this. It's just documented in the book this way! > -hans > ======================================================================== > Hans-Gabriel Ridder Digital Equipment Corporation > ridder@elvira.enet.dec.com Customer Support Center > ...decwrl!elvira.enet!ridder Colorado Springs, CO -- Markus Peuhkuri ! Ti 1 ! puhuri@niksula.hut.fi !------! V{in| Auerinkatu 1 A 3 ! Helsinki !-----------------------! // ! SF-00560 Helsinki ! University ! Erratum politucus est ! \X/ ! tel. +358-0-7570762 ! of Tecnology !-----------------------!------!