www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/04/04:12:31

Date: Fri, 4 Jun 93 09:27:21 +0100
From: buers AT dg1 DOT chemie DOT uni-konstanz DOT de (Dieter Buerssner)
To: sandmann AT clio DOT rice DOT edu (Charles W. Sandmann)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp)
Subject: DPMI support (fwd)

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019