Common file for all plugins. Here are defined all user messages used by the plugins. Also serves as a list of reserved message numbers
Definition in file usrmsgs.h.
Go to the source code of this file.
Defines | |
#define | NMIMSG WM_USER + 0 |
Message sent to the msg. queue when NMI interrput occurs. | |
#define | IRQMSG WM_USER + 1 |
Message sent to the msg. queue when IRQ interrput occurs. | |
#define | RESETMSG WM_USER + 2 |
Message sent to the msg. queue when RESET interrput occurs. | |
#define | SETFREQ WM_USER + 3 |
lParam of the message is desired frequency in Hz | |
#define | GETREGS WM_USER + 4 |
lParam retrieves adress of Regs struct, where registers are stored. lParam should point to some UINT | |
#define | ISRUNNING WM_USER + 5 |
Returns TRUE if running otherwise FALSE. | |
#define | ISTEP WM_USER + 6 |
Executes one instruction. lParam should point to some UINT. lParam retrieves no. of cycles the instruction has taken. | |
#define | IRQD WM_USER + 7 |
A debug message, execute this interrupt immediately. | |
#define | NMID WM_USER + 8 |
A debug message, execute this interrupt immediately. | |
#define | RESETD WM_USER + 9 |
A debug message, execute this interrupt immediately. | |
#define | WAITEND WM_USER + 10 |
Waits until cpu stops if running. | |
#define | STARTCPU WM_USER + 11 |
Begins cpu execution. | |
#define | PAUSECPU WM_USER + 12 |
Stops cpu execution. | |
#define | CPURUNNING WM_USER + 13 |
Sent by cpu plugin when cpu begins execution. | |
#define | CPUSTOPPED WM_USER + 14 |
Sent by cpu plugin when cpu stops. | |
#define | STOPVIDEO WM_USER + 15 |
Turns off the video chip. |
|
Sent by cpu plugin when cpu begins execution.
|
|
Sent by cpu plugin when cpu stops.
|
|
lParam retrieves adress of Regs struct, where registers are stored. lParam should point to some UINT
|
|
A debug message, execute this interrupt immediately.
|
|
Message sent to the msg. queue when IRQ interrput occurs.
|
|
Returns TRUE if running otherwise FALSE.
|
|
Executes one instruction. lParam should point to some UINT. lParam retrieves no. of cycles the instruction has taken.
|
|
A debug message, execute this interrupt immediately.
|
|
Message sent to the msg. queue when NMI interrput occurs.
|
|
Stops cpu execution.
|
|
A debug message, execute this interrupt immediately.
|
|
Message sent to the msg. queue when RESET interrput occurs.
|
|
lParam of the message is desired frequency in Hz
|
|
Begins cpu execution.
|
|
Turns off the video chip.
|
|
Waits until cpu stops if running.
|