M.El Nahas <MElNahas@discussions.microsoft.com> wrote:
>why can't I write on the video RAM (0b800h) using assembly programs,it works
>on XP but it doesn't work on vista
That's a DOS trick, I think. I can't imagine that it worked on XP.
Maybe in Win95 compatibility mode?
In general, any program that tries to access hardware directly - which
is exactly what you're doing - will not work in XP or Vista. Also--DOS
mapped video memory to that location, but not XP or Vista.
Yeah, that's how we used to do it on the TRS-80! ^}
I was shocked - happily! - the first time I saw how quickly the screen could
turn white with a Poke command, compared to Print, in BASIC!
RC
--
R. C. White, CPA
San Marcos, TX rc@grandecom.net
Microsoft Windows MVP
(Running Windows Live Mail 2008 in Vista Ultimate x64)
"Tim Slattery" <Slattery_T@bls.gov> wrote in message
news:eui0l3pk1hrvnrtp007d9qdojjruk7crsf@4ax.com...
> M.El Nahas <MElNahas@discussions.microsoft.com> wrote:
>
>>why can't I write on the video RAM (0b800h) using assembly programs,it
>>works
>>on XP but it doesn't work on vista
>
> That's a DOS trick, I think. I can't imagine that it worked on XP.
> Maybe in Win95 compatibility mode?
>
> In general, any program that tries to access hardware directly - which
> is exactly what you're doing - will not work in XP or Vista. Also--DOS
> mapped video memory to that location, but not XP or Vista.
>
> --
> Tim Slattery
> MS MVP(Shell/User)
> Slattery_T@bls.gov
> http://members.cox.net/slatteryt
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.