home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Sample Code / OS Utilities / SetLED / SetLED Readme < prev    next >
Encoding:
Text File  |  1998-04-30  |  1.6 KB  |  29 lines  |  [TEXT/ttxt]

  1. SetLED
  2. Version: 1.0
  3.  
  4. Description
  5. A program sample demonstrating the use of the ADBOp call in a 68K, PPC and CFM68K.  This sample is a modification of the original LEDApp written by Greg Robbins in 1991.  The program sample makes the NumLock, CapsLock and ScrollLock LED's blink until the mouse button is pressed.
  6.  
  7. This sample demonstrates how one can make the ADBOp call from within a CFM68K application or process.  There is a known bug such that a call to the ADBOp call to the InterfaceLib glue results in a bus error.  The sample demonstrates how to implement your own glue routine to call ADBOp directly from the CFM68K application.
  8.  
  9. Building the Code
  10.  
  11. This sample was built using the Metrowerks CodeWarrior Pro environment.
  12.  
  13. To rebuild the project, open it in CodeWarrior, select the appropriate target and choose Make from the Project menu.
  14.  
  15. Limitations:
  16.  
  17. Copyright (work in progress)  Apple Computer, Inc 
  18.  
  19. You may incorporate this sample code into your applications without restriction, though the sample code has been provided "AS IS" and the responsibility for its operation is 100% yours.  However, what you are not permitted to do is to redistribute the source as "DSC Sample Code" after having made changes. If you're going to re-distribute the source, we require that you make it clear in the source that the code was descended from Apple Sample Code, but that you've made changes.
  20.  
  21. Bug Reports:
  22.  
  23. If you find any bugs, please send them to "devsupport@apple.com" and include "Attn: Rich Kubota" and I will try to address them.
  24.  
  25. Rich Kubota
  26. Apple Macintosh Developer Technical Support
  27. rkubota@apple.com
  28. 4/7/98
  29.