alekmaul Posted April 20, 2006 Share Posted April 20, 2006 (edited) Hello all,My emulator MarcaDS works fine with Dualis R19 but freeze on the game list with Dualis R19.1 and Dualis R20... I think the problem is when I open the game rom file to see if a screen shot is available.I use the last chism driver version : 2006/03/03Can't with use these dualis versions with this chism's driver ? Edited April 20, 2006 by alekmaul Link to comment Share on other sites More sharing options...
Robert Posted April 20, 2006 Share Posted April 20, 2006 I never heard of MarcaDS... turns out it's an arcade emulator that runs on a DS. Nice site too... (in French grr). Link to comment Share on other sites More sharing options...
mic Posted April 20, 2006 Share Posted April 20, 2006 The only thing regarding FAT that I've changed in those versions is that I increased the limit for number of files and added support for long filenames. Link to comment Share on other sites More sharing options...
alekmaul Posted April 20, 2006 Author Share Posted April 20, 2006 (edited) I never heard of MarcaDS....<{POST_SNAPBACK}>Yes, I am French, sorry about that MarcaDS is an arcade emulator like Mame but it does not use the mame source code (too huge for DS). So you can play at games like Pacman, Donkey Kong, arkanoid, and so on (the list is in the zip file).It is emulated about 40 games for now.You can download the last version, you will have a readme file in Englsh too ! For mic, this is very strange... , I have change nothing.MarcaDS freeze if you use UP and Down keys on the list. I will try do locate the code which is responsible of the problem. [EDIT]I have found where is the problem, it is in my zip reader, but I don't know why it does not works now.Here is the code : if (_zipFile != NULL) { free(_zipFile); } _zipFile = NULL; FAT_chdir(szFATDir); FAT_FILE* handle = FAT_fopen(path, "r"); if (handle != NULL) { int iSSize=FAT_GetFileSize(); _zipFile = (char*) malloc (iSSize+1); FAT_fread((void*) _zipFile, iSSize, 1, handle); FAT_fclose(handle); }path is a const char * var which have the real zip filename. Edited April 20, 2006 by alekmaul Link to comment Share on other sites More sharing options...
mic Posted April 20, 2006 Share Posted April 20, 2006 You could try putting printf's in front of each statement in that code to see which exact statement it freezes on. Link to comment Share on other sites More sharing options...
alekmaul Posted April 21, 2006 Author Share Posted April 21, 2006 (edited) OK, I have put debug mode on.Here is the screenshot of Dualis before it is crashing (drwatson...)The FAT_GetFileSize is ok, it is 218142 for 1942.zip arcade game.So, I think the pb is the FAT_fread, because it crashed just after when I want to check the ZIP header (and the size of the zip file seems ok). if (_zipFile != NULL) { if ( (*_zipFile != 0x50) || (*(_zipFile + 1) != 0x4B) || (*(_zipFile + 2) != 0x03) || (*(_zipFile + 3) != 0x04) ) { if (isFATSystem) { free(_zipFile); } #ifdef VERBOSE iprintf("Not zip file %08x\n",_zipFile); #endif return 0xF0; }Of course, I have made NO modification to chism's FAT driver. Any suggestion ? Edited April 21, 2006 by alekmaul Link to comment Share on other sites More sharing options...
alekmaul Posted April 21, 2006 Author Share Posted April 21, 2006 Also, even if it will not help you, MarcaDS is compatible with GBFS and it works fine with Dualis R20.The problem is only with FAT driver. Link to comment Share on other sites More sharing options...
mic Posted April 21, 2006 Share Posted April 21, 2006 I have fixed a couple of bugs in the FAT emulation today. I don't know if they have anything to do with your problem, since I don't have the latest version of MarcaDS to test with. Link to comment Share on other sites More sharing options...
Robert Posted April 21, 2006 Share Posted April 21, 2006 http://www.portabledev.com/ But I can't seem to find the download section. Link to comment Share on other sites More sharing options...
alekmaul Posted April 22, 2006 Author Share Posted April 22, 2006 (edited) mic, I've got a bad news for you... .... NOW, IT IS GOOD !!! !!!! Thanks a lot for your fast release with the fix, you're the best Robert, here is the web page about MarcaDS, with download section on the bottom of the page : MarcaDS Web PageAlso, you can find others emulator i've made on my web site, a vectrex emulator and a coleco emulator.Here are the links :Coleco EmulatorVectrex emulatorAlso, the PSG emulation of the unreleased V0.3 of colecoDS works fine with sound in Dualis At least, mic, I saw a little bug in your emulator, the video emulation works even if we access it in 8 bits (for exemple, when we are changing tiles video ram, like in MarcaDS), but it is bad because the hardware only wants 16 bits access. So some homebrew works on your emulator if we make access in 8 bits to the video memory but are not working if we use a real DS (glitchs on screen or black screen). Edited April 22, 2006 by alekmaul Link to comment Share on other sites More sharing options...
Robert Posted April 22, 2006 Share Posted April 22, 2006 Thanks Alekmaul <_> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now