On Sun, Feb 24, 2002 at 11:14:27AM +0100, N?stor  wrote:
> Now the solution seems simple: I must just backup by hand these
> variables before calling ALL_SEG, and then restore them again. But can I
> assume that the location of these variables does not vary from one MSX
> to another?

Isn't it easier to simply switch off the interrupts before the call? I
guess DOS will switch them on (if at all) after doing all the work, just
before returning. If the function may be called on interrupt, this is
the only thing that will solve your problem anyway.

Bye,
shevek
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html

Reply via email to