www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/20/03:15:57

From: KanaYA FUMIHIRO <kanaya AT mediavision DOT co DOT jp>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [Q] __dpmi_regs
Date: Fri, 20 Mar 1998 15:57:52 +0900
Organization: Media Vision
Lines: 16
Message-ID: <35121370.23B64076@mediavision.co.jp>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980319172732 DOT 27106B-100000 AT is>
NNTP-Posting-Host: 210.160.144.28
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> >       regs.x.bp = (unsigned long)str; // <-- This line right?or mistake?
> This is a mistake.  Please download the DJGPP FAQ list (v2/faq210b.zip
> from the same place you get DJGPP) and read sections 18.2 and 18.3
> there.  The FAQ explains how to do this correctly.

Thank you.

> (The problem is that a real-mode interrupt service needs a real-mode
> address below the 1MB mark, whereas your `str' buffer is always above
> 1MB and is 32-bit protected-mode address.)

A difference in PM and RM wasn't known.
I must seem to study more...

--
k-ya

- Raw text -


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