-------------------------------------------------------------
todo:
-------------------------------------------------------------
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:

   Call: FreeConsole(); when not in debug mode
   Fix -strscr so that windows dont get lost when to big to fit on screen

   add joystick map to keyboard code

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

   Make auto frame skip an option and hide/show status with a key and command arg.
   
Graphics:
   Overplain_Char is probably a pointer into obj or char memory,
    & the last 3 cells in the param table probably deal with it
  
   Fix brightness, 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 fast enough in VLabs, WWorld, PBomber and the Fish in VFishing.

-------------------------------------------------------------
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 instruction?)
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 (dont clear the screen fast enough)
 - Lanes dont line up with walls (paralax?)
 - Lanes dontwrap to the left!

-------------------------------------------------------------
--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 selectoin screen, world 29
Overplane Char: 2608
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: 4096

Doors, world 31, 30
Overplane Char: 28672
AFFN: 46,45

Monster, world 31
Overplane Char: 40960

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: 65535