home *** CD-ROM | disk | FTP | other *** search
/ Amiga Magazin: Amiga-CD 2000 April & May / AMIGA_2000_04.iso / patches / mccontrol / mccontrol.lha..lha / MCControl / Modules / Include.i < prev    next >
Encoding:
Text File  |  1999-10-15  |  1.5 KB  |  42 lines

  1. Module_Identifier    = "MCCM"
  2. Module_VersionNumber    = 1
  3.     RSRESET
  4. Module_Code    rs.w 1 ;MUST $4e75 (RTS)
  5. Module_Version    rs.w 1 ;Must be Module_VersionNumber
  6. Module_ID    rs.l 1 ;Must be "MCCM"
  7. Module_Flags    rs.l 1
  8. Module_Exec_Base    rs.l 1 ;Filled by MCControl
  9. Module_Dos_Base    rs.l 1 ;Filled by MCControl
  10. Module_Intuition_Base    rs.l 1 ;Filled by MCControl
  11. ;--- Card Data
  12. Module_DelayReadByte    rs.l 1 ;Filled by MCControl
  13. Module_DelayReadBit    rs.l 1 ;Filled by MCControl
  14. Module_DelayWriteByte    rs.l 1 ;Filled by MCControl
  15. Module_DelayWriteBit    rs.l 1 ;Filled by MCControl
  16.     rs.l 10 ;reserved (must be ZERO)
  17. ;--- Jump Table
  18. Module_Delay    rs.w 3 ;Filled by MCControl
  19. Module_Open    rs.w 3
  20. Module_Close    rs.w 3
  21. Module_FrameOpen    rs.w 3
  22. Module_FrameClose    rs.w 3
  23. Module_ReadCommand    rs.w 3
  24. Module_WriteCommand    rs.w 3 ;equal to Module_ReadCommand other delay
  25. Module_PADOpen    rs.w 3
  26. Module_PADClose    rs.w 3
  27. Module_PADCommand    rs.w 3
  28.     rs.w 3*10 ;reserved
  29. Module_SIZEOF    rs.b 0
  30. ;----------------------------------------------------------------------------
  31.  BITDEF Module,DelayMode,0  ;Tell MCControl you require timing data.
  32.         ;This will be used to disable/hide useless
  33.         ;gadgets for your reader.
  34.  BITDEF Module,Device,1     ;Tell MCControl you require an Device/Unit
  35.          ;selector
  36. ;----------------------------------------------------------------------------
  37. Module_Error_NoError       = 0
  38. Module_Error_OpenDevice    = 1
  39. Module_Error_NotCompatible = 2 ;If hardware supports identification!
  40. Module_Error_OutOfMemory   = 20
  41. ;----------------------------------------------------------------------------
  42.