Prime wifi works
.
First, i'd like to apologize for not posting as often as i used to. However, in this case, having no news actually means good news. I've been focusing in what would probably be the biggest feature in DS emulation so far: Wifi network programming.
So far, it's been quite a mess working with the specifications, as there's not enough documentation to base the work on, but i've been managing mostly on the engineering of an actual DS and it's served very well for the work needed so far. As of now, most of the 16 bit structutes have been coded, and circular buffer is in the works. I had to start from the begining because previous versions had very little (if any) of this work done.
Most of the coding was done on the flowcharts field. My intention was for the emulator to be able to access the primary network, but that hasn't been possible because TIME_BEACON and TIME_PREBEACON functions not being fully coded yet. However, those functions are dependant on the registry files, and those files are dependant on the BB and RF chip procedures. So what i did was update the Memory control options to have at least some connection support. Range and Address settings are almost done, so that's excellent news. Here's the piece of C code which i'll be importing into assembly for Rffilter operations:
WIFI_triggerIRQ(wifi, WIFI_IRQ_SENDSTART);
WIFI_Host_SendData(wifi->udpSocket, wifi->channel,(u8*)&wifi->circularBuffer[address], txLen);
WIFI_triggerIRQ(wifi, WIFI_IRQ_SENDCOMPLETE);
address &= 0x1FFFF;
wifi->circularBuffer[address >> 1] = val;
No screenshots today, as there's nothing to show aside from boring pieces of code. I'll upload maybe some header files to hopefully get some input sometime in the future, but we'll see about that.
First, i'd like to apologize for not posting as often as i used to. However, in this case, having no news actually means good news. I've been focusing in what would probably be the biggest feature in DS emulation so far: Wifi network programming.
So far, it's been quite a mess working with the specifications, as there's not enough documentation to base the work on, but i've been managing mostly on the engineering of an actual DS and it's served very well for the work needed so far. As of now, most of the 16 bit structutes have been coded, and circular buffer is in the works. I had to start from the begining because previous versions had very little (if any) of this work done.
Most of the coding was done on the flowcharts field. My intention was for the emulator to be able to access the primary network, but that hasn't been possible because TIME_BEACON and TIME_PREBEACON functions not being fully coded yet. However, those functions are dependant on the registry files, and those files are dependant on the BB and RF chip procedures. So what i did was update the Memory control options to have at least some connection support. Range and Address settings are almost done, so that's excellent news. Here's the piece of C code which i'll be importing into assembly for Rffilter operations:
WIFI_triggerIRQ(wifi, WIFI_IRQ_SENDSTART);
WIFI_Host_SendData(wifi->udpSocket, wifi->channel,(u8*)&wifi->circularBuffer[address], txLen);
WIFI_triggerIRQ(wifi, WIFI_IRQ_SENDCOMPLETE);
address &= 0x1FFFF;
wifi->circularBuffer[address >> 1] = val;
No screenshots today, as there's nothing to show aside from boring pieces of code. I'll upload maybe some header files to hopefully get some input sometime in the future, but we'll see about that.


<< Home