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


Define Documentation

#define CPURUNNING   WM_USER + 13
 

Sent by cpu plugin when cpu begins execution.

Definition at line 39 of file usrmsgs.h.

#define CPUSTOPPED   WM_USER + 14
 

Sent by cpu plugin when cpu stops.

Definition at line 41 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 21 of file usrmsgs.h.

#define IRQD   WM_USER + 7
 

A debug message, execute this interrupt immediately.

Definition at line 27 of file usrmsgs.h.

#define IRQMSG   WM_USER + 1
 

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

Definition at line 15 of file usrmsgs.h.

#define ISRUNNING   WM_USER + 5
 

Returns TRUE if running otherwise FALSE.

Definition at line 23 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 25 of file usrmsgs.h.

#define NMID   WM_USER + 8
 

A debug message, execute this interrupt immediately.

Definition at line 29 of file usrmsgs.h.

#define NMIMSG   WM_USER + 0
 

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

Definition at line 13 of file usrmsgs.h.

#define PAUSECPU   WM_USER + 12
 

Stops cpu execution.

Definition at line 37 of file usrmsgs.h.

#define RESETD   WM_USER + 9
 

A debug message, execute this interrupt immediately.

Definition at line 31 of file usrmsgs.h.

#define RESETMSG   WM_USER + 2
 

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

Definition at line 17 of file usrmsgs.h.

#define SETFREQ   WM_USER + 3
 

lParam of the message is desired frequency in Hz

Definition at line 19 of file usrmsgs.h.

#define STARTCPU   WM_USER + 11
 

Begins cpu execution.

Definition at line 35 of file usrmsgs.h.

#define STOPVIDEO   WM_USER + 15
 

Turns off the video chip.

Definition at line 43 of file usrmsgs.h.

#define WAITEND   WM_USER + 10
 

Waits until cpu stops if running.

Definition at line 33 of file usrmsgs.h.


Generated on Fri Sep 6 18:32:15 2002 for Emu6502 by doxygen1.2.17