Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!bu-cs!bloom-beacon!eru!luth!sunic!mcsun!ukc!icdoc!qmc-cs!davide From: davide@cs.qmc.ac.uk (David Edmondson) Newsgroups: comp.sys.mac.programmer Subject: TMTasks and Procptrs?? Message-ID: <1506@sequent.cs.qmc.ac.uk> Date: 2 Dec 89 00:47:14 GMT Reply-To: davide@cs.qmc.ac.uk (David Edmondson) Organization: CS Dept, Queen Mary College, University of London, UK. Lines: 27 We need to restart our macs at a preset time in order to make sure that they are running A/UX at 1am so that the software can be automatically updated. I have been trying to write an INIT which installs a tmtask structure and procedure above bufptr but although all the bits seem to be in place it just bombs at the specified time. To begin with I was using block move with a procptr as the source location but someone pointed out that procptrs pointed at jump tables so to simplify things I tried poking in an assembled version of restart as given in IMII. This also failed so I tried putting in a couple of zero bytes since procptrs point to an integer followed by an executable but still no cigar. Could some kind soul point me in the right direction before I eat this keyboard. Witzend of London. -- David Edmondson UUCP: davide@qmc-cs.uucp or ...seismo!mcvax!ukc!qmc-cs!davide ARPA: davide%cs.qmc@nsfnet-relay.ac.uk Post: Dept of Computer Science JANET: davide@uk.ac.qmc.cs Queen Mary College Applelink: UK0087 University of London Telex: 893750 QMCUOL Mile End Road Fax: +44 1 981 7517 London E1 4NS Voice: +44 1 975 5250 England