#include <windows.h>
#include "hosterrs.h"
#include "mcpydlg.h"
#include "memupm.h"

STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
{
;CLI registration for PowerPack...uses target keyword
 30,  "mem"
 31,  "mem.dll"
 32,  "11"
 33,  "dump"
 34,  "MemCliDumpMemory"
 35,  "h:dump <start_address> [<end_address>] [byte|word|long|dword]"
 36,  "fill"
 37,  "MemCliFillMemory"
 38,  "h:fill <start_address> <end_address> <data>... [byte|word|long|dword]"
 39,  "write"
 40,  "MemCliWriteMemory"
 41,  "h:write <address> <data>... [byte|word|long|dword]"
 42,  "search"
 43,  "MemCliSearchMemory"
 44,  "h:search <start_address> <end_address> <data>... [byte|word|long|dword]"
 45,  "size"
 46,  "MemCliSetMemSize"
 47,  "h:size [byte|word|long|dword]"
 48,  "verify"
 49,  "MemCliSetVerify"
 50,  "h:verify [on|off]"
 51,  "copy"
 52,  "MemCliCopyMemory"
 53,  "h:copy <from_start_address> {<from_end_address> | length <len>}"
 54,  "h:      to <to_address>"
 55,  "checksum"
 56,  "MemCliChecksum"
 57,  "h:checksum <start_address> <end_address>"
 58,  "ramtst"
 59,  "MemCliRamtst"
 60,  "h:ramtst <start_address> <end_address>"
 61,  "compare"
 62,  "MemCliCompareMemory"
 63,  "h:compare <from_start_address> {<from_end_address> | length <len>}"
 64,  "h:        to <to_address>"
 65,  "upload"
 66,  "MemCliUploadMemory"
 67,  "h:upload <start_address> [<end_address>]"
;65,  "selftest"
;66,  "MemCliSelftest"
;67,  "h:selftest"
}


MEM_COMP_DLG DIALOG 52, 67, 134, 129
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Compare Memory"
FONT 8, "MS Sans Serif"
BEGIN
	CONTROL "&Start", -1, "STATIC", WS_CHILD | WS_VISIBLE, 26, 19, 22, 11
	CONTROL "", 501, "EDIT", ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 60, 17, 49, 12
	RADIOBUTTON "&End", 521, 22, 38, 28, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	RADIOBUTTON "&Length", 522, 22, 49, 34, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "", 502, "EDIT", ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 60, 43, 49, 12
	CONTROL "Sta&rt", -1, "STATIC", WS_CHILD | WS_VISIBLE, 23, 83, 22, 11
	CONTROL "", 503, "EDIT", ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 61, 82, 50, 12
	DEFPUSHBUTTON "&OK", 1, 6, 110, 36, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", 2, 49, 110, 36, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Help", 8, 91, 110, 36, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "Source ", 11, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 16, 6, 100, 60
	CONTROL "Destination", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 16, 71, 101, 30
	CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 19, 36, 94, 26
END

UPM DIALOG 18, 18, 159, 58
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "UPM"
BEGIN
        EDITTEXT IDC_TEXT, 14, 12, 124, 15
        DEFPUSHBUTTON "&Ok", IDC_OK, 26, 37, 38, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
        PUSHBUTTON "&Cancel", IDC_CANCEL, 88, 37, 38, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END

rcinclude mcpydlg.dlg
