Menues and toolbar buttons for controlling cpu
Definition in file cpuuidll.c.#include "../dllkit/dllkit.h"
#include "../usrmsgs.h"
#include "resource.h"
#include <commctrl.h>
#include <stdio.h>
#include <tchar.h>
Go to the source code of this file.
Functions | |
void | SetStatusRunning () |
enables/disables accordant toolbar buttons and menu entries | |
void | SetStatusStopped () |
enables/disables accordant toolbar buttons and menu entries | |
BOOL APIENTRY | DllMain (HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) |
Entry point of this dll. | |
DLLEXPORT void __cdecl | InitDll (INITDLLSTRUCT *ids, INITDLLINFO *idi) |
Inits dll data structures. | |
DLLEXPORT void __cdecl | OnMessage (MESSAGEDLLSTRUCT *mds) |
Recieves registered messages from emu6502 application. | |
DLLEXPORT void __cdecl | IOFunc (UINT adr, unsigned char *data, iomode mode) |
IO function mapped into some adress in memory. | |
Variables | |
HANDLE | hThisModule |
Handle to instance of this module. | |
MSGLIST | Msgs |
Contains list of messages to be forwarded to this plugin. | |
INITDLLSTRUCT | info |
Local copy of a structure passed to this plugin containging various info on the main emu6502 window and application. | |
HMENU | hMenu |
Handle to the main menu bar. | |
HMENU | hCpuMenu |
Handle to the CPU menu. | |
BOOL | Running |
|
Entry point of this dll.
Definition at line 36 of file cpuuidll.c. |
|
Inits dll data structures.
This function is called after dll is loaded. You have to implement this function. Useful informations are passed in its parameter. Also create, fill with messages to be catched and return MSGLIST structure.
Definition at line 51 of file cpuuidll.c. |
|
IO function mapped into some adress in memory.
Called directly when accesing adress to which is this function bound. Always write this function.
Definition at line 214 of file cpuuidll.c. |
|
Recieves registered messages from emu6502 application.
This function is called by emu6502 when some message event registered by InitDll occures. Implement this function even when you don't want to catch any messages.
Definition at line 126 of file cpuuidll.c. |
|
enables/disables accordant toolbar buttons and menu entries
Definition at line 174 of file cpuuidll.c. |
|
enables/disables accordant toolbar buttons and menu entries
Definition at line 194 of file cpuuidll.c. |
|
Handle to the CPU menu.
Definition at line 24 of file cpuuidll.c. |
|
Handle to the main menu bar.
Definition at line 22 of file cpuuidll.c. |
|
Handle to instance of this module.
Definition at line 14 of file cpuuidll.c. |
|
Local copy of a structure passed to this plugin containging various info on the main emu6502 window and application.
Definition at line 19 of file cpuuidll.c. |
|
Contains list of messages to be forwarded to this plugin.
Definition at line 16 of file cpuuidll.c. |