<div dir="ltr">Or you can do the right thing and not use the contents of the video memory as if it were a variable to be used to check if you have or have not done a particular thing, which is what it looks like your original code does.  <div class="gmail_extra">
<br></div><div class="gmail_extra">This would require understanding more of what the program you are porting was intended to do and less of how it did it.  Once you have that, so many questions answer themselves.</div><div class="gmail_extra">
<br></div><div class="gmail_extra">Jeff.</div></div>