home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Examples / DriverKit / S3_IOVPCode / entryPoints.vp < prev    next >
Encoding:
Text File  |  1993-08-28  |  1.3 KB  |  60 lines

  1. // Copyright (c) 1993 NeXT Computer, Inc.  All rights reserved. 
  2. //
  3. // entryPoints.vp - Entry points for the IOVPCode display driver.
  4. //
  5. // HISTORY
  6. //   29 July 1993    Derek B Clegg
  7. //    Created.
  8. //
  9. //
  10.     .data
  11.  
  12.     // Arguments: none.
  13.     // Returns: s0: Zero if selected mode is valid, nonzero otherwise.
  14.     .word    verifyConfiguration
  15.  
  16.     // Arguments: none.
  17.     // Returns: none.
  18.     .word    initializeMode
  19.  
  20.     // Arguments: s0: videoRamAddress
  21.     //          s1: videoRamSize
  22.     // Returns: none
  23.     .word    enableLinearFrameBuffer
  24.  
  25.     // Arguments: none.
  26.     // Returns: none
  27.     .word    resetVGA
  28.  
  29.     // Arguments: none
  30.     // Returns: none
  31.     .word    setDefaultMode
  32.  
  33.     // Arguments: none.
  34.     // Returns:     s0: width
  35.     //        s1: height
  36.     //        s2: totalWidth
  37.     //        s3: rowBytes
  38.     //        s4: refreshRate
  39.     //        s5: bitsPerPixel
  40.     //        s6: colorSpace
  41.     //        s7: flags
  42.     .word    getDisplayInfo
  43.  
  44.     // Arguments: none.
  45.     // Returns:    If colorspace == IO_RGBColorSpace:
  46.     //          s0: pixel encoding for "leftmost" bits.
  47.     //          s1: pixel encoding for next bits.
  48.     //          s2: pixel encoding for next bits.
  49.     //          s3: pixel encoding for "rightmost" bits.
  50.     //        If colorspace == IO_OneIsWhiteColorSpace:
  51.     //          s0: pixel encoding for bits.
  52.     .word    getPixelEncoding
  53.  
  54.     // Arguments: none.
  55.     // Returns: none.
  56.     .word    setTransferTable
  57.  
  58.     // Points to space of 256 unsigned ints.
  59.     .word    transferTable
  60.