Search found 26 matches

by user7182
Sun May 01, 2022 12:20 am
Forum: PC 486SX (ao486)
Topic: How to debug in the ao486 core?
Replies: 12
Views: 2580

Re: How to debug in the ao486 core?

I pushed up a test build to address the KQ7 problem if anyone wants to give it try. https://github.com/user7182/ao486_MiSTer/releases/tag/ao486_20220430 This build works for me with Monkey Island and Kings Quest VII. I tried a couple other games (DOOM, and Wolfenstein 3D so far) and haven't seen any other regression. The problem with the change I m...
by user7182
Sat Apr 30, 2022 7:46 am
Forum: PC 486SX (ao486)
Topic: How to debug in the ao486 core?
Replies: 12
Views: 2580

Re: How to debug in the ao486 core?

After rolling back that change KQ7 does get to the main menu. Looking at the logic traces for the sound_dsp the game is polling to see if the DSP busy, and (apparently) never getting the answer it expects. This game uses 16-bit audio and auto init DMA, but nothing stands out to me where that would make a difference. I'll run some more tests and see...
by user7182
Fri Apr 29, 2022 9:22 pm
Forum: PC 486SX (ao486)
Topic: How to debug in the ao486 core?
Replies: 12
Views: 2580

Re: How to debug in the ao486 core?

flynnsbit wrote: Fri Apr 29, 2022 2:44 pm My guess is this broke KQ VII based on your testing:

ao486:
- sound: Add busy wait to write port status on DSP (user7182).
I'll make a build with the latest core with just those changes rolled back and see if the problem goes away. Should be straightforward to see if that change broke it.
by user7182
Sat Apr 16, 2022 1:39 am
Forum: PC 486SX (ao486)
Topic: How to debug in the ao486 core?
Replies: 12
Views: 2580

Re: How to debug in the ao486 core?

I usually start with a search engine, many problems aren’t new and have been solved before. Solved by people who probably spent many many hours to come up with the answer. No reason to spend 40 hours (or 200 hours) investigating a problem you could solve with one hour of research. The practical answer is to learn. General problem solving skills wil...
by user7182
Sun Apr 10, 2022 10:10 am
Forum: PC 486SX (ao486)
Topic: Tyrian No Audio
Replies: 3
Views: 1128

Re: Tyrian No Audio

