annotate 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
rev   line source
rlm@1 1 #ifndef RAM_SEARCH_H
rlm@1 2 #define RAM_SEARCH_H
rlm@1 3
rlm@1 4
rlm@1 5 extern char rs_type_size;
rlm@1 6 extern int ResultCount;
rlm@1 7 typedef unsigned int HWAddressType;
rlm@1 8
rlm@1 9 unsigned int sizeConv(unsigned int index,char size, char *prevSize = &rs_type_size, bool usePrev = false);
rlm@1 10 unsigned int GetRamValue(unsigned int Addr,char Size);
rlm@1 11 void prune(char Search, char Operater, char Type, int Value, int OperatorParameter);
rlm@1 12 void CompactAddrs();
rlm@1 13 void reset_address_info();
rlm@1 14 void signal_new_frame();
rlm@1 15 void signal_new_size();
rlm@1 16 void UpdateRamSearchTitleBar(int percent = 0);
rlm@1 17 void SetRamSearchUndoType(HWND hDlg, int type);
rlm@1 18 unsigned int ReadValueAtHardwareAddress(HWAddressType address, unsigned int size);
rlm@1 19 bool WriteValueAtHardwareAddress(HWAddressType address, unsigned int value, unsigned int size);
rlm@1 20 bool IsHardwareAddressValid(HWAddressType address);
rlm@1 21 extern int curr_ram_size;
rlm@1 22 extern bool noMisalign;
rlm@1 23 extern HWND RamSearchHWnd;
rlm@1 24
rlm@1 25
rlm@1 26 void ResetResults();
rlm@1 27 void CloseRamWindows(); //Close the Ram Search & Watch windows when rom closes
rlm@1 28 void ReopenRamWindows(); //Reopen them when a new Rom is loaded
rlm@1 29 void Update_RAM_Search(); //keeps RAM values up to date in the search and watch windows
rlm@1 30
rlm@1 31
rlm@1 32
rlm@1 33 #endif
rlm@1 34