Search found 8 matches

by nocash
Sun Nov 27, 2016 6:55 pm
Forum: DS Development
Topic: dslink bugfixes...
Replies: 13
Views: 17660

Re: dslink bugfixes...

Personally I'm much more interested in having DS code run regardless of whether it's booted in DSi mode or DS mode so actually I'd rather not have something automatically switch. Agreed, when developing new code. The thing is that around 99% of all older DS homebrews don't support the new touchscre...
by nocash
Fri Nov 25, 2016 5:38 pm
Forum: DS Development
Topic: dslink bugfixes...
Replies: 13
Views: 17660

Re: dslink bugfixes...

At the moment the extra ARM7i and ARM9i parts are probably only rhetorically needed (for the day when somebody develops a hombrew game that needs those parts, considering the activity in the DSi scene that probably happen in next 20 years, or well, maybe somebody will actually want to use that areas...
by nocash
Thu Nov 24, 2016 4:24 pm
Forum: DS Development
Topic: dslink bugfixes...
Replies: 13
Views: 17660

Re: dslink bugfixes...

Oh, cool you have changed the stack points : ) when you said that you don't want to "tweak" stacks, it sounded to me as if you were saying "leave me alone with your stack pointers" : ( but I might have just misread the sentence, and you meant to fix the issue instead of leaving it in "tweaky" state....
by nocash
Wed Nov 23, 2016 10:17 pm
Forum: DS Development
Topic: dslink bugfixes...
Replies: 13
Views: 17660

Re: dslink bugfixes...

I've got the DHCP'ing working reliable in my dswife ASM port. It's been caused by a stuck W_IF flag (the counter half-overflow flags cannot be acknowledged while the counter MSB is set, so one must FIRST read the counters (to reset them), and THEN acknowlege the irq flag). So almost everything works...
by nocash
Tue Nov 22, 2016 7:26 pm
Forum: DS Development
Topic: dslink bugfixes...
Replies: 13
Views: 17660

Re: dslink bugfixes...

The stacks and mpu settings are important because dslink is booting NDS software, so they should be booted with same state as when booted via regular NDS firmware. It's just about compatibility with the official firmware, so it really doesn't matter if 4Kbyte IRQ stack is suitable for any purposes -...
by nocash
Tue Nov 22, 2016 3:54 pm
Forum: DS Development
Topic: dslink bugfixes...
Replies: 13
Views: 17660

Re: dslink bugfixes...

Forget about the "use sa_udp_remote instead of INADDR_ANY" idea, that was nonsense. And hence, doing everything in a single loop looks about right. Except, you shouldn't create (multiple) respSock's INSIDE of the loop. Using a single socket for UDP recvfrom AND sendto should work fine, so you don't ...
by nocash
Tue Nov 22, 2016 12:44 am
Forum: DS Development
Topic: dslink bugfixes...
Replies: 13
Views: 17660

Re: dslink bugfixes...

Some more things in ARM9 main... In the progressRead, I would clip the chunksize to min 1024 bytes (or to the bootblock size if it's smaller than 1024). Currently, when receiving a small 100 byte bootblock, your code would transfer it in tiny 1-byte chunks which is kinda inefficient (although the ac...
by nocash
Mon Nov 21, 2016 4:30 pm
Forum: DS Development
Topic: dslink bugfixes...
Replies: 13
Views: 17660

dslink bugfixes...

Just checked the recent (inofficial?) dslink binary, and its recent source code changes... The binary boots some of my files (eg. magicflr), but seems to always hang with white screens upon other files. The arm9/arm7 stack pointers are still wrong. Oh, but ignore the values from the dslink email bug...