home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1997 #3
/
amigamamagazinepolishissue03-1
/
my_favourite
/
easy_tools
/
easytools
/
easymemtest
< prev
next >
Wrap
Text File
|
1996-12-13
|
2KB
|
91 lines
/*
$VER: EASYmemtest 1.0 (05.10.95) by David De Groot
This script works with 'gvpmemtest' in your c: dir.
*/
signal on break_c
options failat 21
NL = '0a'x
bool = exists('libs:rexxreqtools.library')
if bool = 0
then say "You need RexxReqTools.library"
else call addlib('rexxreqtools.library',0,-30)
mcheck = exists('c:gvpmemtest')
if mcheck = 0
then do
call rtezrequest("GVPMEMTEST is not in C:.",,
"Sorry!","ATTENTION!!",'rt_reqpos=reqpos_centerscr rtez_flags=ezreqf_centertext')
exit
end
else
Date = date()
start:
call rtezrequest("" nl "Check your computer's memory: " nl,
"(Enter ctrl-c for a break)" nl "",,
"_Fast RAM|_Only CHIP|_Explain|_Quit"," EASYmemcheck " || date || "" , 'rt_reqpos=reqpos_centerscr rtez_flags=ezreqf_centertext')
if rtresult == 1
then do
address command
'gvpmemtest 5'
say ""
say "Close window when done."
end
if rtresult == 2
then do
address command
'gvpmemtest 5 -CHIP'
say ""
say "Close window when done."
end
if rtresult == 3
then do
call rtezrequest("This program is actually a small script that calls two" nl,
"memory test programs to allocate all of the RAM currently" nl,
"in your system (and not in use) and performs tests on it." nl,
"These tests include writing random values to a RAM address" nl,
"and then reading it back to compare with the original value." nl,
"If any errors occur, it will report them to the screen." nl,
"Since it is almost impossible to detect which chip on a" nl,
"SIMM module (or even which SIMM module) is at fault when an" nl,
"error is reported, attempts should be made to slowly reduce" nl,
"the amount of RAM in the system (and the tests re-run) to" nl,
"determine where the bad RAM chip may be.",,
"_I see","Short:", 'rt_reqpos=reqpos_centerscr rtez_flags=ezreqf_centertext')
signal start
end
if rtresult == 0
then
exit
return 0
break_c:
call rtezrequest("You entered a break.",,
"Right!","Heho!",'rt_reqpos=reqpos_centerscr rtez_flags=ezreqf_centertext')
exit
/* Futureplans: NON WHATSOEVER! ;-) */