Mail Archives: djgpp/1993/06/04/04:12:31
Charles W. Sandmann writes:
> All of the above routines strip the 0xe0... from addresses and access the
> memory via a selector which points to the low 1 Meg. Get the DJLSR110.zip
> and look at clock.s, screen.s, dosmem.s for some assembly examples.
I just looked at clock.s from djlsr110.zip in libsrc/c/s and I don't
recognize any differences to earlier versions.
The important statement seems to be:
.globl _clock
_clock:
movl 0xe000046c,%eax
etc.
I don't see how this should work with DPMI. My limited assembler knowledge
suggests that there still is an absolute access to the remapped 1 Mbyte memory
area.
Dieter
Dieter Buerssner (B\"ur\ss{}ner) -- buers AT dg1 DOT chemie DOT uni-konstanz DOT de
Universitaet Konstanz -- Fakultaet Chemie -- Postfach 5560
7750 Konstanz -- Germany -- phone +49-7531-882021
- Raw text -