www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/31/14:26:39

Message-ID: <363B63D4.1082C192@gmx.de>
Date: Sat, 31 Oct 1998 20:24:04 +0100
From: Christian Hofrichter <ChristianHofrichter AT gmx DOT de>
X-Mailer: Mozilla 4.05 [de]C-QXW0310a (Win95; I)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Djgpp-Compiler
Reply-To: djgpp AT delorie DOT com

--------------0E8DB2DB6A98372B0910267C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

My version: Rhide 1.4
                     Djgpp 2.01

First Problem:
When I want to link my C-programs, I get the error message under DOS :
ld.exe: cannot open -lstdcx: No such file or directory (ENOENT)
although I followed the instuctions, listed in the problems.txt. But
under Windows 95 everthing works fine. What did I do
wrong ?

Second Problem:
Under Borland C++ I could use the Pseudo-Registers to print, calculate
and manipulate  the values of the
CPU-Registers. But now I  only have the Registers, defined in the UNION
REGS, that means when I want to print a
Register-value which I have manipulated before with the inline
assembler, the Pseudo-Registers are not updated. They
will only be updated when an interrupt is used. So what can I do ? Do I
really have to copy the value of the Registers in a
variable and print the variable instead of the Registers ?

Third Problem:
In Real-Mode I could move a block of memory by storing the values of the
Segements in the ES and DS Register, and
the Offset in the DI and SI Register. What do I have to do, to move a
block of memory in the protected-mode (in
assembler) ?  Do I need to store the selectors in one of these Registers
?

Do the Djgpp - C++ - Copy - Routines move 4 bytes at one time or only 1
or 2 byte(s) ? Can I improve the
performance by using the Fat Ds Method when I copy memory-blocks, or do
this method only make sense when I
want to change, read or write the bytes in the memory ?  I have to know
this because of my Vesa-Functions.

--------------0E8DB2DB6A98372B0910267C
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>


<P><B>My version: Rhide 1.4</B>
<BR><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Djgpp 2.01</B>

<P><B>First Problem:</B>
<BR>When I want to link my C-programs, I get the error message under <B>DOS</B>
:<B></B>
<BR><B>ld.exe: cannot open -lstdcx: No such file or directory (ENOENT)</B>
<BR>although I followed the instuctions, listed in the problems.txt. But
under <B>Windows 95 </B>everthing works fine. What did I do
<BR>wrong ?

<P><B>Second Problem:</B>
<BR>Under Borland C++ I could use the Pseudo-Registers to print, calculate
and manipulate&nbsp; the values of the
<BR>CPU-Registers. But now I&nbsp; only have the Registers, defined in
the UNION REGS, that means when I want to print a
<BR>Register-value which I have manipulated before with the inline assembler,
the Pseudo-Registers are not updated. They
<BR>will only be updated when an interrupt is used. So what can I do ?
Do I really have to copy the value of the Registers in a
<BR>variable and print the variable instead of the Registers ?

<P><B>Third Problem:</B>
<BR>In Real-Mode I could move a block of memory by storing the values of
the Segements in the ES and DS Register, and
<BR>the Offset in the DI and SI Register. What do I have to do, to move
a block of memory in the protected-mode (in
<BR>assembler) ?&nbsp; Do I need to store the selectors in one of these
Registers ?

<P>Do the Djgpp - C++ - Copy - Routines move 4 bytes at one time or only
1 or 2 byte(s) ? Can I improve the
<BR>performance by using the Fat Ds Method when I copy memory-blocks, or
do&nbsp; this method only make sense when I
<BR>want to change, read or write the bytes in the memory ?&nbsp; I have
to know this because of my Vesa-Functions.</HTML>

--------------0E8DB2DB6A98372B0910267C--

- Raw text -


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