www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/16/09:27:49

Date: Mon, 16 Dec 1996 15:08:19 +0100 (MEZ)
From: Gal Andreas <gal AT hppool DOT cs DOT Uni-Magdeburg DOT DE>
To: djgpp AT delorie DOT com
Subject: wired realmode-call and uclock()
Message-Id: <Pine.HPP.3.91.961216145935.8863A-100000@csmd46.cs.uni-magdeburg.de>
Mime-Version: 1.0

I have two small problems, lets have a look somebody can solve this

1. I have to FAR-Call a real-mode address in dos-memory-area with a 
pointer to something on the stack. Its hard to say ... 

coded in b**land c this is:

far function_to_be_called(char _ss *a)
{ ... }

(I know, this makes absolutly no sence, but I have really to do this, 
because I can`t change the handler)  

only the segment is passed, the stack must be set and there must be a 
structure pointed to by "a"

Maybe "__dpmi_simulate_far_call_stack" could do this, but I failed.

2. I have a Simens Nixdorf PCD4NL Laptop, 486DX66/2 and uclock seems to 
fail. The values I get from the each uclock()-calls are permutating up 
and down, with tendence to grow (I guess the "bios_ticks" are counted ok, 
but the timer3 is counting still-by-2?).

Please, send me a copy directly, too, there are so many mails in this 
list, wow :-)

thanks
Andreas  

e-mail:   gal AT hppool DOT cs DOT uni-magdeburg DOT de
homepage: http://www-hppool.cs.uni-magdeburg.de/~gal
AMPR:     db7kg AT db0fc DOT deu DOT eu
Digi:     DB0EMU via DB0BRO (18.00 - 20.00)

- Raw text -


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