home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10369 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  1.4 KB

  1. Path: sparky!uunet!snorkelwacker.mit.edu!ai-lab!zurich.ai.mit.edu!pshuang
  2. From: pshuang@zurich.ai.mit.edu (Ping Huang)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: way to power off my PC.
  5. Date: 5 Nov 92 19:40:14
  6. Organization: M.I.T. Artificial Intelligence Lab.
  7. Lines: 18
  8. Message-ID: <PSHUANG.92Nov5194014@freeside.ai.mit.edu>
  9. References: <1992Nov4.221748.29322@cdf.toronto.edu>
  10. NNTP-Posting-Host: freeside.ai.mit.edu
  11. In-reply-to: a1001032@cdf.toronto.edu's message of Wed, 4 Nov 1992 22:17:48 GMT
  12.  
  13. In article <1992Nov4.221748.29322@cdf.toronto.edu> a1001032@cdf.toronto.edu (Fiona Wong) writes:
  14.  
  15.  > A crazy question. Can I power off my PC automatically using C
  16.  > or assembly programs? :-) Assume any hardware necessary is available..
  17.  
  18. While the standard PC architecture does not provide a way for it to
  19. power itself off (unlike many Macintosh models, where choosing
  20. "Shutdown" from the Finder will power the machine off), if customized
  21. hardware is available, it should be easy to make this work. Basic TLL
  22. logic should be able to detect when the data lines on the printer port
  23. are raised, so you only need to write a program to output data to the
  24. printer port and the customized hardware can kill the power.
  25.  
  26. --
  27. | Ping Huang (INTERNET: pshuang@martigny.ai.mit.edu) speaking for himself.
  28. | "One Thing to name them all, One Thing to define them,
  29. |  One Thing to place them in environments and bind them..."
  30.  
  31.