Mail Archives: djgpp/1996/12/16/09:27:49
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 -