view src/win32/ram_search.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line source
1 #ifndef RAM_SEARCH_H
2 #define RAM_SEARCH_H
5 extern char rs_type_size;
6 extern int ResultCount;
7 typedef unsigned int HWAddressType;
9 unsigned int sizeConv(unsigned int index,char size, char *prevSize = &rs_type_size, bool usePrev = false);
10 unsigned int GetRamValue(unsigned int Addr,char Size);
11 void prune(char Search, char Operater, char Type, int Value, int OperatorParameter);
12 void CompactAddrs();
13 void reset_address_info();
14 void signal_new_frame();
15 void signal_new_size();
16 void UpdateRamSearchTitleBar(int percent = 0);
17 void SetRamSearchUndoType(HWND hDlg, int type);
18 unsigned int ReadValueAtHardwareAddress(HWAddressType address, unsigned int size);
19 bool WriteValueAtHardwareAddress(HWAddressType address, unsigned int value, unsigned int size);
20 bool IsHardwareAddressValid(HWAddressType address);
21 extern int curr_ram_size;
22 extern bool noMisalign;
23 extern HWND RamSearchHWnd;
26 void ResetResults();
27 void CloseRamWindows(); //Close the Ram Search & Watch windows when rom closes
28 void ReopenRamWindows(); //Reopen them when a new Rom is loaded
29 void Update_RAM_Search(); //keeps RAM values up to date in the search and watch windows
33 #endif