-------------------------------------------------------------
todo:
-------------------------------------------------------------

Critical Bugs:
   Fix joystick code, locks up if you change joystick from analog to
     digital, does not support analog joysticks at all!

   Don't staticaly link to InOut32.dll, disable pport if DLL does not load
  
   Interlaced Mode, Need to double the width of the game (fix the -hstretch option)

****Look at affine mode wraping and make sure it is ok.

Speedup:
   reset timmer interupt when tcr or trc have ben written to
   only process timmer request when timmer is counted down 
   (eliminate all the test cases)

   rewrite serviceDisplayInt to operate in a state table, and only 
   call next state when enough cycles have passed....

   Cash Mem_wbyte/hword/word

   cache output of vRenderCharacter and inline it in BGMap2World
   rewrite image caches

   Rework cpu emulatin in assembly (80% of time spent here)
   	Remove 64 bit code and any goofy float code in the flags
   	Reduce the number of casts to short/byte in the flags

Interface:
   -add joystick and keyboard remaping code

   Figure out why we lockup the emulator if we dont update the keyboard 
    every cpu cycle and the keyboard interupt is enabled (would be nice
    to reinable this)

   Print the 'usage' screen to a graphical window and wait for keypress
     so we don't just flash when they mess it up.

   Question, why does wario land run slower after the demo playes?

Graphics:
   Overplain_Char is probably a pointer into obj or char memory,
    & the last 3 cells in the param table probably deal with it

   Overplane is probably a flag to controll wether we wrap to the window
    or to the BGMap
  
   Make brightness more uniform, is there an external bright mode register?

   Some games rely on a GX based screen wraping that I can not figure out!
    If we wrap to 512 thain we end up acidentaly wraping the GPinbal and 
    VFishing signs, but if we wrape to some other value we end up not
    wraping soon enough in VLabs, WWorld, PBomber and the Fish in VFishing.
 
   Paralax is not implemented in the Affine modes (this probably fixes 
    the alignment problems in vbowling)

-------------------------------------------------------------
Bugs:
-------------------------------------------------------------
V-Golf
 - locks up on demo screen and when game starts

3D Tetris
 - Intro is corrupt, crashes if run to completion
 - Direct screen draws don't clear properly
 - Bad Bitstring opcode? (vertical lines are squished!)

Red Alarm
 - Direct screen draws fail to clear properly
 - Bad Bitstring opcode? (vertical lines are squished!)

Mario Tennis
 - Player select screen corupted, (bad interupt timming)

V-Force
 - Needs -vfhack switch (probably causing the other bugs)
 - Focus screen never appears
 - 'W' powerups disapear when going left on screen (not a graphics problem)

V-Bowling
 - Distortion on Pause screen
 - Distortion on Intro bowling animation (don't clear the screen fast enough)
 - Lanes dont line up with walls (paralax?)
 - Lanes don't wrap to the left!

V-Fish
 - sign doesn't wrap corectly

G-Pinbal
 - Sign doesn't wrap corectly
 
-------------------------------------------------------------
--Playable--
-------------------------------------------------------------
Water World
Wario Land
VFishing
VTet
Space Squash
Space Invaders
SDGundam
MTennis
JBrothers
IMH
PBommer
GPinbal
VBowl
VLab
VTet
VBaseball
MClash
NFBowling
VForce - use -vfhack

-------------------------------------------------------------
--partial--
-------------------------------------------------------------
VGolf
RAlarm
3dTet



----- Special -----
 - GPinbal - 
At stage selection screen, world 29
Overplane Char: 2608 0x0A30
Dont Write[0]: 54280
Dont Write[1]: 66
Dont Write[2]: 41280
Dont Write[3]: 256
Dont Write[4]: 54600

 - VForce -
In game, world 20, 21
Over: 1

 - InsMouse -
Intro (IMAX Logo), world 31
Over: 1
Overplane Char: 0x1000

Doors, world 31, 30
Overplane Char: 0x7000
AFFN: 46,45

Monster, world 31
Overplane Char: 0xA000

Rotating alien, 28
Affn: various

 - jack brothers -
all over the place, world 28,22,19,13,5,4
over, and overplane char

 - VLabs - 
all over the place,
over, overplane char: 0xFFFF