Can not shutdown Basilisk II directly, [BasiliskII-Windows-27-08-2023-framebuffer]

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
blackoil
Student Driver
Posts: 10
Joined: Mon Oct 02, 2023 6:26 am

Can not shutdown Basilisk II directly, [BasiliskII-Windows-27-08-2023-framebuffer]

Post by blackoil »

BasiliskII-Windows-27-08-2023-framebuffer:
No response from clicking the win7 close button.
But can shut down (quit Basilisk) in Mac System 7 special menu.

From "BasiliskII for Windows (29-05-2021)" to "BasiliskII for Windows (10-08-2023)", all crash with error code C0000005 when starting.

v0.8 build 142 works fine, except that it persists to prompt the cdenable.sys is missing, even it was there.
blackoil
Student Driver
Posts: 10
Joined: Mon Oct 02, 2023 6:26 am

Re: Can not shutdown Basilisk II directly, [BasiliskII-Windows-27-08-2023-framebuffer]

Post by blackoil »

BasiliskII-Windows-23-08-2023 crashes with following debug info

Problem signature:
Problem Event Name: APPCRASH
Application Name: BasiliskII.exe
Application Version: 0.0.0.0
Application Timestamp: 64e5f323
Fault Module Name: BasiliskII.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 64e5f323
Exception Code: c0000005
Exception Offset: 0004b7a0
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
blackoil
Student Driver
Posts: 10
Joined: Mon Oct 02, 2023 6:26 am

Re: Can not shutdown Basilisk II directly, [BasiliskII-Windows-27-08-2023-framebuffer]

Post by blackoil »

BasiliskII-Windows-23-08-2023

The buggy line is 012B9E33. The instruction tried to write a read-protection region, address is 04F80000

012B9E0E | E8 AD19FFFF | call basiliskii.12AB7C0 |
012B9E13 | 8B0D 503E6E01 | mov ecx,dword ptr ds:[16E3E50] |
012B9E19 | 89C3 | mov ebx,eax |
012B9E1B | 85C9 | test ecx,ecx |
012B9E1D | 74 1D | je basiliskii.12B9E3C |
012B9E1F | 8B15 403E6E01 | mov edx,dword ptr ds:[16E3E40] |
012B9E25 | 8B2D 483E6E01 | mov ebp,dword ptr ds:[16E3E48] |
012B9E2B | 31C0 | xor eax,eax |
012B9E2D | 8D76 00 | lea esi,dword ptr ds:[esi] |
012B9E30 | 83C0 01 | add eax,1 |
012B9E33 | C602 00 | mov byte ptr ds:[edx],0 |
012B9E36 | 01EA | add edx,ebp |
012B9E38 | 39C1 | cmp ecx,eax |
012B9E3A | 75 F4 | jne basiliskii.12B9E30 |
012B9E3C | E8 7F19FFFF | call basiliskii.12AB7C0 |
012B9E41 | 29DE | sub esi,ebx |

Address=04F80000
Size=000D0000
Allocation Type=PRV
Current Protection=-R---
Allocation Protection=ERW--
blackoil
Student Driver
Posts: 10
Joined: Mon Oct 02, 2023 6:26 am

Re: Can not shutdown Basilisk II directly, [BasiliskII-Windows-27-08-2023-framebuffer]

Post by blackoil »

The bad rom causes BasiliskII crashed.

BasiliskIIGUI v0.8.142 has ROM checksum verification.
BasiliskII v0.8.142 just blacked screen, not crashed.

But other recent builds still can not shutdown via ALT+F4, except for BasiliskII v0.8.142
Post Reply