Mail Archives: djgpp/1994/12/02/15:35:33
From: iclone!mat AT sloth DOT swcp DOT com (Mat Hostetter)
Perhaps _go32_dpmi_simulate_int() should abort if SP is not evenly
divisible by four? It's not clear that you ever want an SP *not*
evenly divisible by four,
Since it is the real-mode stack you should expect it to be word-aligned,
but not necessarily dword-aligned. Having a non-word-aligned stack
is not an error (unless it is close to 1), so I am not sure it should
be checked for.
A better (IMHO) solution would be to have a function, say,
_go32_dpmi_simulate_int_no_stack() for the normal use where
you don't supply a stack.
Morten
--
-------------------------------------------------------------------------
For information on the free Republic of Macedonia connect to the WWW link
http://ASUdesign.eas.asu.edu/places/Macedonia/republic/
-------------------------------------------Morten Welinder, terra AT diku DOT dk
- Raw text -