www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/21/07:30:32

From: "Andrew Crabtree" <andrewc AT rosemail DOT rose DOT hp DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: assigning the correct adress?
Date: Tue, 17 Feb 1998 14:16:26 -0800
Organization: Hewlett Packard
Lines: 10
Message-ID: <6cd27j$lps$1@rosenews.rose.hp.com>
References: <34e9a8df DOT 2317141 AT news DOT rug DOT nl>
NNTP-Posting-Host: ros51675cra.rose.hp.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Donnie Roos wrote in message <34e9a8df DOT 2317141 AT news DOT rug DOT nl>...
>ptr_TMP_l = & (byte) reg_TMP;
>ptr_TMP_h = & (byte) reg_TMP + 1;
how about 

ptr_TMP_h = (byte *) &reg_TMP +1;

Instead.  Get the address first and then cast the pointer type.

he file djgpp.env is in c:\djgpp\bin

Why?  It should be in c:\djgpp

> set DJGPP=c:/djgpp/bin/djgpp.env
> set DJDIR=c:/djgpp/bin

See above.  Always unzip and preserve directory info.  You should not make
bin the root directory for djgpp.

Andy

- Raw text -


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