From: Toni Wilen Date: Mon, 30 May 2016 17:54:28 +0000 (+0300) Subject: Fixed pre-KS1.3 autoboot support. X-Git-Tag: 3300~8 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=67bec0d57e597055adfec6decb96d987fa1aa7b1;p=francis%2Fwinuae.git Fixed pre-KS1.3 autoboot support. --- diff --git a/filesys.cpp b/filesys.cpp index 87a6caeb..d6d8dcec 100644 --- a/filesys.cpp +++ b/filesys.cpp @@ -7571,6 +7571,9 @@ static uae_u32 REGPARAM2 filesys_diagentry (TrapContext *ctx) org(temp); put_word(resaddr, 0x4e75); // rts + resaddr += 2; + + uaecptr resaddr_tmp = resaddr; resaddr = resaddr_hack; @@ -7602,6 +7605,8 @@ static uae_u32 REGPARAM2 filesys_diagentry (TrapContext *ctx) // filesys.asm make_dev D7 put_word_host(baseaddr + 0x2112, 1 | 2 | 8 | 16); + + resaddr = resaddr_tmp; } trap_set_areg(ctx, 0, last_resident); @@ -7642,8 +7647,8 @@ static uae_u32 REGPARAM2 filesys_diagentry (TrapContext *ctx) tmp += 2; } } - //activate_debugger(); #endif + //activate_debugger(); return 1; }