Header file for emu6502.c, contains only local forward and type declarations, not for reuse.
Definition in file emu6502.h.#include "resource.h"
#include "mem.h"
#include "dlluser.h"
#include "usrmsgs.h"
Go to the source code of this file.
Data Structures | |
struct | _DllMsgList |
struct | _PtrList |
Typedefs | |
typedef _PtrList | PtrList |
Generic list of pointers. | |
typedef _DllMsgList | DllMsgList |
List of messages and theirs catching dll functions. | |
Functions | |
int APIENTRY | WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) |
Entry point of this app. | |
ATOM | MyRegisterClass (HINSTANCE hInstance) |
Registers the main window class. | |
BOOL | InitInstance (HINSTANCE, int) |
Inits & shows the main window. | |
HWND | CreateToolBar (HWND hParentWnd) |
Creates the main toolbar. | |
LRESULT CALLBACK | WndProc (HWND, UINT, WPARAM, LPARAM) |
Main message handling routine. | |
LRESULT CALLBACK | About (HWND, UINT, WPARAM, LPARAM) |
About dialog's DialogProc. | |
BOOL | LoadMemFile (HWND hWnd) |
Loads memory image. | |
void | error (HWND hWnd, UINT uID, TCHAR *name) |
Error reporting proc. | |
void | LoadPlugins (DllMsgList **list, PtrList **InstList) |
Loads plugins named in plugins.txt. | |
BOOL | LoadPlugin (TCHAR *name, DllMsgList **list, PtrList **InstList) |
Loads plugin of given name. | |
void | UnloadPlugins (PtrList *list) |
BOOL | ForwardDllMessage (UINT message, WPARAM wParam, LPARAM lParam, DllMsgList *list) |
Forwards message to registered plugin OnMessage functions. | |
void | AddDllMsg (DllMsgList **list, UINT message, pForwardDllMsgProc FDMProc) |
Adds message catching dll function to a dll message list. | |
void | AddToPtrList (void *node, PtrList **list) |
Allocates and adds new member to existing or NULL list. | |
TCHAR * | GetNextStrToken (TCHAR **buf) |
Helper function for LoadPlugins. |
|
List of messages and theirs catching dll functions.
|
|
Generic list of pointers.
|
|
About dialog's DialogProc.
|
|
Adds message catching dll function to a dll message list.
|
|
Allocates and adds new member to existing or NULL list.
|
|
Creates the main toolbar.
Creates main toolbar and adds one Open button to it
|
|
Error reporting proc.
Shows a messagebox with given error mesage (from resources). This message can also contain s in this case the parameter name becomes effective and prints on the position of s.
|
|
Forwards message to registered plugin OnMessage functions.
|
|
Helper function for LoadPlugins.
Sideeffect - makes buf to point to the next item
|
|
Inits & shows the main window.
Creates the main window, sizes it to fit the 256x256 canvas, creates toolbar by calling @CreateToolbar, and then loads plugins by calling LoadPlugins.
|
|
Loads memory image.
Stops execution of the CPU, loads memory image, also controls it's length |
|
Loads plugin of given name.
Executes his InitDll functions, receives list of messages to be catched in this plugin and attaches it to the DllMsgList list.
|
|
Loads plugins named in plugins.txt.
Goes through the plugins.txt file and loads named plugins by calling LoadPlugin procedure.
|
|
Registers the main window class.
|
|
Entry point of this app.
|
|
Main message handling routine.
|