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 / CSR-CODE.DOC < prev    next >
Text File  |  1994-02-07  |  11KB  |  227 lines

  1. _________________________________________________________________________
  2. \_____________________   _______________________________________________/
  3.        _________  ___|!  | ________  
  4.       /   __   | /   /:  ||   __   \ -%*]  THE HOLE /  LSD USHQ!  [*%-
  5.   o _(___( |!  |/   /|o  ||   |_)___) 
  6.      /\    |:  /   __    ||!  ______/ SYSOPS: OLDMAN, ETRON, HIGHLANDER
  7.     o  o   |o (   (  |   ||:  |_)   ) D-MAN, ZANDOR
  8. __________ |   \___\ |___||o  _____/_______________________      __
  9. \________ \|___|__________|___|____/ ______________________>    (__)
  10.  ________\________      ____________/__________          _        _
  11.  \  __  !| |   | /__/\__\ |   |   \  __   __   \    __  _)\      (_)
  12.   \ \|  :|_|   |/ \ OO / \|  !|____\ \|!  |_)___)   \ \/  o\     O
  13.    \/|   ___   /  /_\/_\  \  :|\   \\/|:  ______/    ) /|\__). o
  14.     /    | |! (     \/     ) o|_)   )/ o  |_)   )   /_/\___/
  15.    /_____| |:  \__________/________//__   _____/            
  16.  __________|o  |______________________|   |____
  17. /______________________________________________\
  18.  
  19.           Node1               Node2                Node3
  20.          PRIVATE         419-899-2754           419-899-2765
  21.                            RINGDOWN
  22.  <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
  23.                         This file was leeched from:
  24.  ..THE..
  25.    _______/\_______    /\____    /\_________/\  _____/\/\_______/\______
  26.   /       \____    \  /  \   \  /  \   ______/\/    /  \____    \____   \
  27.  // __|___  /  |    \/    \   \/   /   ___/___   __/    \/  |    \   |   \
  28. /   \__   \/      __/      \      /   |   |  /   |/      \     __/   |   \\
  29. \      |  /    \   \__ /\   \__  /    |   | /  __/   /\   \ \   \|_  |    /
  30.  \________\____|\    /__/\    / /\________| \__\    /\____/_|\    /______/
  31.                  \  /     \  /\/-rAt            \  /          \  /
  32. <---- --- - ---- -\/--- ---\/---- ---- ------ -- \/-- - - --- -\/---- ---->
  33.           Q.U.A.R.T.E.X  MEGA HQ (AMIGA+CONSOLE) & H.Y.B.R.I.D (IBM)
  34.  
  35.             Uploaded at: 02:36:04 on: 23-Apr-93 By: RAMRAIDER           
  36.  
  37.  <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
  38. ;       Welcome to the first installment of "How to code SNES"
  39. ; This first volume will show you how to make a simple text intro. It uses
  40. ;mode 0 graphics with no DMAs (Horizontal or General) and is the simplest
  41. ;type of intro you can make. We're starting small so you can easily understand
  42. ;what to do. Other future volumes will contain other graphic modes,
  43. ;Horizontal DMA (HDMA, the SNES version of an amiga copperlist), General DMA,
  44. ;Interrupts, and a brief section on Sound. Originally we were going to release
  45. ;the full Super Famicom Programmer's Manual but believe it or not, this manual
  46. ;a pile of garbage. Contrary to the popular belief that we always had the
  47. ;manual, this is NOTátrue. The White Knight happened to meet a very cool
  48. ;guy at the CEBIT in Germany and has gotten the manual 2 weeks ago!
  49. ;Yes! What you have seen from us before was true coding. We started out
  50. ;by hacking and working our way to the top. We didn't wait until we bought
  51. ;a manual. In fact, the manual was sent to us for FREE! This book isn't
  52. ;worth paying for!
  53.  
  54.  
  55.  If White Knight had contacted us anytime in the last 6 months he could of had
  56.  a manual - instead he took the huff at Quattro's attitude.
  57.  
  58.  
  59. ;Let's clear up a few misunderstandings about that SNESámanual!
  60. ;1) This book does NOT teach you assembly language!!
  61. ;   It would help if you knew a little before trying to code this machine!
  62. ;
  63. ;2) This book was not written such as other reference guides you can find in
  64. ;   a store, like Mapping the Amiga, or even Mapping the C64.
  65. ;   It tells you barely and confusingly what the registers do. Period.
  66. ;
  67. ;3) This book is about 148 pages long and that includes the Sound Section.
  68. ;   Some have said it was the size of a phone book. Unless live in
  69. ;   Mud Hole, Kentucky this is NOT the case!
  70.  
  71.  
  72.  I dont know what fuckin manual you have got but mine is 300 pages and
  73.  includes a full section on the assembler as well.
  74.  The manual is a good reference manual, the english is a bit confusing but
  75.  it works well.  It is not an idiots guide to the SNES, but it aint intended
  76.  as this - only veteran coders are supposed to have it.
  77.  
  78.  
  79. ;You cannot do this! $c000 is ROM and you can not write to ROM!
  80. ;To write to ram, simply write to any address between $0000-$1fff.
  81. ;If you need more memory you will find plenty at bank $7e and $7f
  82. ;These 2 banks contain memory from $0000-$ffff. These 2 banks each contain
  83. ;64k ofram totalling 128k for your own use!
  84. ;If you need to write to these directly, just use the LONG STA command
  85. ;example:
  86. ;sta $7ec000
  87. ;This will write to bank $7e at address $c000!
  88.  
  89.  
  90.  dont forget there is only 120k at the top of memory the other 8k is mapped 
  91.  through the whole memory map at 0-$1fff.
  92.  
  93.  
  94. ;You will notice when looking at the source code something very strange.
  95. ;Some registers are written to twice in a row! This because some registers
  96. ;need more than one 8 bit info, such as the scroll X registers. In these
  97. ;registers you can enter any number between $0-$07ff, but they are written
  98. ;as two 8 bit numbers, one right after another.
  99. ;example:
  100. ;lda #$07
  101. ;sta $210d
  102. ;lda #$00
  103. ;sta $210d
  104. ;This writes #$0007 to $210d, plane 0 scroll x register.
  105.  
  106.  
  107.  
  108.     why not use the efficient method
  109.  
  110.     lda    #$7
  111.     sta    $210d
  112.     stz    $210d
  113.  
  114.  
  115. ;The Super NES system has it own graphics processor. This requires its own
  116. ;ram to read/write graphics data.  This ram can only be accessed through
  117. ;certain registers such as $2118 + $2119.  To access Video Ram you MUST
  118. ;turn off the video or you must be in screen blank (horizontal or vertical).
  119. ;This is one of the downsides of the SNES.
  120. ;Video Ram allows the storage of map planes and tile graphics.
  121. ;VRAM is only 64k long and can not be used as regular ram. You can not
  122. ;program in it, it is a separate unit!
  123.  
  124.  
  125.  you can store wotevere ya want in vram, programs if ya want!!!!
  126.  
  127.  you can put data in at anytime u like not just the blank times - less time
  128.  available outside of the blanks though..
  129.  
  130.  apart from these little quotes of critism, not bad, a good idea would
  131.  be nice to see some intros that aren't lame - I thought they would
  132.  improve but the last few have been so shite it aint tru, i'm sure as we 
  133.  ripped music 12 months ago, other peeps would be able to do it by now
  134.  and put it in intros.
  135.  
  136.  I find it funny that PAN-HANDLE goes on about going the Klan and killing
  137.  a Nigger, I thought White Knight was slightly tainted in that direction,
  138.  so when ya gonna kill him then??? Leave the nogs for now and get those
  139.  bone-idle curry peddlers.................
  140.  
  141.  hehehe rant rant rant - MAKE A EFFORT ON THE SNES DONT JUST PUT A PISS
  142.  SIMPLE INTRO OUT - PUSH THE FUCKIN MACHINE>>>>>>>>>>>>>>>>>>>>>
  143.  
  144.  Corsair..........
  145.  
  146.  Additional note about the source code :
  147.  
  148.  A "veteran coder" would take one look at it and tell you it is inefficent.
  149.  
  150. RamRaider at the keys now :
  151.  
  152. If you really want to code on the SNES and need help from professionals :
  153.  
  154. Call The GRaVEYARD BBS QUARTEX MEGA-HQ  +44-YOU-KNOW-IT, which has just
  155. started running a developers conference to help promote professional coding.
  156.  
  157. Peeps In Charge : Corsair & Dax 
  158.  
  159. Peep who pesters and Leaves stupid msgs about cheese : RamRaider!
  160.  
  161. Two Points :
  162.  
  163. 1. SNASM for the 68k and 65816 (SNES) cracked will be available for
  164.    download from the above BBS in the developers conference.
  165.    It will be uploaded there and no where else. Unless someone spreads
  166.    it for the glory. 
  167. 2. We also have the latest SNES manual with F/X, DSP1, DSP2 etc notes.
  168.    It is less than a week old.
  169.  
  170. PS.  If ya take offence from this Text then fuck off.
  171.      Spelling Mistkes are Copyright.
  172.  
  173. PPS. We do not give a shit wot ya think, and if ya take it the wrong way
  174.      Then fuck you!
  175.  
  176. Quick greet from RamRaider to Beast/QTX, fuking southern wanker!! hahaha
  177.  
  178. And also to Dax who seems to be working FAR too HARD.
  179.  
  180. BBS Ads to follow this wonderfully Piece of text :
  181.  <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
  182.  
  183.                         This file was leeched from:
  184.  ..THE..
  185.    _______/\_______    /\____    /\_________/\  _____/\/\_______/\______
  186.   /       \____    \  /  \   \  /  \   ______/\/    /  \____    \____   \
  187.  // __|___  /  |    \/    \   \/   /   ___/___   __/    \/  |    \   |   \
  188. /   \__   \/      __/      \      /   |   |  /   |/      \     __/   |   \\
  189. \      |  /    \   \__ /\   \__  /    |   | /  __/   /\   \ \   \|_  |    /
  190.  \________\____|\    /__/\    / /\________| \__\    /\____/_|\    /______/
  191.                  \  /     \  /\/-rAt            \  /          \  /
  192. <---- --- - ---- -\/--- ---\/---- ---- ------ -- \/-- - - --- -\/---- ---->
  193.           Q.U.A.R.T.E.X  MEGA HQ (AMIGA+CONSOLE) & H.Y.B.R.I.D (IBM)
  194.  <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
  195.                                                      [AíRaDDer v3.1 By AíRc°]
  196.  
  197. ------------------------------------------------------------------------------
  198.                    CaLL THe °Ne aND °NLY PLeaSuRE D°ME
  199. ------------------------------------------------------------------------------
  200.  
  201.      |  ____   _       _____   _____   _____   ___|\   _____   _____  |
  202.   ___|_/  _¼\_/¼|    _/   __\_/ _  ¼\_/ ____\_/   | \_/   _¼\_/   __\_|__ _
  203.     °:    |  |  |    |    |_\|  |    |  |___\|    |  |    | _|    |_\_:°__
  204.      :    |  |  |   _|   __/ |  _    |\__    |    |  |    _ \_   __/ _|__ _
  205.      :    |  |  |__/¼|   ¼|_/|  |    |\_|    |    |  |    |  |   ¼|_/ :°
  206.      :    |  |  |    |    |  |  |    |  |    |    |  |    |  |    |   :
  207.      :    |  |  |    |    |  |  |    |  |    |    |  |    |  |    |   :
  208.      :    |  |  |    |    |  |  |    |  |    |    |  |    |  |    |   :
  209.      :    ¼ _|  |    |    |  |  |    |  |    |    |  |    |  |    |   :
  210.      :   __/ |  |    |    |  |  |    |  |    |    |  |    |  |    |   :
  211.      :   ¼|  |  |    |    |  |  |    |  |    |    |  |    |  |    |   :
  212.   _°_:_   |  |  ¼    |    ¼  |  |    |  ¼    |    ¼  |    |  |    ¼  _:_°_
  213.      | \__|  »\_____/»\_____/»\ |___/»\_____/»\_____/»\___| /»\_____/ |
  214.      |                         \|                         |/          |-rS!
  215.                                   ░░ DD ░ OO ░ MMá░ EE ░░    
  216.      N°DE 1(DHST):+43-XXXX-XXXX                  N°DE 2(HST):+43-XXXX-XXXX
  217.  
  218.                            DiaM°NDS & RuST euR°PeaN HQ
  219.                     ----------------------------------------
  220.                           aMiGa / SNeS / GeNeSiS / iBM
  221.  
  222.         SYS°PS: [-STE\/E/D&R-],B°°N KiD/D&R,eTR°N&J°Ker,eD°,CeViN KeY
  223.