home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / datafiles / text / howtocode / source / cdtv.i next >
Text File  |  1995-02-27  |  2KB  |  91 lines

  1. ; CDTV.i       Information for programming CDTV/A570
  2. ;
  3. ; By Comrade J
  4. ;
  5. ; Read cdtv.txt
  6.  
  7.  
  8. CDTV_RESET        equ     1
  9. CDTV_READ        equ     2
  10. CDTV_WRITE        equ     3     (!!!!!)
  11. CDTV_UPDATE        equ     4
  12. CDTV_CLEAR        equ     5
  13. CDTV_STOP        equ     6
  14. CDTV_START        equ     7
  15. CDTV_FLUSH        equ     8
  16. CDTV_MOTOR        equ     9
  17. CDTV_SEEK        equ    10
  18. CDTV_FORMAT        equ    11
  19. CDTV_REMOVE        equ    12
  20. CDTV_CHANGENUM        equ    13
  21. CDTV_CHANGESTATE     equ    14
  22. CDTV_PROTSTATUS        equ    15
  23. CDTV_GETDRIVETYPE     equ    18
  24. CDTV_GETNUMTRACKS     equ    19
  25. CDTV_ADDCHANGEINT     equ    20
  26. CDTV_REMCHANGEINT     equ    21
  27. CDTV_GETGEOMETRY     equ    22
  28. CDTV_EJECT        equ    23
  29. CDTV_DIRECT        equ    32
  30. CDTV_STATUS        equ    33
  31. CDTV_QUICKSTATUS     equ    34
  32. CDTV_INFO        equ    35
  33. CDTV_ERRORINFO        equ    36
  34. CDTV_ISROM        equ    37
  35. CDTV_OPTIONS        equ    38
  36. CDTV_FRONTPANEL        equ    39
  37. CDTV_FRAMECALL        equ    40
  38. CDTV_FRAMECOUNT        equ    41
  39. CDTV_READXL        equ    42
  40. CDTV_PLAYTRACK        equ    43
  41. CDTV_PLAYLSN        equ    44
  42. CDTV_PLAYMSF        equ    45
  43. CDTV_PLAYSEGSLSN     equ    46
  44. CDTV_PLAYSEGSMSF     equ    47
  45. CDTV_TOCLSN        equ    48
  46. CDTV_TOCMSF        equ    49
  47. CDTV_SUBQLSN        equ    50
  48. CDTV_SUBQMSF        equ    51
  49. CDTV_PAUSE        equ    52
  50. CDTV_STOPPLAY        equ    53
  51. CDTV_POKESEGLSN        equ    54
  52. CDTV_POKESEGMSF        equ    55
  53. CDTV_MUTE        equ    56
  54. CDTV_FADE        equ    57
  55. CDTV_POKEPLAYLSN     equ    58
  56. CDTV_POKEPLAYMSF     equ    59
  57. CDTV_GENLOCK        equ    60
  58.  
  59.  
  60. ;  Quick-Status Bits
  61. ;  Bits returned in IO_ACTUAL of the CDTV_QUICKSTATUS.
  62.  
  63. QSB_READY   equ    0
  64. QSB_AUDIO   equ    2
  65. QSB_DONE    equ    3
  66. QSB_ERROR   equ    4
  67. QSB_SPIN    equ    5
  68. QSB_DISK    equ    6
  69. QSB_INFERR  equ    7
  70.  
  71. QSF_READY   equ    $01
  72. QSF_AUDIO   equ    $04
  73. QSF_DONE    equ    $08
  74. QSF_ERROR   equ    $10
  75. QSF_SPIN    equ    $20
  76. QSF_DISK    equ    $40
  77. QSF_INFERR  equ    $80
  78.  
  79. ; CDTV_GENLOCK values (io_Offset)
  80. CDTV_GENLOCK_REMOTE     equ    0    ; Remote control
  81. CDTV_GENLOCK_AMIGA      equ    1    ; Amiga video out
  82. CDTV_GENLOCK_EXTERNAL     equ    2    ; External video out
  83. CDTV_GENLOCK_MIXED      equ    3    ; Amiga over external video
  84.  
  85.  
  86. ; CDTV_INFO Command values (io_Offset)
  87.  
  88. CDTV_INFO_BLOCK_SIZE     equ    2    ; CD-ROM block size
  89. CDTV_INFO_FRAME_RATE     equ    3    ; CD-ROM frame rate
  90.  
  91.