aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Serpell <daniel.serpell@gmail.com>2017-04-30 22:54:03 -0300
committerDaniel Serpell <daniel.serpell@gmail.com>2017-04-30 22:54:03 -0300
commit6af621753509c447983fc9fcbca5f44b4d6ac07f (patch)
treebfd13660a8a9ac149a8a95d892e6b00f1feac01f
parent040f562a550afc643048cabeca1d2486ec03203b (diff)
downloademu2-6af621753509c447983fc9fcbca5f44b4d6ac07f.tar.gz
Returns error on UMB link state changes.
-rw-r--r--src/dos.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dos.c b/src/dos.c
index 2801d96..4905a8b 100644
--- a/src/dos.c
+++ b/src/dos.c
@@ -1402,6 +1402,11 @@ void int21()
cpuSetAX(mem_get_alloc_strategy());
else if(1 == al)
mem_set_alloc_strategy(cpuGetBX());
+ else if(3 == al)
+ {
+ cpuSetFlag(cpuFlag_CF);
+ cpuSetAX(1);
+ }
}
case 0x62: // GET PSP SEGMENT
cpuSetBX(get_current_PSP());
Un proyecto texto-plano.xyz