CPCWiki forum

General Category => Emulators => Topic started by: keith56 on 15:34, 22 November 16

Title: CrocoDS doesn't like me!
Post by: keith56 on 15:34, 22 November 16
CrocoDS 2.0 (the Nintendo DS CPC emulator) seems to have issue with the game I am developing,


it just crashes as soon as the game loop starts - this is a shame, as The DS would be my preferred platform for playing the game - and not being able to play my own game is a bit annoying!


The strange thing is, the game works fine on a real 6128, Winape, and as far as I can tell WinCPC and Caprice (Which I understand that Croco is based on?)


I didn't think I was doing anything particularly unusual, I do some raster color changes, use the alternative registers (I don't use the firmware and use my own interrupt routine) and switch the stack pointer for fast read/write (with interrupts disabled)  [size=78%]but thats about it, I'm not using overscan or any strange CRTC registers.[/size]


Does anyone know of any known weaknesses/limitations in the emulation of CrocoDS, or alternatively a better emulator for the DS?


Just to reiterate - the game seems to have no problem on real hardware or other emulators
Title: Re: CrocoDS doesn't like me!
Post by: genesis8 on 14:10, 23 November 16
Ask the author on twitter : https://twitter.com/kyuran


He is working on an OSX version at the moment.
Title: Re: CrocoDS doesn't like me!
Post by: EgoTrip on 19:28, 24 November 16
There's another DS emulator called AmeDS

http://gamebrew.org/wiki/AmeDS
Title: Re: CrocoDS doesn't like me!
Post by: keith56 on 13:21, 27 November 16
Yes! it works on AmeDs! - I didn't know about that emulator - I especially like the Retro UI!


I hadn't realized the OSX CrocoDS was by the same author, I had assumed since it had not been updated since 2007 the developer had moved on to other things..


When I get time, I will try disabling some modules to narrow down the source of the problem and send the dev the info - in case they want to look at it further


Thanks for the advice!
Keith
Title: Re: CrocoDS doesn't like me!
Post by: Redbug on 21:34, 23 December 16
I'm waiting the info :)
Thanks

Title: Re: CrocoDS doesn't like me!
Post by: keith56 on 22:55, 23 December 16
Totally forgot about this one, I was debugging my game still!


Just did another test, and it's really interesting.

The main menu works fine, but the instant the game starts it crashes! I never even see a single frame!

Now, the main menu actually uses the same code as the Level, the main difference is the main menu uses ram configuration C0 with no page flipping, and the Level code uses C1 and C3

I would have to take a guess that it's either a firmware difference (something going wrong during loading) - or a difference in the way the memory banks switch - maybe I'm using interrupts wrong, and there's a one firing on the DS, that never happens on Winape

Firmware wise It seems to work fine on Amsdos/Parados on Winape



Powered by SMFPacks Menu Editor Mod