Mail Archives: djgpp/1997/04/15/01:20:43
Jeff Weeks wrote:
>
> I've been tring to make a simple inline asm block to copy my virtual
> screen (virt[64000]) to 0xa000 (using near pointers... I've called
> __djgpp_nearptr_enable()). So I looked up movsl and tried a little
> block but I can'tt get it to work.
>
> Could someone please send a little code snippet to do this.
Are you certain that you're adding __djgpp_conventional_base to the
address of the video memory after the call to __djgpp_nearptr_enable()?
Also, when dealing with absolute addresses, it's 0xa0000, not 0xa000.
I would post a snippet, but I'm not an expert and I don't want to
inadvertently make any mistakes. ;)
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com |
| Proud owner of what might one | http://www.cs.com/fighteer |
| day be a spectacular MUD... | Plan: To make Bill Gates suffer |
---------------------------------------------------------------------
- Raw text -