home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
cpm
/
sb180
/
ramfix.lbr
/
RAMFIX.DOC
< prev
next >
Wrap
Text File
|
1988-03-08
|
3KB
|
55 lines
Thi≤ librar∙ contain≤ threσ program≤ tha⌠ ╔ havσ founΣ ì
helpfu∞ iε usinτ thσ Micromin⌠ SB180FX« Therσ arσ tw∩ problem≤ ì
whicΦ concerε thσ usσ oµ RA═ disk¼ anΣ thσ stabilit∙ thereof« ì
Micromin⌠ ha≤ stateΣ tha⌠ therσ i≤ n∩ guarenteσ oµ preservatioε ì
oµ content≤ oµ RA═ disδ acros≤ ß hardwarσ reset« Thσ F╪ addeΣ ß ì
ver∙ largσ timσ constan⌠ t∩ thσ rese⌠ circuit¼ whicΦ almos⌠ ì
guarentee≤ thσ los≤ oµ conten⌠ oµ thσ ram¼ duσ t∩ interruptioε oµ ì
refresh« Oε m∙ board¼ ╔ wa≤ ablσ t∩ solvσ thi≤ probleφ b∙ ì
changinτ thσ 1δ Mohφ resiste≥ a⌠ R1╖ t∩ ß 1░ Kohφ resitor« ì
However¼ froφ timσ t∩ time¼ thσ systeφ wil∞ stil∞ losσ thσ ì
refresh¼ anΣ corrup⌠ memor∙ (includinτ thσ raφ disk).
M∙ solutioε t∩ thi≤ i≤ thσ se⌠ oµ program≤ CRTS╘ anΣ TSTDSK« ì
Thσ CRTS╘ prograφ wil∞ writσ ß 1δ filσ t∩ thσ specifieΣ disδ witΦ ì
ß predeterminΣ randoφ pattern« Thσ TSTDS╦ wil∞ reaΣ tha⌠ filσ oε ì
thσ specifieΣ disk¼ anΣ repor⌠ differences« ╔ pu⌠ TSTDS╦ iε m∙ ì
star⌠ alia≤ fo≥ eacΦ RA═ disk« ╔ follo≈ eacΦ MDINI╘ witΦ ß CRTS╘ ì
fo≥ thσ samσ disk« Thi≤ seem≤ t∩ havσ saveΣ mσ oε somσ ì
occasions.
Thσ seconΣ probleφ i≤ tha⌠ thσ boo⌠ RO═ wil∞ destro∙ thσ ì
firs⌠ tw∩ byte≤ oµ eacΦ banδ iε thσ lowe≥ addres≤ area« Thσ ì
quicδ fi° fo≥ thi≤ i≤ thσ RAMFI╪ program¼ describeΣ below.
ì
Program: FIXRAM
Purpose: The SB180FX Boot ROM destroys two bytes at the beginning
of each of the banks of memory. Since these could be in
the middle of a file, or a directory, ths is not a good
situation. FIXRAM will examine each RAM disk configured
on an XBIOS system. If this disk contains an area that
is susceptible to such corruption, it will create a file
named !!!!!RAM.BAD in user area 31. This file will have
allocated to it all of the allocation groups that are subject
to this corruption.
Use: The FIXRAM program should be run each time the MDINIT utility
is run. This will insure that the disk cannot contain
corruptible areas. If a group is flagged as allocated in
the FIXRAM report, it may mean that you have a directory
group in a corruptible area. Add 1 to the number of tracks
before directory for this disk to solve this problem.
Cautions: This program creates the file by putting groups in a file
control block, forcing a write to the FCB, and then closing
the file. This technique works with ZRDOS17, but may fail
with other DOSes. Check the operation of this technique on
your system by running it and then using DU3 to make sure
the allocated groups agree with the report from FIXRAM.
Error: This program will flag the first group in the upper memory
part of the RAM disk as being a candidate. It is not, but
this is a small price to pay for such safety.è