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 / SWC.TXT < prev    next >
Text File  |  1994-02-07  |  11KB  |  302 lines

  1.                  
  2.                    E.V.O.L.U.T.I.O.N.   A.U.S.T.R.A.L.I.A.
  3. o                o        o
  4.                /\                /\      /\           ___o               ___o
  5. o_____________/  \_ _______o    /  \    /  \_________|   |____________o |   |
  6. \      __    /   / |\       \  /  ./  __\   \    _   \   |\       \   \ |  .|
  7.  \ \__/_/___/  ./  |/\  /\  .\/  o/  |  .\   \___\)  .) .|/\  /\   \ \ \|  o|
  8.  /\_______//  o/   /   / /  o/  O/___|  o|\   \  /  o/  o/   / /  o/ .\ \  O|
  9. /   /_/  O/  O/|  (   (_/  O/   /_)   ) O|_)   )/  O/|  (   (_/  O/  o|\    |
  10. \    ____/_________\   \___/_________/________//   / |___\_______/|  O| \___|
  11. _\   \______________\   \_____________________/   /               |   |______
  12. _________________________________________________/ Poise/RaZoR PC |__________
  13.  
  14.    Presents : The Super Wild Card & Super Magicom Programmers Handbook.
  15.  
  16.    Typed by : MicroChip/Evolution/Submission
  17.    
  18.    Call the Evolution WHQ on : Southern Cross BBS (SNES/MD/PC/AMIGA)
  19.                                --> +61-3-428-9359 (2 Nodes Ringdown)
  20.  
  21.                                   
  22.  ***************************************************************************
  23.  
  24.  
  25. HardWare Specifcations & Features
  26. ---------------------------------
  27.  
  28.  
  29. 1) DRAM - 28Mega Bits Maximum Available
  30. 2) SRAM - 256k (Battery Backup)
  31. 3) ROM - 128k (Firmware)
  32. 4) Floppy Drive Interface -
  33.    * Motorola MCS3201 Chip (NEC 765A Compatible)
  34.    * Compatible with IBM PC/AT & XT Disk Drive System
  35.    * Suports 3.5" & 5.25" Flopy Disk Drive.
  36.    * DB-25 Female Connector (non-standard)
  37.    * Supports only Non-DMA mode (polling)
  38. 5) Parallel Port Interface -
  39.    * 8 bits input, 4 bits output, 1 bit handshake.
  40.    * DB-25 Female Connector
  41.    * Use Male to Male DB-25 Connector to connect to PC's Parallel Port
  42. 6) Core Chip -
  43.    * Altera EP1810 Chip (First Generation)
  44.    * Front Far East FC9203 Chip (Currently Shipping)
  45.    * Front Far East FC9304 Chip (Not Avilable)
  46. 7) Versions -
  47.    Ver.  Bios-Name   Core    Mode21   Saver   Description
  48.    'A'   Magicom     EP1810  No       Yes     External Drive
  49.    'B'   Wild Card   EP1810  Yes      Yes     External or Bulid-in DD
  50.    'C'   Wild Card   FC9203  Yes      Yes     External or Bulid-in DD
  51.    'D'   Wild Card   FC9304  Yes      Yes     (Under Development)
  52.    'E'   Wild Card   EP1810  Yes      No      Magic Drive Adapter
  53.    'F'   Wild Card   FC9203  Yes      No      Magic Drive Adapter
  54.  
  55.  
  56. SoftWare Specifications & Features
  57. ----------------------------------
  58.  
  59. 1) Registers -
  60.  
  61.    [Floppy Drive I/O]
  62.    C000R : Input Register
  63.            Bit 7 - MCS3201 IRQ Signal
  64.            Bit 6 - Drive 'Index' Signal (Disk Insert Check)
  65.    C002W : Digital Output Register
  66.    C004R : Main Status Register
  67.    C005RW: Data Register
  68.    C007R : Digital Input Register
  69.    C007W : Disk Control Register
  70.    * Consult the MCS3201 Data Sheet for more detailed information.
  71.  
  72.    [Parallel I/O]
  73.    C008R : Bit 07 : Parallel Data Input (reading this register will
  74.                                          reverse the busy flag)
  75.    C008W : Bit 03 : Parallel Data Output
  76.            Bit 00 :  0=Mode 20, 1=Mode 21 (DRAM Mapping)
  77.            Bit 01 :  0=Mode 1, 1=Mode 2 (SRAM Mapping)
  78.  
  79.    C009R : Busy Flag, Bit 7 (EP1810 Version)
  80.    C000R : Busy Flag, Bit 5 (FC9203 Version)
  81.  
  82.    [Page Select]
  83.    E000W : Memory Page 0
  84.    E001W : Memory Page 1
  85.    E002W : Memory Page 2
  86.    E003W : Memory Page 3
  87.  
  88.    [Mode Select]
  89.    E004W : System Mode 0 (Bios Mode, Power On Default)
  90.    E004W : System Mode 0 (Play Cartridge)
  91.    E004W : System Mode 0 (Cartridge Emulation 1)
  92.    E004W : System Mode 0 (Cartridge Emulation 2)
  93.  
  94.    [Others]
  95.    
  96.    E008W : 44256 Dram Type (For 2,4,6,8 Mega Dram Card.
  97.    E009W : 441000 Dram Type (For 8,16,24,32 Mega Dram Card)
  98.  
  99.    E00CW : Enable cartridge page mapping at A000FFF (Sys Mode 0)
  100.            Disable cartridge page mapping at bank 205F,A0 (Sys Mode 2,3)
  101.    E00DW : Enable SRAM page mapping at A000FFF (Sys Mode 0)
  102.            Enable cartridge mapping at Bank 205F,A0 (Sys Mode 2,3) 
  103.            
  104.    * The bank address of the above registers is 007D,80.
  105.    * The above registers are available only in System Mode 0 (BIOS Mode)
  106.    * [Mode Select] registers also available in System Mode 2.
  107.  
  108. 2) Memory Mapping -
  109.  
  110.    [System Mode 0]
  111.    bb2000B3FFFRW : SRAM or Cartridge page mapping, bb=407D,C0 
  112.    bb8000B9FFFRW : DRAM page mapping, bb=007D,80
  113.    bbA000bBFFFRW : SRAM or Cartridge page mapping, bb=007D,90
  114.    bbC000W : I/O Registers, bb=007D,80 (Registers)
  115.    bbE000bFFFFR  : ROM Page mapping, bb=01 (Firmware)
  116.  
  117.    * 1 Page = 8k Bytes, 1 Bank = 4 pages
  118.    * bb:000F = 4 Mega Bytes
  119.    * bb:001F = 8 Mega Bytes
  120.    * bb:002F = 12 Mega Bytes
  121.    * bb:003F = 16 Mega Bytes
  122.  
  123.    [System Mode 1]
  124.    bb0000b7FFFR : Cartridge Mapping, bb=407D,C0 (Mode 21)
  125.    bb8000bFFFFR : Cartridge Mapping, bb=007d,80 (Mode 20,21)
  126.  
  127.    [System Mode 2]
  128.    bb0000b7FFFR : DRAM Mapping, bb=407D,C00 (Mode 21)
  129.    bb8000BFFFFR : DRAM Mapping, bb=0070,800 (Mode 20,21)
  130.    70800070FFFFRW : SRAM Mode 1 Mapping
  131.    306000307FFFRW : SRAM Mode 2 Mapping, Page 0
  132.    316000317FFFRW : SRAM Mode 2 Mapping, Page 1
  133.    326000327FFFRW : SRAM Mode 2 Mapping, Page 2
  134.    336000337FFFRW : SRAM Mode 2 Mapping, Page 3
  135.  
  136.    * bbE004bE007W : Mode Select Registers, bb=007D,80
  137.  
  138.    [System Mode 3]
  139.    bb0000b7FFFR : DRAM Mapping, bb=406F,C0 (Mode 21)
  140.    bb8000BFFFFR : DRAM Mapping, bb=006F,80 (Mode 20,21)
  141.    70800070FFFFRW : SRAM Mode 1 Mapping
  142.    306000307FFFRW : SRAM Mode 2 Mapping, Page 0
  143.    316000317FFFRW : SRAM Mode 2 Mapping, Page 1
  144.    326000327FFFRW : SRAM Mode 2 Mapping, Page 2
  145.    336000337FFFRW : SRAM Mode 2 Mapping, Page 3
  146.  
  147.    * Mode 21 - Even DRAM is mapped to bb0000b7FFF
  148.                Odd  DRAM is mapped to bb8000bFFFF
  149.  
  150.  
  151. 3) Parallel I/O Protocol - 
  152.  
  153.    [Protocol used in PC]
  154.                                  
  155.    * Byte Output procedure:
  156.        Wait Busy Bit = 1           Status Port Bit 7  (Hex n79,n7D)
  157.        Write One Bytes             Data Latch         (Hex n78,n7C)
  158.        Reverse Strobe bit          Control Port Bit 0 (Hex n7a,n7E)
  159.  
  160.    * Byte Input procedure:
  161.        Wait Busy Bit = 0           Status Port Bit 7  (Hex n79.n7D)
  162.        Read Low 4 bits of byte     Status Port Bit 36 (Hex n79.n7D)
  163.        Reverse Strobe bit          Control Port Bit 0 (Hex n7A.n7E)
  164.        Wait Bust Bit = 0           Status PortBit 7   (Hex n79.n7D)
  165.        Read High 4 Bits of byte    Status Port Bit 36 (Hex n79.n7D)
  166.        Reverse Strobe Bit          Control Port Bit 0 (Hex n7A.n7E)
  167.  
  168.     * 5 Types of Commands
  169.  
  170.     * Command length = 9 bytes
  171.  
  172.     * Command Format:
  173.       Byte 1  D5              ID Code 1
  174.       Byte 2  AA              ID Code 2
  175.       Byte 3  96              ID Code 3
  176.       Byte 4  00|01|04|05|06  Command Code
  177.       Byte 5  A1              Low Byte of Address
  178.       Byte 6  AH              High Bytes of Address
  179.       Byte 7  LL              Low Byte of Data Length
  180.       Byte 8  LH              High Byte of data Length
  181.       Byte 9  CC              Checksum = 81^Byte4^Byte5^Byte6^Byte7^Byte8
  182.      
  183.      * Command [00] : Download Data
  184.        a1,ah = Address
  185.        11,1h = Data Length
  186.        Output Data after Command
  187.      
  188.      * Command [01] : Upload Data
  189.        a1,ah = Address
  190.        11,1h = Data Length
  191.        Input Data after Command 
  192.        
  193.      * Command [04] : Force SFC Program to JMP  
  194.        a1,ah = address
  195.  
  196.      * Command [05] : Set Memory Page Number
  197.        a1 Bit 1 = Page Number
  198.        a1 Bit27 + ah Bit 1 = Bank Number
  199.  
  200.      * Command [06] : SUB Function
  201.        a1 = 0  Initial Device
  202.        a1 = 1  Play Game in DRAM
  203.        a1 = 2  Play Cartridge
  204.  
  205.  
  206. Password Format
  207. ---------------
  208.  
  209. 1) Description -
  210.    Use the Data in the password to replace the data in the memory
  211.    at the offset address (according to the game file)
  212.  
  213. 2) Format 1 -
  214.    * Game Doctor Gold Finger Format
  215.    * 20 bits address space assigment
  216.    * 3 data bytes per string
  217.    * [Gaaaaaddddddccc]
  218.      'G'    = Means Game Doctor Format 
  219.      aaaaa  = Offser address of game file (Excluding 512 bytes header)
  220.      dddddd = 3 data Bytes (If the second ot the third data is '00',
  221.                             this means that the data is uncganged in
  222.                             the second of third byte)
  223.      ccc    = Checksum (Not used in SWC and SMC)
  224.  
  225. 3) Format 2 -
  226.    * 'FFE' Format
  227.    * 24 bit address space assigment
  228.    * 1 to 36 data bytes per string
  229.    * No Checksum
  230.    * [nnaaaaaadd....]
  231.      nn     = Data bytes length
  232.      aaaaaa = Offset Address of Game file (excluding 512 bytes header)
  233.      dd.... = nn Bytes data (Should be nn*2 Characters)
  234.  
  235. File Header
  236. -----------
  237.  
  238. 1) Created by JSI/Front Far East
  239.  
  240. 2) 512 Bytes Length
  241.  
  242. 3) Byte
  243.     0   - Low Byte of 8k-Bytes page Counts
  244.     1   - High Byte of 8k-Bytes page Counts
  245.     2   - Emulation Mode Select
  246.           Bit 7 6 5 4 3 2 1
  247.               x             : 1=Run in Mode 0 (Jump $8000)
  248.                 x           : 0=Last File of the Game (Multi-File)
  249.                   x         : 0=Mode 1, 1=Mode 2 (SRAM Mapping)
  250.                     x       : 0=Mode 20, 1=Mode 21 (DRAM Mapping)
  251.                         x   : 0=Run in Mode 3, 1=Run in Mode 2 (JMP Reset)
  252.                           x : 0=Disable, 1=Enable (external cartridge
  253.                               memory image at Bank 205F,A0 System Mode 2,3)
  254.     8   - File ID Code 1 (Should be 'AA')
  255.     9   - File ID Code 2 (Should be 'BB')
  256.     10  - Check this byte if ID 1 & 2 Match
  257.           02 : Magic Griffin Game File (PC Engine)
  258.           03 : Magic Griffin SRAM Data File
  259.           04 : SWC & SMC Game File (SNES)
  260.           05 : SWC & SMC Password, SRAM data, Saver Data File.
  261.           06 : SMD Game File (Megadrive)
  262.           07 : SMD SRAM Data File
  263.     37  - Reserved (Should be 00)
  264.     11511 - Reserved (Should be 00)
  265.  
  266.  
  267.   ****************************** The End ***********************************
  268.  
  269.  
  270. Personal Greetings go to:
  271.  
  272. Ice/ATX - See ya at the Rave!
  273. Krayzi/PE - Stop pulling those pipes.
  274. Krimsym - See ya at Insanity!
  275. VIking Child/Submission - Use a condom next time!
  276. Ginnie/Razor - PC's RULE - NOT!
  277. TV & Revenger/Submission - Why an A4000?
  278. Poise/Razor - Where's my text screen??
  279. Itec/Submission - Lets get TCC going again? 
  280. Mixer/Mel - See ya at Kentucky!
  281. WormEater & RAM - Call my board!
  282. Kirk/Anthrox - How ya going Pete? Will Call ya soon!
  283. Mat - Speed kills - NOT!
  284. Choronzon - Let me see ya trade!
  285. Sweet Thing - Thanx for the support!
  286. Woody & Sandman - Call my bbs you lazy bastards.. hehe
  287. Cameo - I want a pre-release...
  288. Rotox - Call me..
  289. Mr. IRQ - Dove' il mio manuale?
  290. Jacknife - Thanx for the Support Dude!
  291. And to all my friends I have forgotten about coz I am tired!
  292.  
  293. Group Greetings go to:
  294.  
  295. Submission, Magical, Anthrox, Paradox, Razor, Fairlight, BSL, Elitendo, 
  296. PE, Quartex, Skid Row and to all others I missed! 
  297.  
  298. NOTE: If any Australian's wish to purchase a Super Wild Card they are
  299.       asked to call (03) 883-0297 (24hour paging service)............
  300.  
  301.  
  302.