problems with memory
Posted: Fri Jan 06, 2006 12:56 pm
I have a problem: I wrote a procedure which enters big-real mode. it works (i have checked it) it also enables a20 gate through KBC (the program checs for A20-ON bit set in the IO register.. and i seems to be SET) well, here's the code snippet:
-----------------------------------
???call enable_32
(1)???lea esi,[image_buff]
???mov edi,0x000b8000
???mov ecx,512
???cld
a32???rep movsb
(2)???lea esi,[image_buff]
???mov edi,0x00200000
???mov ecx,512
a32???rep movsb
-------------------------------------
well, snippet (1) works. and snippet (2) doesn't work
oh, one and useful note, I have Compaq DeskPro (based on P1) and could it be the reason of that?
-----------------------------------
???call enable_32
(1)???lea esi,[image_buff]
???mov edi,0x000b8000
???mov ecx,512
???cld
a32???rep movsb
(2)???lea esi,[image_buff]
???mov edi,0x00200000
???mov ecx,512
a32???rep movsb
-------------------------------------
well, snippet (1) works. and snippet (2) doesn't work
oh, one and useful note, I have Compaq DeskPro (based on P1) and could it be the reason of that?