Monday, October 30, 2006

desmume -- pype's edit

Okay, i guess it's time for me to release this. Here's the sources of the DESMUME nintendo DS emulator i use for homebrew dev'ing. Original sources are from YopYop, but there was a couple of things i had to fix in order to have something matching my needs.

Among other things, this version will notify you on the stderr that you're accessing some unsupported features (such as layer transparency). It also supports X and Y buttons even in SDL mode (which i found the best when dev'ing as you just have to hit CTL+C to stop emulator.

Last but not least, it is also capable of emulating a SuperCard device (Compact Flash version) -- at least read only -- which might be handy to have if you're doing something that relies on files on a SC device (e.g. using Chishm's FAT library). The 'disk image' for the SC device is passed as the second argument on the command line. If none is given, it's just like if you were running your NDS on a device that has no supercard (or whatsoever flash card. reader) device.

Note that if there's something like extra RAM on the SC device, it's completely missing from this emulator, though.

Have fun with desmume-pype.tar.gz.

Bon, il serait peut-être temps que je le release, lui. Voici donc les sources de l'émulateur DS "DESMUME" tel que je l'utilise pour mes développement. Il s'agit des sources initiales de YopYop (téléchargées en Juin 2006) avec quelques bricoles à gauche et à droite.
Entre autre, cette version vous crachera un message sur STDERR quand vous essayez d'écrire dans un registre non supporté (notamment la transparence). J'ai aussi ajouté le support des boutons X et Y pour le mode SDL (mon favori ;). La keymap est donc: ENTER (=start), BKSPC (=select), E (=a), D(=b), R(=x), F(=y), T(=ls), G(=rs)
Enfin (et peut-être surtout), cette version peut émuler un périphérque SC/CF (du moins en lecture), ce qui peut être pratique pour développer des outils utilisant la bibliothèque de Chishm pour les devices FAT). Il vous faut une image disque (formattée en FAT) que vous passez comme second argument lors du démarrage.

Voilà. Amusez vous comme des tifous ^_^

Note: this is obsolete since the advent of desmume 0.7.3 which has a nice --cflash=[...] command line option :P

1 comment:

Anonymous said...

Tu sais que je t'adore toi ?
Je vais enfin pouvoir jeter mon petit dualis sous wine.