Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

usrmsgs.h File Reference


Detailed Description

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
#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.


Define Documentation

#define CPURUNNING   WM_USER + 13
 

Sent by cpu plugin when cpu begins execution.

Definition at line 38 of file usrmsgs.h.

#define CPUSTOPPED   WM_USER + 14
 

Sent by cpu plugin when cpu stops.

Definition at line 40 of file usrmsgs.h.

#define GETREGS   WM_USER + 4
 

lParam retrieves adress of Regs struct, where registers are stored. lParam should point to some UINT

Definition at line 20 of file usrmsgs.h.

#define IRQD   WM_USER + 7
 

A debug message, execute this interrupt immediately.

Definition at line 26 of file usrmsgs.h.

#define IRQMSG   WM_USER + 1
 

Message sent to the msg. queue when IRQ interrput occurs.

Definition at line 14 of file usrmsgs.h.

#define ISRUNNING   WM_USER + 5
 

Returns TRUE if running otherwise FALSE.

Definition at line 22 of file usrmsgs.h.

#define ISTEP   WM_USER + 6
 

Executes one instruction. lParam should point to some UINT. lParam retrieves no. of cycles the instruction has taken.

Definition at line 24 of file usrmsgs.h.

#define NMID   WM_USER + 8
 

A debug message, execute this interrupt immediately.

Definition at line 28 of file usrmsgs.h.

#define NMIMSG   WM_USER + 0
 

Message sent to the msg. queue when NMI interrput occurs.

Definition at line 12 of file usrmsgs.h.

#define PAUSECPU   WM_USER + 12
 

Stops cpu execution.

Definition at line 36 of file usrmsgs.h.

#define RESETD   WM_USER + 9
 

A debug message, execute this interrupt immediately.

Definition at line 30 of file usrmsgs.h.

#define RESETMSG   WM_USER + 2
 

Message sent to the msg. queue when RESET interrput occurs.

Definition at line 16 of file usrmsgs.h.

#define SETFREQ   WM_USER + 3
 

lParam of the message is desired frequency in Hz

Definition at line 18 of file usrmsgs.h.

#define STARTCPU   WM_USER + 11
 

Begins cpu execution.

Definition at line 34 of file usrmsgs.h.

#define STOPVIDEO   WM_USER + 15
 

Turns off the video chip.

Definition at line 42 of file usrmsgs.h.

#define WAITEND   WM_USER + 10
 

Waits until cpu stops if running and message PAUSECPU has been sent

Definition at line 32 of file usrmsgs.h.


Generated on Fri Sep 6 22:12:21 2002 for Emu6502 by doxygen1.2.17