GNGEO : A NeoGeo emulator for linux (and maybe some other unix)

REQUIREMENT : 
	SDL-1.2.x and the libz
	optional: nasm 0.98 for i386 asm optimisation
	You will also need a neogeo BIOS

INSTALLATION :
	./configure && make
	then 'make install' as root 

	The configure script will detect the presence of nasm, and
	choose the different CPU core in consequence. You can force
	the use of one cpu core with the following configure switch:
	 --enable-star
	 --enable-gen68k
	 --enable-raze
	 --enable-mamez80      

After this, you can start a game with the folowing command:
# gngeo /path/to/neogeo/game.zip

USAGE :
gngeo [OPTION]... ROMSET

  -h, --help                 Print this help and exit
  -l, --listgame             List all the available game
      --autoframeskip        Enable auto frameskip
  -b, --blitter=STRING       Use the specified blitter (help for a list)
  -c, --convtile             Convert tile in internal format at loading
      --country=STRING       Set the contry to japan, usa or europe
  -D, --debug                Start with inline debuger
  -e, --effect=STRING        Use the specified effect (help for a list)
  -f, --fullscreen           Start gngeo in fullscreen
  -H, --hwsurface            Use hardware surface for the screen
  -I, --interpolation        Merge the last frame and the current
      --invertjoy            Invert joystick order
      --joystick             Enable joystick support
      --libglpath=STRING     Use STRING as libGL
  -P, --pal                  Use PAL timing (buggy)
      --p1key=ARRAY          Player1 Keyboard configuration
      --p2key=ARRAY          Player2 Keyboard configuration
      --p1joy=ARRAY          Player1 Joystick configuration
      --p2joy=ARRAY          Player2 Joystick configuration
  -r, --raster               Enable the raster interrupt
  -i, --rompath=STRING       Use STRING as rom path
  -d, --romrc=STRING         Use STRING as romrc file
      --sound                Enable sound
      --showfps              Show FPS at startup
      --sleepidle            Sleep when idle
      --system=STRING        Set the system to home or arcade
      --scale=N              Scale the resolution by N
      --samplerate=N         Set the sample rate to N
  -t, --transpack=STRING     Use the specified transparency pack

All boolean options can be disabled with --no-OPTION
(Ex: --no-sound turn sound off)


CONFIGURATION :
All configuration can be done in $HOME/.gngeo/gngeorc
a sample file is provide : sample_gngeorc
Every option are also accessible on the command line.

By default, gngeo search bios and games in
$prefix/share/gngeo/ (the game must be in a zip file, the bios not)

As mame, a games is defined by a driver. All the driver are
in an unique file (by default $prefix/share/gngeo/romrc, it'll be
installed after a make install)

TODO,BUG (in no particular order):
Savage reign doesn't work with generator68k
Correct some bug introduce by the use of generator68k (mainly, the presentation of garou)
gururin has graphic glitch
pulstar don't work (copy protection)
Automatic sprite animation is sometime too fast (terry 3rd round stage in garou, mslug2 background...)
viewpoin make unaligned word access (??) -> crash under sparc...
Optimize the raster code (Partialy done for i386 with mmx).
Optimize the 25% trancparency drawing code (write a i386 asm version).
Add 25% and 50% drawing routine for raster effect (done for 50%).
Write a sparc (maybe i386) dynamic recompiler backend for generator68k.
Rewrite the sound part.
Check compilation with gcc3.x (DONE for 3.0)
Check mmx support.
Write a better doc.
Add network support.
Effect doesn't work with Hardware surface
...





