
    Welcome to PSPTHOM - 1.0.3

Original Authors of THOM

  Sylvain Huet    (see http://www.sylvain-huet.com)
  Eric Botcazou   (see http://nostalgies.thomsonistes.org/)

Author of the PSP port version 

  Ludovic.Jacomme also known as Zx-81 (see http://zx81.zx81.free.fr)

  *** Special Thanks ***

  -> to XazZ for his comments, feedback and suggestions.


1. INTRODUCTION
   ------------

  Thom is one of the best emulator of the Thomson home computer running
  on MacOS, Windows and Unix. The emulator faithfully imitates the
  TO7-70 model (see http://nostalgies.thomsonistes.org/)

  PSPTHOM is a port on PSP of the version 1.5.5 of Thom.

  Special thanks to Danzel and Jeff Chen for their virtual keyboard,
  and to all PSPSDK developpers.

  This package is under GPL Copyright, read COPYING file for
  more information about it.


2. INSTALLATION
   ------------

  Unzip the zip file, and copy the content of the directory fw2.x or fw1.5
  (depending of the version of your firmware) on the psp/game directory.

  Put your snapshot files generated using the Windows version of Caprice32
  on "snap" sub-directory, or disk image on "disk" sub-directory.

  It has been developped on linux for Firmware 1.5 and i hope it works also
  for 2.x using the great eloader (0.99x) from http://www.noobz.eu/.

  For any comments or questions on this version, please visit 
  http://zx81.zx81.free.fr or http://zx81.dcemu.co.uk


3. CONTROL
   ------------

  In the THOM emulator window, there are three different mapping 
  (standard, left trigger, and right Trigger mappings). 
  You can toggle between while playing inside the emulator using 
  the two PSP trigger keys.

    -------------------------------------
    PSP        TO7-70          (standard)
  
    Square     Space
    Triangle   ENTER
    Circle     1
    Cross      Joystick Fire
    Up         Up
    Down       Down
    Left       Left 
    Right      Right

    Analog     Joystick

    -------------------------------------
    PSP        TO7-70   (left and right trigger)
  
    Square     STOP
    Triangle   ENTER
    Circle     1
    Cross      Joystick Fire
    Up         Up
    Down       Down
    Left       Left 
    Right      Right
    LTrigger   Escape
    RTrigger   Space
  
    Analog     Joystick
    
    Press Start  + L + R   to exit and return to eloader.
    Press Select           to enter in emulator main menu.
    Press Start            open/close the On-Screen keyboard

  In the main menu

    RTrigger   Reset the emulator

    Triangle   Go Up directory
    Cross      Valid
    Circle     Valid
    Square     Go Back to the emulator window

  The On-Screen Keyboard of "Danzel" and "Jeff Chen"

    Use Analog stick to choose one of the 9 squares, and
    use Triangle, Square, Cross and Circle to choose one
    of the 4 letters of the highlighted square.

    Use LTrigger and RTrigger to see other 9 squares 
    figures.


4. LOADING TAPE FILES (K7)
   ------------

  If you want to load tape image in the virtual drive of your emulator,
  you have to put your tape file (with .zip or .k7 file extension) on your PSP
  memory stick in the 'k7' directory. 

  Then, while inside THOM emulator, just press SELECT to enter in the emulator 
  main menu, choose "Load K7", and then using the file selector choose one tape 
  file to load in your emulator.

  To run the game of your tape file, you have to use the virtual keyboard
  (press START key) and type the TO7-70 command 'LOADM"",,R' followed by 
  ENTER (Triangle).

  You can also use directly the shortcut in the emulator menu (Command LOADM option)

  To RUN BASIC program, you have to type the TO7-70 command 'RUN""' followed
  by ENTER (Triangle)

  You can also use directly the shortcut in the emulator menu (Command RUN option)

  It may happen that you need to rewind the tape using the Rewind K7 menu ...

   
5. LOADING KEY MAPPING FILES
   ------------

  For given games, the default keyboard mapping between PSP Keys and TO7-70 keys,
  is not suitable, and the game can't be played on PSPTHOM.

  To overcome the issue, you can write your own mapping file. Using notepad for
  example you can edit a file with the .kbd extension and put it in the kbd 
  directory.

  For the exact syntax of those mapping files, have a look on sample files already
  presents in the kbd directory (default.kbd etc ...).

  After writting such keyboard mapping file, you can load them using 
  the main menu inside the emulator.

  If the keyboard filename is the same as the tape file (.k7) then 
  when you load this tape file, the corresponding keyboard file is 
  automatically loaded !

  You can now use the Keyboard menu and edit, load and save your
  keyboard mapping files inside the emulator. The Save option save the .kbd
  file in the kbd directory using the "Game Name" as filename. The game name
  is displayed on the right corner in the emulator menu.

  
6. COMPILATION
   ------------

  It has been developped under Linux using gcc with PSPSDK. 
  To rebuild the homebrew run the Makefile in the src archive.

  In the src/doc directory you will find original readme and license files
  of THOM.
