home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14235 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.3 KB

  1. Path: sparky!uunet!gumby!wupost!think.com!news!ses
  2. From: ses@cmns-sun.think.com (Simon Edward Spero)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: ***BASIC PROGRAMMING***
  5. Date: 19 Aug 92 19:37:26
  6. Organization: What's your clearance, citizen?
  7. Lines: 22
  8. Message-ID: <SES.92Aug19193726@cmns-sun.think.com>
  9. References: <817.2A903FFC@fidogate.FIDONET.ORG> <952@cybaswan.UUCP>
  10. NNTP-Posting-Host: cmns-sun.think.com
  11. In-reply-to: csandy@cybaswan.UUCP's message of 19 Aug 92 10:48:14 GMT
  12.  
  13.  In article <952@cybaswan.UUCP> csandy@cybaswan.UUCP (ap.parkman) writes:
  14.  
  15.    I'm not religous, but it's going to take more than we earthly programmers
  16.    can manage to get code to run BEFORE there is any power to the machine!
  17.    ( or can this be done in Assembly!!! ). Anyway I'll have a crack at it:
  18.  
  19. ... Shehechionu vekiymanu vehigianu lazman haze :-)
  20.  
  21. If you read Inside Macintosh VI, Chapter 31 "The Power Manager", you'll
  22. find details of (suprise,suprise) the power manager. One of the jobs of the
  23. power manager is to maintain the wakeup timer. This can be manipulated by
  24. the SetWUTime and GetWUTime functions. 
  25.  
  26. Not all macintoshes support these functions; the only ones I know of are
  27. the portable and the Powerbook 100. I don't know whether the new powerbooks
  28. can do it or not.
  29.  
  30.  
  31. Simon
  32. --
  33. -----
  34. Guest account at TMC     |    Just Another  WAIS Hacker | DOD# 0612
  35.