/*===================================================================*/
/*                                                                   */
/*  readme.txt : NES Emulator for PSX (for Developers)               */
/*                                                                   */
/*  2000/02/10  Racoon  New preparation                              */
/*                                                                   */
/*===================================================================*/

This was written by the translation software.

/*-------------------------------------------------------------------*/
/*  What is pNesX?                                                   */
/*-------------------------------------------------------------------*/

  It is a NES Emulator to play on PSX.
  It can be played only with PSX which can read CD-R.
  It is a speed like 1/10 of the actual time.

/*-------------------------------------------------------------------*/
/*  for Developers                                                   */
/*-------------------------------------------------------------------*/

  It won't be developed any further with being disappointed.
  Continue the development by all means because source file is introduced 
  to the public.

/*-------------------------------------------------------------------*/
/*  About the source file                                            */
/*-------------------------------------------------------------------*/

  There is no limitation in the modification, the distribution, and so on.
  Hope that it can have a modified source file introduced to the public.

  List of source files

  [NES Hardware]
    pNesX.cpp
    pNesX.h
    K6502_rw.h
 
  [Mapper]
    pNesX_Mapper.cpp
    pNesX_Mapper.h
 
  [The function which depends on a system]
    pNesX_System_ooo.cpp (ooo is a system name. psx, win, ...)
    pNesX_System.h
 
  [CPU]
    K6502.cpp
    K6502.h
 
  [Type definition]
    pNesX_Types.h

  Use it at the time of the development because the one for Windows 
  was prepared for in the function which depended on a system, too.

  Some files are being recorded in these others.

    makefile
        Make file
  
    ascii.tim
    misc.tim
    icon.tim
        Image files for the menu.(It is unified in pNesX.exe)

    pNesX.scr
        Use it when you make pNesX.exe.

    SYSTEM.CNF
        Start up file for the CD

    ROMLIST.INI
        Sample of the ROM list file

    pNesX_Resource_Win.h
    pNesX_Resource_Win.rc
      Resource file for the Windows edition

    pNesX_Win.exe
      pNesX for Windows (For the evaluation)

    readme.txt (English)
    readmej.txt (Japanese)
        This file

/*-------------------------------------------------------------------*/
/*  Requirements                                                     */
/*-------------------------------------------------------------------*/

  PSX (It isn't being tried with all the models.)
  It can be played only with PSX which can read CD-R.

/*-------------------------------------------------------------------*/
/*  What it does                                                     */
/*-------------------------------------------------------------------*/

  Basic NES hardware.
  Sound isn't mounted at all.
  The ROM file which supports with it is the file of the iNES format. (.NES)
  It will supports with a mapper #0,1,2,3,4.
  It doesn't supports with the ROM of 1MB.
  Keep the contents of the backup RAM in the memory card. (Only a Slot1)

/*-------------------------------------------------------------------*/
/*  How to work it                                                   */
/*-------------------------------------------------------------------*/

  Write all the necessary files in CDR.
  It isn't written here to be detailed.
  It thinks that it can obtain various information on the Internet.

  Reference link
    PSX CD MAKING http://www.arrakis.es/~ccarloss/ 

  Next make a ROM list file if you can make "PNESX.EXE" which is 
  an executive file to play on PSX.
  Write title of the ROM and a place in this file.
  Make it with suitable text editors.
  A format is the following.

    [title]
    FileName=file name

    [title]
    FileName=file name

    ...
    ...
    ...

  The repetition of this.
  A title and file name is a maximum 40 characters.
  Do referring to "ROMLIST.INI" of the sample.
  The number of the maximums is 500 title.

  Make a CD by the following directory composition if you can 
  make "PNESX.EXE" and "ROMLIST.INI".

    [Root directory]
      PNESX.EXE
      SYSTEM.CNF
      ROMLIST.INI

      [sub directory]
         romfile
         romfile
         romfile
         ...
         ...

      [sub directory]
         romfile
         romfile
         romfile
         ...
         ...

      ...
      ...
      ...


    Put "PNESX.EXE", "ROMLIST.INI", "SYSTEM.CNF" on the route directory.
    And put a ROM file as specifying it with ROMLIST.INI.
    (NotejIt is said that only about 30 files can be put in 1 directory 
           in specification of PSX. It is said that about 30 directories 
           are a limits, too.

    It doesn't play with PSX even if it has it with the CD just like this.
    Write it after making an image file referring to PSX CD MAKING and so on.
    In the case of me, A CCS file was made with a certain tool,
    (A system area file isn't specified.), and an ISO image was made with 
    the next batch file.

    ccs2iso.bat:
    --------------------------------------------
      echo off

      if "%1" == "" goto usage

      ccs2cti %1.ccs
      buildcd -i%1.img %1.cti
      stripiso 2336 %1.img %1.dat
      copy /b 2336mx.iso+%1.dat %1.iso
      echo Done!
      goto end

      :usage
      echo Usage: CCS2ISO ccsfile
      echo Ex.
      echo   Make test.iso from test.ccs
      echo   CCS2ISO test

      :end
    --------------------------------------------

    2336mx.iso is the thing which read head 16 sectors of the suitable game 
    with CDRWIN.
    Data type is Data - Mode2 mixed (2336)
    I am sorry if it is wrong.

    After that, Write ISO image with B's Recorder GOLD

/*-------------------------------------------------------------------*/
/*  How to operate it                                                */
/*-------------------------------------------------------------------*/

  Menu screen (Only a controller 1 is effective.)
    Circle   : Select a ROM
    L1       : Return to NES screen
    R1+R2    : Reset

  NES screen (A controller 1, 2 are effective.)
    Direction button : Direction button
    Circle, Square   : A button
    Cross, Triangle  : B button
    START            : START button
    SELECT           : SELECT button
    L1               : Return to Menu screen (Only a controller 1)

  Incidentally, how to operate a Windows edition
    Menu screen
      Open button  : Select a ROM
      ESC key      : Return to NES screen
      Reset button : Reset

    NES screen
      Cursor keys  : Direction button
      Alt key      : A button
      Ctrl key     : B button
      Enter key    : START button
      Tab key      : SELECT button
      ESC key      : Return to Menu screen

/*-------------------------------------------------------------------*/
/*  About the program                                                */
/*-------------------------------------------------------------------*/

  A frame skip was taken because it was late (3 frames)
  It can be changed by changing the value of FrameSkip being set with 
  pNesX_Reset().

  It can't be compiled if comment out doesn't do delete() in the file.
  A change may become necessary by the environment.

/*-------------------------------------------------------------------*/
/*  Thanks                                                           */
/*-------------------------------------------------------------------*/

  Appreciate everyone who has the materials related to NES, PSX on 
  the Internet introduced to the public.
  Especially, Mr. MaratFayzullin's and Mr. Y0SHi's document was very helpful.

/*-------------------------------------------------------------------*/
/*  Postscript                                                       */
/*-------------------------------------------------------------------*/

  It could be done somehow. However, it is late. What is it?
  As for FCEMU, it is said that 60fps comes out. blue.

  Before selling a certain famous RPG VII, it was good that 
  it could be released. I and II seem to play.

  Well, good-bye.   2000/02/10  Racoon

