dead6502 - 6502 core by Dead_Body (nes only, because of no decimal mode)

this core was written by me, Dead_Body, with help from other people.  it dont have decimal
mode, because the core was written for nes, but dont worry, i will add it later on.  well,
it is pretty easy to use, but i will tell you real quick:

   create a dead6502 struct, and set the handlers for reading/writing.  call set6502data and
   pass the new dead6502 struct as the parameter.  next you should call reset6502 to reset
   the cpu.  now, to begin execution, call exec6502 with the number of cycles you want to
   execute as the parameter, and it will go!  if you ever want to get the regs of the 6502,
   you can call get6502data passing a dead6502 struct as the parameter.

since i am usually bad at explaining stuff, or you just need an example, i included a little
test program.  compile it like any other c file and link it in with the core (sorry for not
providing a better test program...).

compiling: there are some defines you can do:
  USEASM - use assembly in some places (visual c++ style asm)
  JMPBUG - make the indirect jmp have the bug, just like the real nes
  SKIPBADOPS - skip over bad opcodes instead of returning an error
  CPUDEBUG - debug the core

i hope you enjoy my 6502 core!

thanks:
   [_TRAC_]
   mdw2
   GreyBrain
   TNSe
   nyef
   Azimer
   Delta

my core would still be in development if it wasnt for these people, they helped out so much,
thanks so much you guys!  :D

if you use this core in an emulator, give credit!

Dead_Body - squeem@emucamp.com
