home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / programs / emulaton / at2600 / !v2600 / h / address next >
Text File  |  1997-03-24  |  2KB  |  111 lines

  1. /*****************************************************************************
  2.  
  3.    This file is part of x2600, the Atari 2600 Emulator
  4.    ===================================================
  5.    
  6.    Copyright 1996 Alex Hornby. For contributions see the file CREDITS.
  7.  
  8.    This software is distributed under the terms of the GNU General Public
  9.    License. This is free software with ABSOLUTELY NO WARRANTY.
  10.    
  11.    See the file COPYING for details.
  12.    
  13.    $Id: address.h,v 1.4 1996/04/01 14:51:50 alex Exp $
  14. ******************************************************************************/
  15.  
  16. #ifndef ADDRESS_H 
  17. #define ADDRESS_H 
  18.  
  19. /* Contains the addresses of the 2600 hardware */
  20. /* $Id: address.h,v 1.4 1996/04/01 14:51:50 alex Exp $ */
  21.  
  22. /* TIA Write Addresses (6 bit) */
  23.  
  24. #define VSYNC    0x00
  25. #define VBLANK    0x01
  26. #define WSYNC    0x02
  27. #define RSYNC    0x03
  28. #define NUSIZ0    0x04
  29. #define NUSIZ1    0x05
  30. #define COLUP0    0x06
  31. #define COLUP1    0x07
  32. #define COLUPF    0x08
  33. #define COLUBK    0x09
  34. #define CTRLPF    0x0A
  35. #define REFP0    0x0B
  36. #define REFP1    0x0C
  37. #define PF0    0x0D
  38. #define PF1    0x0E
  39. #define PF2    0x0F
  40. #define RESP0    0x10
  41. #define RESP1    0x11
  42. #define RESM0    0x12
  43. #define RESM1    0x13
  44. #define RESBL    0x14
  45. #define AUDC0    0x15
  46. #define AUDC1    0x16
  47. #define AUDF0    0x17
  48. #define AUDF1    0x18
  49. #define AUDV0    0x19
  50. #define AUDV1    0x1A
  51. #define GRP0    0x1B
  52. #define GRP1    0x1C
  53. #define ENAM0    0x1D
  54. #define ENAM1    0x1E
  55. #define ENABL    0x1F
  56. #define HMP0    0x20
  57. #define HMP1    0x21
  58. #define HMM0    0x22
  59. #define HMM1    0x23
  60. #define HMBL    0x24
  61. #define VDELP0    0x25
  62. #define VDELP1    0x26
  63. #define VDELBL    0x27
  64. #define RESMP0    0x28
  65. #define RESMP1    0x29
  66. #define HMOVE    0x2A
  67. #define HMCLR    0x2B
  68. #define CXCLR    0x2C
  69.  
  70. /* TIA Read Addresses */
  71. #define CXM0P    0x0
  72. #define CXM1P    0x1
  73. #define CXP0FB    0x2
  74. #define CXP1FB    0x3
  75. #define CXM0FB    0x4
  76. #define CXM1FB    0x5
  77. #define CXBLPF    0x6
  78. #define CXPPMM    0x7
  79. #define INPT0    0x8
  80. #define INPT1    0x9
  81. #define INPT2    0xA
  82. #define INPT3    0xB
  83. #define INPT4    0xC
  84. #define INPT5    0xD
  85.  
  86. /* RIOT Addresses */
  87.  
  88. #define RAM    0x80    /* till 0xff */
  89. #define SWCHA    0x280
  90. #define SWACNT    0x281
  91. #define SWCHB    0x282
  92. #define SWBCNT    0x283
  93. #define INTIM    0x284
  94.  
  95. #define TIM1T    0x294
  96. #define TIM8T    0x295
  97. #define TIM64T    0x296
  98. #define T1024T    0x297
  99.  
  100. #define ROM    0xE000    /* To FFFF,0x1000-1FFF */ 
  101.  
  102. #endif
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.