Search found 25 matches

by Arisotura
Thu May 06, 2021 8:20 am
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 21878

Re: NDS Cartridge ROM specs

the Bad Apple demo uses hardcoded ROMCTRL values, not these in its ROM header (whatever these are). re: headers for NAND carts I can provide those, but I doubt they are of any use as far as NAND write commands are involved. as I understand, the values in the ROM header are only really useful for the...
by Arisotura
Wed May 05, 2021 5:07 am
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 21878

Re: NDS Cartridge ROM specs

I thought DLDI is for loading data that isn't inside of the ROM-image... that could work only if your data actually isn't inside of the ROM-image. I haven't downloaded that huge 100MByte Bad Apple demo, but I guess it contains two versions; one with data inside of the ROM-image, one with external d...
by Arisotura
Sun May 02, 2021 6:13 am
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 21878

Re: NDS Cartridge ROM specs

(having to log in again? what's the difference between checking 'remember me' and leaving it unchecked?) I will get back to you about the ROM headers, for now I wanna address the 'reading data with WR bit set' thing this issue we had in melonDS, was caused by a demo abusing that, basically it's read...
by Arisotura
Thu Apr 29, 2021 2:08 pm
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 21878

Re: NDS Cartridge ROM specs

re: header 94/96 I don't recall which one is which, I'd have to make a new disassembly of JwtB or WWDIY to see which value they use when accessing savemem. the two values are identical in both games, so I guessed the first one would be the end of the ROM region. that is also the case in Face Trainin...
by Arisotura
Tue Apr 27, 2021 8:02 am
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 21878

Re: NDS Cartridge ROM specs

if that's of interest: I reverse-engineered the NAND thing used in Jam with the Band (and WarioWare DIY, too, but the cart I had was JwtB) basically: basic info the NAND save memory is probably the same memory as the ROM itself, but they can't be accessed at the same time -- there are mutually-exclu...
by Arisotura
Thu Jan 14, 2021 1:43 pm
Forum: Other Retro Dev
Topic: NDS Wifi specs
Replies: 23
Views: 22154

Re: NDS Wifi specs

nice findings! also re: RFSTATUS=7. I kinda suspected it was a transition state of that kind, just had not observed it in hardware. also reminds me: I should look into how the hardware calculates packet durations. those are set in a specific way during MP exchanges, I guess the purpose is to tell ot...
by Arisotura
Fri Dec 18, 2020 3:05 am
Forum: Other Retro Dev
Topic: NDS Wifi specs
Replies: 23
Views: 22154

Re: NDS Wifi specs

I had a couple test programs back then, sender and receiver. I did get the empty replies when I didn't set TXBUF_REPLY1 on the receiver side. maybe it's something like having to make sure you have W_BSSID and W_AID registers set properly, but I think you have those set up already.
by Arisotura
Tue Dec 15, 2020 6:36 am
Forum: Other Retro Dev
Topic: NDS Wifi specs
Replies: 23
Views: 22154

Re: NDS Wifi specs

it will always send a reply -- if W_TXBUF_REPLY1 isn't configured, it will send an empty reply frame (with frame control 0x0158). I haven't managed to reproduce that effect. I've tried never writing REPLY1, and also tried writing REPLY1 only once (hoping that it would re-use parts of the TXHDR and/...
by Arisotura
Tue Dec 15, 2020 6:34 am
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 21878

Re: NDS Cartridge ROM specs

it's a DS game. the save memory size is 128 kilobytes. the comm protocol is the same as for smaller EEPROMs, except with 3 address bytes instead of 2. I'm not sure about other details, I don't have a cartridge handy.

re: the WR bit. I know of a demo that sets it, but no official software.
by Arisotura
Mon Nov 09, 2020 6:13 pm
Forum: Other Retro Dev
Topic: NDS Wifi specs
Replies: 23
Views: 22154

Re: NDS Wifi specs

hey, interesting find. I wonder why those things go to wifi RAM, when they have more than enough space for it in the register address space. also, I found my old wifi findings thread, which is a tad messy, but might have things I missed here: http://melonds.kuribo64.net/board/thread.php?id=34 not mu...
by Arisotura
Wed Nov 04, 2020 10:46 am
Forum: Other Retro Dev
Topic: NDS Wifi specs
Replies: 23
Views: 22154

Re: NDS Wifi specs

re: W_US_COMPARE bit0. I guess it's a write-only bit. also, forgot to mention, about W_RFSTATUS: // RFSTATUS values: // 0 = initial // 1 = waiting for incoming packets // 2 = switching from RX to TX // 3 = TX // 4 = switching from TX to RX // 5 = MP host data sent, waiting for replies (RFPINS=0x0084...
by Arisotura
Mon Nov 02, 2020 7:08 am
Forum: Other Retro Dev
Topic: NDS Wifi specs
Replies: 23
Views: 22154

Re: NDS Wifi specs

W_US_COMPARE from what I observed, setting bit0 blocks W_BEACONCOUNT IRQ14 until W_US_COUNT matches W_US_COMPARE. W_CMD_COUNT this actually defines the time interval during which W_TXBUF_CMD transfers are possible. that TX slot will automatically do the transfer again if there are errors (like MP cl...
by Arisotura
Mon Nov 02, 2020 6:21 am
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 21878

Re: NDS Cartridge ROM specs

re: writing to cartridge. I haven't researched it intensively, but I know that carts with NAND do use specific commands to write to the NAND, and transfer the data by writing to 0x04100010. flashcarts likely work similarly, too. the WR bit doesn't seem to enforce a read/write direction, I know of so...
by Arisotura
Sat Oct 31, 2020 8:07 am
Forum: Other Retro Dev
Topic: Trying to get the DSi cameras working
Replies: 14
Views: 10887

Re: Trying to get the DSi cameras working

well, good to know. reminds me there are still flaws in melonDS's I2C code... by the way, if you're interested in updating GBAtek's DS side of the documentation, just let me know. (alternately you can look around on the melonDS blog or board) namely, I have some notes on the 3D engine (details on GX...
by Arisotura
Mon Oct 26, 2020 8:28 am
Forum: Other Retro Dev
Topic: Trying to get the DSi cameras working
Replies: 14
Views: 10887

Re: Trying to get the DSi cameras working

so, my observations so far on the whole 'camera buffer' thing: * when doing manual reading of the camera picture: setting the CAM_CNT DMA threshold to 0 lets me read two blocks instead of one * this, even if I use manual DMA transfers instead of reading it word per word, which strikes me as weird, m...