Backup and restore registers when calling out to user funcs.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 14 Mar 2010 03:29:55 +0000 (22:29 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 14 Mar 2010 03:29:55 +0000 (22:29 -0500)
commit4ed378a3c000dd3c4226e60a468cc1ea2210254e
tree3aba5ee2fadd93d9bb63cc996670a4527623011d
parent68c51390e3c78ed4a5b012d9097007f7cb0b8bbe
Backup and restore registers when calling out to user funcs.

Make sure to fully backup and restore register state when calling out
to other interrupts and functions.  Some old DOS programs don't fully
restore state.

Also, make sure to enable irqs in call16_simpint().
src/mouse.c
src/util.h