Thanks for posting a question about this game, I used to play this a lot and forgot it existed. If you put AO486 into SoundBlaster Pro mode the FM sound works. You can do that with the sbctl.exe (https://github.com/MiSTer-devel/ao486_MiSTer/blob/master/releases/drv/sbctl.exe). sbctl t4 To put it back in SoundBlaster 16 mode: sbctl t6 (This isn't pe...
by user7182
Tue Apr 05, 2022 10:06 pm
Forum: PC 486SX (ao486)
Topic: Can I free that key for proper use in the game?
Replies: 5
Views: 1244

Re: Can I free that key for proper use in the game?

Hello, I use a game that need the pressure of the “scroll lock” key in combination of number key (to change view in a old fsim version), but all the time I press “scroll lock” a message on the screen inform me of the change of the emulated input device (normal, mouse, ecc.): can I free that key for proper use in the game? Thanks to all for any hel...
by user7182
Tue Apr 05, 2022 2:20 am
Forum: PC 486SX (ao486)
Topic: Can I free that key for proper use in the game?
Replies: 5
Views: 1244

Re: Can I free that key for proper use in the game?

Maybe like F12, it could become Winkey and Scroll Lock? That seems like a good idea to me, but that combo (Winkey+ScrollLock) takes a screenshot. So does Alt+ScrollLock and Winkey+PrintScreen. Maybe there's room to take that combination and repurpose it? There seems to be a lot of exceptions for the different cores, and not a lot of notes of why t...
by user7182
Mon Apr 04, 2022 10:55 am
Forum: PC 486SX (ao486)
Topic: Can I free that key for proper use in the game?
Replies: 5
Views: 1244

Re: Can I free that key for proper use in the game?

I think the code would have to be changed. The main MiSTer application that runs under Linux grabs the key before it gets to the core. https://github.com/MiSTer-devel/Main_MiSTer/blob/bcc57c8710ed58b16951af2cbc6c25936236419e/user_io.cpp#L3619 I wasn't aware of this joystick mode key before you mentioned it. Is this something people on the x86 code ...
by user7182
Mon Mar 28, 2022 9:38 am
Forum: Guides & Videos
Topic: MiSTer Google Slides PDF Project
Replies: 27
Views: 6733

Re: MiSTer Google Slides PDF Project

I have some suggestions for content on the AO486 Overview. I included a list of assigned interrupts, DMA channels, a system address map, and memory map. I took a shot at laying it out, but it definitely still needs work.
by user7182
Sun Mar 20, 2022 2:03 pm
Forum: PC 486SX (ao486)
Topic: MISTERFS.EXE *BUG*
Replies: 7
Views: 2257

Re: MISTERFS.EXE *BUG*

Are you running MS-DOS 6.22 or older? Because the shared file system returns up to 4GB with the DISKSPACE operation, it may not work with older DOS versions. Checking disk space on different versions of DOS on my system (which has 8GB of actual free space), I had the same problem: MS-DOS 6.22: 0 bytes MS-DOS 7.1: 4,294,981,760 bytes FreeDOS 1.3: 40...
by user7182
Mon Mar 14, 2022 12:33 am
Forum: PC 486SX (ao486)
Topic: Starting-point DOS configuration for ao486 and all features (instructional)
Replies: 46
Views: 15284

Re: Starting-point DOS configuration for ao486 and all features (instructional)

This is copy and pasted:

Code: Select all

DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
DEVICE=C:\DOS\EMM386.EXE RAM 8192 FRAME=D000 D=256 I=C800-CDFF X=CE00-CFFF I=D000-EFFF
FILES=10
BUFFERS=10
DOS=HIGH,UMB
LASTDRIVE=Z
by user7182
Sun Mar 13, 2022 1:28 pm
Forum: PC 486SX (ao486)
Topic: DosZip (Filemanager/shell) crashing when trying to change drives
Replies: 4
Views: 1038

Re: DosZip (Filemanager/shell) crashing when trying to change drives

What your describing sounds like what happens when you are running a memory manager like EMM386 and haven't excluded the CE00-CFFF memory range which misterfs uses.
by user7182
Sun Mar 13, 2022 12:50 pm
Forum: PC 486SX (ao486)
Topic: Starting-point DOS configuration for ao486 and all features (instructional)
Replies: 46
Views: 15284

Re: Starting-point DOS configuration for ao486 and all features (instructional)

Sorry to bump this old thread but I came across it while trying to get misterfs to autoload across all my configs (including expanded mem). Using the following in config.sys that was posted above results in misterfs working: DEVICE=C:\DOS\EMM386.EXE RAM 8192 FRAME=D000 D=256 I=C800-CDFF X=CE00-CFFF I=D000-EFFF However as was previously stated it r...
by user7182
Thu Mar 03, 2022 12:04 am
Forum: PC 486SX (ao486)
Topic: Depricated.
Replies: 746
Views: 300880

Re: Depricated.

rashohyo wrote: Wed Mar 02, 2022 9:55 pm Ho to everyone,
Someone can tell me why in Monkey Island 1 & 2 the Talki Version cannot have the subtitles? Tried with ctrl keys ingame but nothing happens...
Thanks
At least on Monkey Island 1 if you use Ctrl-T it will let you enable text and voice.
by user7182
Sun Feb 27, 2022 2:11 pm
Forum: PC 486SX (ao486)
Topic: Duke 3D Atomic Edition not launching anymore
Replies: 5
Views: 1420

Re: Duke 3D Atomic Edition not launching anymore

What is the error you get?

I noticed that after the change that fixed the IDE flags, that I have two CDROM's present and I needed to load the CD in the second drive in some cases.
by user7182
Sat Feb 12, 2022 8:47 pm
Forum: PC 486SX (ao486)
Topic: [DOS/4GW] Help needed. We are almost there, the perfect DOS machine
Replies: 48
Views: 22817

Re: [DOS/4GW] Help needed. We are almost there, the perfect DOS machine

Thanks, I'll give that a shot! How does one go about patching an EXE to embed a different DOS4GW.EXE or DOS32A.EXE? I have a large library of "No-CD" modified game EXEs that will need the same process applied. There's a tool called 4GWBIND that came with DOS/4GW Professional that can do it. To unbind: 4GWBIND -U <boundapp.exe> <yourapp.e...
by user7182
Fri Feb 11, 2022 2:21 am
Forum: PC 486SX (ao486)
Topic: IDE Controller Errors in Linux on AO486
Replies: 39
Views: 12668

Re: IDE Controller Errors in Linux on AO486

Oh my goodness, it works. The answer was 16. Linux has booted and has even gone all the way through a successful fsck. Make sure you back-up the copy on the root of your SD card and then place this copy there instead. All I've done is change line 426 of ide.cpp to set spb to 16 instead of 0. I'll raise this in a formal bug report shortly to see if...
by user7182
Thu Jan 27, 2022 12:56 pm
Forum: PC 486SX (ao486)
Topic: [DOS/4GW] Help needed. We are almost there, the perfect DOS machine
Replies: 48
Views: 22817

Re: [DOS/4GW] Help needed. We are almost there, the perfect DOS machine

If I could summarize what I think I understand: DOS4G/W is included in a lot of games, and it has bugs that cause the games to crash. (It wasn't totally broken, many people played these games fine back in the day) They have a list of bugs here: https://web.archive.org/web/20190123202228/http://www.tenberry.com/dos4g/watcom/rn4gw.html To work around...
by user7182
Tue Jan 25, 2022 1:34 pm
Forum: PC 486SX (ao486)
Topic: [DOS/4GW] Help needed. We are almost there, the perfect DOS machine
Replies: 48
Views: 22817

Re: [DOS/4GW] Help needed. We are almost there, the perfect DOS machine

When I run the VHD from this issue:
https://github.com/MiSTer-devel/ao486_MiSTer/issues/45

I can see DOOM crash. When I run pminfo.exe it reports values that don't appear correct:
pminfo.png
pminfo.png (490.33 KiB) Viewed 4547 times
Maybe that's a hint? If I run QEMM for example I don't see values of 0.
pminfo_qemm.png
pminfo_qemm.png (486.18 KiB) Viewed 4547 times
by user7182
Tue Jan 25, 2022 12:41 am
Forum: PC 486SX (ao486)
Topic: IDE Controller Errors in Linux on AO486
Replies: 39
Views: 12668

Re: IDE Controller Errors in Linux on AO486

I can't offer any technical advice here, I'm not familiar with IDE at all. I ran your image and looked at the logs which might help if your trying to narrow it down. Gentoo is sending a READ MULTIPLE command (0xC4), and the IDE controller is returning an abort (seen in your screen shots). This MiSTer log confirms this: IDE regs: io_done: 01 feature...
by user7182
Mon Jan 24, 2022 11:19 pm
Forum: PC 486SX (ao486)
Topic: Fixing the Secret of Monkey Island Freezing
Replies: 23
Views: 18546

Re: Fixing the Secret of Monkey Island Freezing

Congrats on the commit to the master branch! What's next for AO486? :D The DOS Protected Mode Interface (DPMI) bug in the core is a pretty big one that no one has been able to figure out. It affects many many games that only bomb on the core and not in emulators or real machines. For some reason, DOS32a works around it most of the time. https://gi...
by user7182
Sun Jan 23, 2022 5:55 am
Forum: PC 486SX (ao486)
Topic: Fixing the Secret of Monkey Island Freezing
Replies: 23
Views: 18546

Re: Fixing the Secret of Monkey Island Freezing

The root cause for Monkey Island was not what I originally thought. The AO486 sound module was correctly playing all the samples it was asked to play from start to finish (DSP Command 0x14). My change to stop the current output when a new time constant command (0x40) worked because I was creating a pause event that should have come from the game, b...
by user7182
Wed Jan 19, 2022 12:18 am
Forum: PC 486SX (ao486)
Topic: Fixing the Secret of Monkey Island Freezing
Replies: 23
Views: 18546

Re: Fixing the Secret of Monkey Island Freezing

I had high hopes for this fix to solve the freezing problem in Falcon 3.0, which is included in the Top 300 compilation, SEEMS to load fine, but it freezes 10-20 seconds after starting a flight. The only thing uncommon about Falcon 3.0, is the "hi-fi" flight model required a math co-processor, which is not supported by the AO486 core. Ho...
by user7182
Wed Jan 05, 2022 11:17 pm
Forum: PC 486SX (ao486)
Topic: Fixing the Secret of Monkey Island Freezing
Replies: 23
Views: 18546

Re: Fixing the Secret of Monkey Island Freezing

No glaring issues. I went through a few mins of gameplay in each of the games in the Top 300. The only interesting change between yours and AO486 21-10-10 is with Discworld 2. Discworld 2 didn't work on the core anyway as it has a screeching audio problem when on the main menu or at different times in the game. The interesting thing is that in you...
by user7182
Wed Jan 05, 2022 11:11 pm
Forum: PC 486SX (ao486)
Topic: Fixing the Secret of Monkey Island Freezing
Replies: 23
Views: 18546

Re: Fixing the Secret of Monkey Island Freezing

Thank you. I can confirm that I can play the SOTM talkie version all the way through without freezing. This fix also helps MI2 talkie version as well, but it does freeze at the very end when the big whoop amusement park employee yells at the kids. I'm using the Top 300 pack with HIMEM enabled. I second this result. I loaded up a save file and the ...
by user7182
Sun Jan 02, 2022 4:14 pm
Forum: PC 486SX (ao486)
Topic: Fixing the Secret of Monkey Island Freezing
Replies: 23
Views: 18546

Fixing the Secret of Monkey Island Freezing

The Problem: The Secret to Monkey Island would intermittently freeze. Easy places to reproduce the freezes were in rooms with a lot of sounds: The kitchen in the SCUMM bar with the pot bubbling, keg pouring, and voice speaking. The bottom of the boat with water dripping and voice speaking. Many of the cut scenes. Investigation: I was able to repro...