Deunan
Double fault 
25th-Feb-2008 11:25 am
With addition of full MMU support I introduced a bug into Makaron - games that were previously playable with simple SQ remapping would now require slower MMU recompiler. Fixed. This means only games based on Windows CE will require proper address translation, the rest will happily run on faster recompiler. I guess there is no "SEGA multitasking OS" for Dreamcast after all :)

As for MIL-CDs, those don't even use address translation at all. They wouldn't work on normal recompiler because it was too fast. Again, due to the bug mentioned I was led to belive MMU was being used - while it was not. Seems like lowering SH4 speed to about 160 MIPS gets those to run, not yet sure why. Could be another DMA issue, all those use the same software MPEG player and it gave me some troubles before on other games as well.

I've tried to investigate the cause of WinCE games breaking TA geometry registration process - without much luck so far. Also many games complain about VMU not having enough free space on it (but some would still create a good save later). Suddenly it seems like a good idea to quickly release T9/2 to just see how frequently it crashes and if that coincides with emulation speed.

I'm done merging the MMU version with the main source branch, seems to work. I've also tried several things to speed up the address translation - again, not much luck there. The lookup tables I'm using now seem to be the limit of what can be done in that aspect. Gee, I almost wish I could make use of x86 paging unit (and yes, I know how complicated that would be - pretty fast though).

In short: unless I discover something obviously wrong for me to fix, I'm going to release T9/2 later today (or so).

UPDATE: Here's Makaron Test 9/2 with MMU support in recompiler.
If you have any problems with it, go back to T9/1. This version is pretty broken (lots of unfinished modifications) but I want to know how badly :)
Again, too many changes to list. Some bug fixes (to SH4 recompiler as well). PAD plugin now enforces 5% dead zone in analog stick center position - this should cure "cursor keeps running away" problem in some games. New AICA/ARM code (back to interpreter for now) sounds much better, no DSP yet. More messages will now appear in English, in future it will be possible to support many languages (via translation files or something like that).

There's new system of identifying GD-ROMs and MIL-CDs - it's main purpose is to enable MMU where necessary. The database is far from complete though, so some GDs will not be recognized. Please report those, but do make sure to provide proper title, MD5 sum computed by Makaron, region, and whether it is Windows CE game or normal one. DO NOT REPORT PIRATED SOFTWARE. I will ignore/delete such reports on sight. Same goes for dubious ones, with spelling errors and such.
If you happen to stumble upon WinCE game that is not recognized you'll need to enable MMU manualy in the ini file. And let me repeat that again - MMU requires a damn fast CPU. 2,4GHz Core2 Duo is the absolute minimum - the faster the better.

The multi-threaded GD reading is not yet finished. You might want to enable it anyway, see GDROM.ini for that, but be advised that some games will refuse to boot or hang with this option enabled. Most should work.

UPDATE 2: Oops. Last minute changes to GD detection code broke it completly. Sorry :) I've posted revised T9/2 so please redownload.
Comments 
1st-Mar-2008 03:50 am (UTC)
Anonymous
Fullscreen is losing focus all the time for no reason and freezes gameplay. Maybe not pause emu upon loss of focus? I'm deeming fullscreen unplayable right now and hope it can get fixed. I'm a fullscreen guy. :)
1st-Mar-2008 09:49 am (UTC)
Pausing is something I've been meaning to add for months now, but was always too lazy :)
The problem is, if your fullscreen window get minimized or switched to normal screen the Direct3D component neeed to be reinitialized. It's not being done at the moment so Makaron will die on error.

However I'm puzzled as to why are you loosing full screen focus? I've spent hours playing in FS mode without any problems... Try shutting down all other applications, especially any communicators and chat programs. Find out what's taking the focus away and why - this is not normal.
1st-Mar-2008 09:23 pm (UTC)
That's weird!! Usually, its bad before even hitting the main menu. When I launch SF Alpha 3, it always freezes on the Capcom logo. Then I have to either move the mouse around a whole bunch or press ALT F4 ONCE, then it allows me to proceed on. When I'm moving the mouse around, I see flashes of my toolbar and other desktop items. This is with and without the frontend.

After fussing with it for it a bit, sometimes it will run flawlessly for hours, but that's rare and I still have to get over that initial hump every time. I have NOTHING running in the background, especially any chat crap. And as I am a full screen guy and use it all the time, I can tell you that I do not have this problem on any other emu or pc game - just Makaron for some reason. :(

So if "pausing" is not implemented, why then would emulation be stopping EVEN IF I lose focus somehow?
1st-Mar-2008 10:37 pm (UTC)
It looks like you get some sort of message box when entering full screen mode. But Makaron only shows those for errors, and once you close them it should terminate. However, this is known not to work for MT version (that is, after the error message is gone Makaron will enter permanent limbo state and needs to be finished off with Alt+F4, or killed from Task Manager).

