gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > emulator plugin to see VRAM displayed

#139212 - ghuldan - Mon Sep 03, 2007 4:18 pm

Does anyone know a plugin which display what's in VRAM for any DS emulator please ? like virtualboyadvance does.
Especially dor dualis (the only emulator that display anything of my project)
but i would accept anyone.

#139227 - Mighty Max - Mon Sep 03, 2007 7:28 pm

Desmume comes with a build in OAM, Map and Tileviewer as well as a simple memory viewer.

The GDB Debugger Stub might come in handy as well.

If you find out, what's causing the Emulator not to work with your project, the developers are happy if you leave them a note or even a patch (It's open source)
_________________
GBAMP Multiboot

#139228 - jerbob92 - Mon Sep 03, 2007 7:30 pm

look, most of the emulators are made for commercial games i think, try no$gba emulator, it works for most homebrew

#139251 - ghuldan - Mon Sep 03, 2007 11:33 pm

16bits sprites only show on dualis for me.

When i try to load a tile background manually, tile per tile (many DMAcopy in a row) ... it shows only on dualis for me ... But when i try to load it in a single shot it does work.

I tried no$gba and ideas shows black background & sprites
last desmume crash at start.
desmume v0.3.4 freeze early.

here is some source

[Please use the [url=] syntax for long URLs. -- MOD]

By the way could someone test it on a flash card ?

#139266 - wintermute - Tue Sep 04, 2007 3:20 am

Don't do this

Code:

//------------------------------------- PAGfxConverter Include -------------------------------------
#include "gfx/all_img.c"

#include "../include/AllH.h"
#include "../include/AllC.h"

// Screen files :
#include "../include/Decor.img"


http://www.coranac.com/tonc/text/bitmaps.htm#ssec-data-hdr

also remove this from the makefile

Code:

LOGO      := -o $(CURDIR)/../logo_wifi.bmp


It's not necessary and prevents the .nds file from booting on no$gba and slot2 cards.

The makefiles provided by PAlib are based on old versions of the devkitPro build system and are sorely in need of being updated.

The nds file displays a black screen on hardware using an R4DS. From the code you've shown it's either you doing something wrong with PAlib or PAlib is just broken.

Unfortunately I'm not able to offer further assistance, I don't use PAlib and don't intend to.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog