home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 499.lha / GamePortDeviceToolKit / gameport.lzh / src / DeviceToolKits / GamePort / docs / DTGamePortJoy0Dat.doc < prev    next >
Text File  |  1991-01-03  |  951b  |  67 lines

  1.                                GamePort Device ToolKit
  2.  
  3.  
  4.      DTGamePortJoy0Dat (1.1)                        DTGamePortJoy0Dat (1.1)
  5.  
  6.  
  7.      NAME
  8.  
  9.                DTGamePortJoy0Dat        Read JOY0DAT Hardware Register
  10.  
  11.      SYNOPSIS
  12.  
  13.                #include  "DeviceToolKits/GamePort.h"
  14.                #include  "DeviceToolKits/proto/GamePort.h"
  15.  
  16.                joy0val = DTGamePortJoy0Dat();
  17.  
  18.                LONG joy0val;                      Value of JOY0DAT register
  19.  
  20.      FUNCTION
  21.  
  22.                This function reads and returns the value of the JOY0DAT
  23.                hardware register.  Refer to the Hardware Reference Manual
  24.                for the layout of this register.
  25.  
  26.      RETURNS
  27.  
  28.                joy0val contains the value of JOY0DAT upon return.
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                                                                           1          Printed January 2, 1991                                    Page  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.