otya128 / winevdm

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows
GNU General Public License v2.0
2.67k stars 152 forks source link

Julia Child: Home Cooking doesn't run, Interrupt 0D error #756

Closed Gaurav-Original-ClassicShellTester closed 4 years ago

Gaurav-Original-ClassicShellTester commented 4 years ago

Running the latest build of OTVDM as of 28th July, 2020.

The app Julia Child: Home Cooking with Master Chefs (download and mount image from here: https://www.legendsworld.net/site/download.php?mirror=13394) doesn't run correctly and continuously gives "Interrupt 0D" errors.

Here's a screenshot: https://i.imgur.com/kVCkd9N.png

Here's a trace: trace.zip

The Setup for this app hangs so it has to be manually installed. Microsoft supplies a batch file on its CD to manually install it. From cmd prompt at E:\ where E: is CD drive letter with the Julia Child CD mounted, run this command:

E:\AAMSSTP\MANUAL\PSS.BAT InstallDirectory WindowsDirectory e.g. E:\AAMSSTP\MANUAL\PSS.BAT C:\MSJulia C:\otvdm\Windows

Then edit C:\otvdm\Windows\MSJULIA.INI to point to correct install location and CD drive letter.

The program starts but then gives continuous errors as mouse is hovered over the bottom buttons. Trace is attached.

cracyc commented 4 years ago

This problem is caused by https://github.com/otya128/winevdm/commit/8ec3aff00f0e734f938fcae97df4ac848cb20a46 where the usage count is incremented twice. The program calls FreeResource then GlobalFree even if the free fails. Without knowing what the change fixes I don't want to mess with it.

Gaurav-Original-ClassicShellTester commented 4 years ago

Oh OK. So it looks like the same Interrupt 0D error occurs in the Windows Entertainment Pack game called Klotski, Microsoft Oceans, Microsoft Automap Streets (1995 edition), Ultimate Frank Lloyd Wright, StarOffice 3.1, Macromedia Action 3, Corel Suite 5, Oxford SuperLex, TexTMaker, Civilization II . So it seems a lot of apps are affected by General Protection faults. (https://www.google.com/search?q=%22Interrupt+0D%22+site%3Agithub.com%2Fotya128%2Fwinevdm%2Fissues)

cracyc commented 4 years ago

GP faults can happen for a very wide variety of reasons and most of those have been fixed already.

Gaurav-Original-ClassicShellTester commented 4 years ago

I see. Thanks. I hope the devs know what that change fixes.

otya128 commented 4 years ago

This problem is caused by 8ec3aff where the usage count is incremented twice. The program calls FreeResource then GlobalFree even if the free fails. Without knowing what the change fixes I don't want to mess with it.

This is a commit that fixed a setup program crashing, but it worked after reverting.

Gaurav-Original-ClassicShellTester commented 4 years ago

Even after this revert/commit, the error is the same: https://i.imgur.com/kW9vZEL.png

Gaurav-Original-ClassicShellTester commented 4 years ago

Yes it's fixed. With today's fix, this title is also added to the list of apps that work. I have made a list by testing the following first-party/Microsoft apps. Some are pure 16-bit or hybrid 32-bit & 16-bit titles, or where installer components are 16-bit and as of the latest build, all of these work mostly fine. Some old 16-bit MS Office apps also work though not all (not in this list). Excuse me if some apps are pure 32-bit in the list in which case OTVDM does not play any role.

Older 16-bit or hybrid Microsoft Bookshelf (94, 95, 1996-97, 98) and Microsoft Encarta (94, 95, 96, 96 World Atlas, 98) titles also run fine.

image

Thank you very much. Now I will test more complex 16-bit games.