Open "Dziennik.txt" file and see what's been logged (the newest stuff is on the end). Any errors? If so, copy & paste it here for me.
2nd-Mar-2008 01:02 am (UTC)
Anonymous
Happens on both normal and multi-thread version - no difference. It is 100% impossible for me to enter the SF Alpha main menu without the screen freezing or going black then forcing me to do something to "wake" it up. This occurs on tens of games that I've tested. There are zero errors shown in the log.

Here's the whole log:
2008-03-01 16:46:07 --- Dziennik otwarty. ---
2008-03-01 16:46:08 > Makaron: Version: Test 9/2
2008-03-01 16:46:08 > Makaron: MMX = 1, SSE=3, DAZ=1
2008-03-01 16:46:08 > Makaron: P = 3579545
2008-03-01 16:46:08 > Makaron: SH4 = 360 MIPS
2008-03-01 16:46:08 > Makaron: K = 20000
2008-03-01 16:46:08 > HOLLY/Maple: 0x20: Makaron controller (0x00200101 / 0x00540904)
2008-03-01 16:46:08 > HOLLY/Maple: 0x01: Makaron VMU (0x00030201 / 0x00540902)
2008-03-01 16:46:08 > HOLLY/Maple: 0x02: Makaron VMU (0x00030201 / 0x00540902)
2008-03-01 16:46:08 > HOLLY/Maple: 0x60: Makaron controller (0x00200101 / 0x00540904)
2008-03-01 16:46:08 > HOLLY/Maple: 0x41: Makaron VMU (0x00030201 / 0x00540902)
2008-03-01 16:46:08 > HOLLY/Maple: 0x42: Makaron VMU (0x00030201 / 0x00540902)
2008-03-01 16:46:08 > AICA/ARM: 2.8 MHz
2008-03-01 16:46:08 > AICA/ARM: K = 500
2008-03-01 16:46:08 > OCD: Obraz CDI
2008-03-01 16:46:08 > OCD: CDIv3.5
2008-03-01 16:46:08 > IGDI: MD5: c967bb52659e1f1610a293f0740e0f9c
2008-03-01 16:46:08 > IGDI: Unidentified image.
2008-03-01 16:46:08 > D3D9: Urz¹dzenie: NVIDIA GeForce 7900 GS
2008-03-01 16:46:08 > D3D9: Driver version: 6.14.11.6921
2008-03-01 16:46:08 > D3D9: Test formatu: D3DFMT_X8R8G8B8
2008-03-01 16:46:08 > D3D9: Modu³ uruchomiony.
2008-03-01 16:46:08 > VS: Profil vs_3_0
2008-03-01 16:46:08 > PS: Profil ps_3_0
2008-03-01 16:46:09 > D3D9: Test Z-bufora: D3DFMT_D24S8
2008-03-01 16:46:09 > DS8: Modu³ uruchomiony.
2008-03-01 16:46:09 > MMAP: OB? (0xa0600004)
2008-03-01 16:46:09 > AICA/MMAP: [PC=0x8c00b8e4] RESET = 0 (ea000007)
2008-03-01 16:46:10 > AICA/MMAP: [PC=0x8c090bb6] RESET = 1
2008-03-01 16:46:10 > AICA/MMAP: [PC=0x8c090bb6] RESET = 0 (ea0002c7)
2008-03-01 16:46:10 > D3D9: Test Z-bufora: D3DFMT_D24S8
2008-03-01 16:46:20 > D3D9: Test Z-bufora: D3DFMT_D24S8
2008-03-01 16:46:23 > AICA/MMAP: [PC=0x8c0e7dae] RESET = 1
2008-03-01 16:46:23 > AICA/MMAP: [PC=0x8c0e7dae] RESET = 0 (ea00003e)
2008-03-01 16:46:23 > D3D9: Test Z-bufora: D3DFMT_D24S8
2008-03-01 16:47:08 > DS8: Modu³ zatrzymany.
2008-03-01 16:47:08 > D3D9: Modu³ zatrzymany.
2008-03-01 16:47:08 > DS8: Modu³ zatrzymany.
2008-03-01 16:47:08 > D3D9: Modu³ zatrzymany.
2008-03-01 16:47:08 --- Dziennik zamkniêty. ---

No problems as shown.

Here's my specs:
AMD Athlon64 4200+ Dual Core 2.2ghz. / Asus A8N-SLI / 1.5 Gig Ram / GeForce 7900GS 256mb PCI-e / Creative Audigy 2 / Win XP Pro SP2 / Madcatz Microcon 360 controllers

If the user at any times moves the mouse around the bottom of screen, they can see desktop artificats in full screen mode. I don't think that should be the case and probably related to what's going on. Thanks for trying to help out - hopefully we can figure it out.
This page was loaded Jun 18th 2013, 4:32 am GMT.