Hey man, just wanted to say thanks. I finally managed to get your DLDI driver working!
Turns out the arm9 had to give the arm7 control over the cart bus, thats why I was calling readSectors and it read garbage:yay:
That sounds really nice so I'll probably check it out for an upcoming project since you can do DLDI properly in an emu, but atm I've already done most of the work on the colorforth compiler and the only thing I really need before moving to an on-system editor was reading from external memory.
I...
Well thats the thing, am not using anything related to the standard toolchain but doing everything from scratch on my own assembler/compiler, with the arm7 being the main processor and the arm9 being a slave that responds to FIFO irqs.
So for example I included your dldi binary near the base of...
Might be because am doing mostly everything on the arm7 in thumb mode which is a nono in most cases, it works IRL and in no$gba but it just hangs on some versions of desmume and melonds.
Well I tried it and it patched fine but it seems that my system is too alien for desmume since it just seems to go off and never return when I try to read a disk sector.
I'll just have to bite the bullet and implement direct cart reads and write and leave DLDI for last, at least for the moment...
Thanks Coto, was looking at the .dldi binary and it seems that I'll just need to include it when building the main image, so hopefully it'll work out in desmume.
Also, is the sav file needed? Because I still dont have any code to access the eeprom.
Thanks, this is something I'll definitely try out.
Am not using devkitpro to build the program though, so I'll have to fiddle around with it.
So far as I understand I have to patch the .nds file with this and use the read/writeblk address like I would with normal DLDI or do I have to read...
Thanks, I forgot to mention I'm writing for vanilla NDS so the i variants SD card is out of the picture(and my skill) at least for now. So far I've checked the libnds code for cart reading but it seems a bit convoluted.
Hello all, I've been working on a baremetal colorforth compiler on the DS in my spare time for the last few months.
However I've run into a relatively big roadblock namely reading from anything larger than the available ram.
I have 2 options: either DLDI or reading directly from the cart.
So...
jokes aside, anyone else who saw the northern lights tonight, what did you think, i thought they were beautiful for a while, before it went to a vague pink
maybe later they'll pick up again