www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/27/14:05:21

Date: Sat, 27 Aug 94 12:53:44 EDT
From: dliu AT faraday-gw DOT njit DOT edu (Dong Liu)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: dpmi.asm bug?
Mailer: VM 5.32 (beta) for GNU Emacs 18.59.5

Hi, I tried to run go32 in dosemu under linux, with dpmi enabled. go32
reports 0 KB dpmi memory. so I lokked into dpmi.asm, I found in the
function _DPMImaxmem, there is something like

        mov     ax,0500h                        ; Get Free Memory Information
        mov     di, offset maxmem_buffer
        int     31h
 
Should it be "mov  edi,offset maxmem_buffer"? because go32 is a 32bit
client.

Since I don't have tcc, I couldn't change go32.exe, I tried to change
dosemu just to use di, this time go32 reports the correct memory size.
Although it did not change the fact I can't run go32 in dosemu yet (the dpmi
implementation in dosemu is not complete), I think it is worth to
report this.

--
Dong Liu  <dliu AT ace DOT njit DOT edu>
Electrical and Computer Engineering Department
New Jersey Institute of Technology, Newark, NJ 07102

- Raw text -


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