little stuff, release build brought up to date

[[Split portion of a mixed commit.]]
This commit is contained in:
zeromus 2006-07-23 00:08:12 +00:00
parent e4675d9616
commit c0958be02c
3 changed files with 1345 additions and 842 deletions

1070
debug.c

File diff suppressed because it is too large Load Diff

1094
x6502.c

File diff suppressed because it is too large Load Diff

23
x6502.h
View File

@ -22,15 +22,20 @@
#include "x6502struct.h" #include "x6502struct.h"
#ifdef FCEUDEF_DEBUGGER //-----------
void X6502_Debug(void (*CPUHook)(X6502 *), //mbg 6/30/06 - some of this was removed to mimic XD
uint8 (*ReadHook)(X6502 *, unsigned int), //#ifdef FCEUDEF_DEBUGGER
void (*WriteHook)(X6502 *, unsigned int, uint8)); void X6502_Debug(void (*CPUHook)(X6502 *),
uint8 (*ReadHook)(X6502 *, unsigned int),
extern void (*X6502_Run)(int32 cycles); void (*WriteHook)(X6502 *, unsigned int, uint8));
#else
void X6502_Run(int32 cycles); //extern void (*X6502_Run)(int32 cycles);
#endif //#else
//void X6502_Run(int32 cycles);
//#endif
void X6502_RunDebug(int32 cycles);
#define X6502_Run(x) X6502_RunDebug(x)
//------------
extern uint32 timestamp; extern uint32 timestamp;
extern X6502 X; extern X6502 X;