1. POST - Power On Self-Test
I just wrote post.ex, which simulates POST. Here's what happens when you
boot up your computer:
POST checks for your keyboard and monitor
POST checks the memory by writing, reading, and checking to and from it
POST loads DOS
That 2nd thing is what i simulated. Here's what I coded:
--post.ex
--Memory checking simulator
--Writes and checks 10K of memory
include user.e
object a
a=""
clear_screen()
for n=1 to 10240 do
if get_key()!=-1 then
exit
end if
a=a&'x'
if a[n]='x' then
position(2,1)
printf(1," %d",{n})
else
position(3,1)
puts(1," Memory error!") --Yes I know, POST doesn't say that but i never
saw
beep() -- reject memory
end if
end for
delay(3)
beep()
for z=1 to 20000 do
puts(1,"")
end for
beep()
clear_screen()
BTW, <B>DOES</B> anybody know what POST does when it rejects memory?
JARS OF CLAY ROCKZ FOR
GOD
_________________
"When it comes to programming languages, Eu™ by RDS®™©(did i forget an
®?) is a cut above" - Matt1278 and Prezsoft
Webbers: <A HREF="mailto:softprez at juno.com">softprez at juno.com</A>,
president of SoftCo.® Uh, no slogan at the moment™
Go out and get Euphoria™ by Rapid Deployment Software® NOW!!!