home *** CD-ROM | disk | FTP | other *** search
/ Der Mediaplex Sampler - Die 6 von Plex / 6_v_plex.zip / 6_v_plex / DISK3 / DFUE_100 / FAMITXT.ZIP / FAMITECH.TXT < prev    next >
Text File  |  1994-02-07  |  9KB  |  198 lines

  1.                          THIS FILE PASSED THROUGH .....
  2.    _______________________________________________________________________
  3.   /                                                     DUAL   STANDARDS  \
  4.  /   *   *   *   *   *   *   *   *   *   *    *    *                       \
  5. /__  HS  AA  CD  OH  RD  SD  TR  MR  RS  CS  ARQ  SYN     FUSION  USHQ    __\
  6.    \---------------------------------------------------------------------/
  7.     \   F A S T R A X    KNOWN    W O R L D-W I D E  FOR 0-DAY WAREZ    /
  8.      \____   ___________________________________________________   ____/
  9.           \_/     Operating At 9600/57600   1.5 Gigz Online     \_/
  10.  
  11.   CALL: NODE1  1-201-939-4543 / NODE2  1-201-939-7597 / NODE3  1-201-933-8448
  12.  
  13.   16.8K DS  Locked at  57.6K /    16.8K DS   19.2K   /    14.4K DS   19.2K
  14.  
  15.      G V P  030 / 50Mhz   DUAL STANDARDS / V.32 / V.32bis / V.42bis / ASL
  16.  
  17.        SYSOPS: VOYAGER / SNOW QUEEN        COSYSOPS: SAINT / ALBATROSS
  18. -----------------------------------------------------------------------------
  19.  
  20.  p
  21. TH
  22. TH  ############################################################################
  23. TH  #                                                                          #
  24. TH  #         SEGA MEGADRIVE - NINTENDO SUPER FAMICOM - NEC PC-ENGINE          #
  25. TH  #                        More than just AMIGA..                            #
  26. TH  #                                                                          #
  27. TH  # 14.4k HST/V32bis -- ASL -- Locked at 38.4k -- Kickstart 2 -- 68030 40MHz #
  28. TH  #                                                                          #
  29. TH  #       FILE DOWNLOADED FROM TREASURE ISLAND BBS +44 (0)992 451 191        #
  30. TH  #                                                                          #
  31. TH  ############################################################################
  32.  p1HA
  33.  
  34.  
  35. ;
  36. ; version 1.0
  37. ;
  38.  
  39. Corsair + Kari presents the first doc of Fami hardware register
  40. locations and brief explanation of them..
  41.  
  42. If you would like to add any info found in this list please leave
  43. a mail message to Corsair or RamRaider on GRAVEYARD BBS +44-91-5160560
  44. or anything to do with the FAMICON/SNES..
  45.  
  46. We have an INTERNET address if ya want it leave true e-mail!
  47.  
  48. Or better still if ya can get the Programmers handbook (Both) please call
  49. and leave mail :) , or even the 100,000 quid SCSI SNASM board for FAMICON
  50. development :)
  51.  
  52. Also if you want more info contact us the same way..
  53.  
  54. We are esp looking for contacts to help get to grips with this new platform
  55. everybody welcome!
  56.  
  57. Special greetings to Starr/QUARTEX and any other True Console Dude! 
  58.  
  59. Memory Map
  60. ~~~~~~~~~~ 
  61. Bank    Address
  62. ~~~~    ~~~~~~~
  63.  
  64.  00-    0000-1fff       Lo RAM  (same as at $7e0000-$7e1fff)
  65.  7d     2100-2142(?)    Videochip Registers
  66.         4300-437f       DMA Registers
  67.  
  68.         8000-ffff       ROM:This contains 32k block of game ROM.
  69.                             So, the games are divided to 32k chunks
  70.                             which locate always at address $8000-$ffff,
  71.                             but in different banks. This means that the first
  72.                             32k of game is at $008000-$00ffff and next 32k
  73.                             is at $018000-$01ffff etc.
  74.  
  75.  7e     0000-1fff       Lo RAM (same as always at $0000-$1fff)  \
  76.         2000-ffff       RAM    \ I'm not sure about              } 128k RAM??
  77.  7f     0000-ffff       RAM    / this RAM                       /
  78.  
  79.  7f-ff  all             Not used???
  80.  
  81. $ffec($fffc) contains reset vector and $ffea($fffa) is NMI vector. The NMI is
  82. actually vertical blank interrupt.
  83.  
  84. Video Chip
  85. ~~~~~~~~~~
  86. size    loc.
  87. ~~~~    ~~~~
  88.   B     2100    Screen fade  x000bbbb   x=screen on/off  b=brightness(0-f)
  89.   B     2106    Screen Pixelation xxxxbbbb  x=pixel size b=planes to expand
  90.   B     2107    Plane 0 location in vram  xxxxxxab x=address ab=32/64 width xy
  91.   B     2108    Plane 1 location in vram  xxxxxxab      as above
  92.   B     2109    Plane 2 location in vram  xxxxxxab      as above
  93.   B     210a    Plane 3 location in vram  xxxxxxab      as above
  94.   B     210b    Tile VRAM address  aaaabbbb a=Playfield 0   b=Playfield 1       
  95.   B     210c    Tile VRAM address  ccccdddd c=Playfield 2   d=Playfield 3       
  96.  2B     210d    Plane 0 scroll x   8+3 bits (0-7ff) put first 8 bits and then
  97.  2B     210e    Plane 0 scroll y   8+3 bits  (0-7ff)  3 highest bits
  98.  2B     210f    Plane 1 scroll x                as above
  99.  2B     2110    Plane 1 scroll y                as above
  100.  2B     2111    Plane 2 scroll x                as above
  101.  2B     2112    Plane 2 scroll y                as above
  102.  2B     2113    Plane 3 scroll x                as above
  103.  2B     2114    Plane 3 scroll y                as above
  104.  B      2115    Video port control
  105.  W      2116    Video port address (lo-hi)
  106.  W      2118    Video port data (lo-hi) (address is incremented by 2)
  107.  B      2121    Palette color nr
  108.  B      2122    Palette color data
  109.  B      212C    Playfield Enable xxxxabcd  a-d = playfield number..
  110.  B      2133    Screen mode  0000ab0c a=Interlace Y  b=Overscan  c=Interlace X??
  111.      2140-2142  Audio Registers????
  112.  
  113. I/O
  114. ~~~
  115. W B     420b    Start dma (enable bits) bits: 76543210 = dma nr (8 DMA's)
  116. R B     4212    Pad ready to be read
  117. R W     4218    Pad 0 data      76543210 = A-B-Select-Start-U-D-L-R
  118.         4219                    76543210 = X-Y-Top Left-Top Right-0000
  119. R W     421a    Pad 1 data              as above 
  120. R W     421c    Pad 2 data              as above
  121. R W     421e    Pad 3 data              as above
  122.  
  123. DMA registers  ($4300-$437f)
  124. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  125.   B     43X0    DMA control reg??(not sure!)
  126.   B     43X1    DMA destination (Access only to some of the video chip
  127.                     registers ($2100-$21ff)
  128.                     $18=video port  $22=color palette
  129.   W     43X2    Source address lo-hi  16 lowest bits
  130.   B     43X4    Source Bank addr. 8 highest bits
  131.   W     43X5    Transfer size lo-hi
  132.  
  133.         X=dma number (0-7)  DMA #0= 4300-4305
  134.                             DMA #1= 4310-4315 ...
  135.                             DMA #7= 4370-4375
  136.  
  137.  Symbols:  size: B=byte long    2B=put 2 bytes    W=word long
  138.              R=read only  W=write only
  139.  
  140. Screen Details
  141. ~~~~~~~~~~~~~~
  142. Famicom Tile format is simple. Each Tile is 4 planes and 8x8 bits.
  143. 32 bytes are used per Tile .
  144.  
  145. PLANES 1  &  2                  PLANES  3  &    4
  146.     byte0   byte1                  byte 16   byte 17  
  147.     byte2   byte3                  byte 18   byte 19
  148.     byte4   byte5                  byte 20   byte 21
  149.      .....                              .......
  150.     byte14  byte15                 byte 30   byte 31
  151.  
  152. Screen Map
  153. ~~~~~~~~~~
  154. Famicom can use only Tiles $0-$3ff, max 1024 chars.
  155. 16 bits:   YX?c ccNN NNNN NNNN
  156.            fedc ba98 7654 3210
  157.  
  158.   Y = mirror y     X = mirror x   ?=unknown
  159.   ccc = palette nr (8 palettes)   NN.. = character number
  160.  
  161. Screen Resolution is normally 32x30 - 64 bytes / line
  162.  
  163. Screen VRAM Location
  164. ~~~~~~~~~~~~~~~~~~~~
  165. Screen Width 32x32 offset for x,y       0,0   = 0
  166.  
  167. Screen Width 64x32 offset for x,y       0,0   = 0
  168.                                         33,0  = $400
  169.  
  170. Screen Width 32x60 offset for x,y       0,0   = 0
  171.                                         0,31  = $400 
  172.  
  173. Screen Width 64x60 offset for x,y       0,0   = 0
  174.                                         33,0  = $400
  175.                                         0,31  = $800
  176.                                         33,31 = $c00
  177.  
  178. As can be seen if a wider mode is selected the extra height/width follow
  179. after the main screen in memory.
  180.  
  181. ╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½
  182.                               DoWnLoAdEd  FrOm 
  183.  
  184.    /\_____/\______________/\_____  /\    _/\___  ___/\___/\______/\  ___    
  185.   /  _  \_   _  <  ___/____  \   \/  \  /  ___ \/____  \_   _  <   \/  /    
  186.   \   \  \   \   \  >_\   \_  \  \_/  \ \   ___/\   \_  \   \   \_   _ \    
  187.    \ ____/\__/\_ /_____\  /\__/\___\_ /  \  /    \  /\__/\__/\_ /\__/\__\   
  188.     \/         \/       \/          \/    \/      \/          \/       [KAM]
  189.                          --==╗╗ TRiTON CHHQ ½½==--
  190.  
  191.                      + +  4  1  -  6  1  8 5 1  0  0  2  6
  192.  
  193.      THE MASTAS ARE: SPiDER/TRITON & KAMENSKI/SCOOPEX & OZZY/2000 A.D.
  194.  
  195. ╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½½
  196.  
  197.