Jump to content

Billy1886

Members+
  • Posts

    5
  • Joined

  • Last visited

Billy1886's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi folks, Well I finally got my passme board up and working IIIEEEEEE And my demo's coming along nicely... However I've noticed a little problem. Reading the touchpad (using the ARM7 to fill in the IPC struct as specified in the NDSLIB stuff) only returns sporadic results, I've traced this down to the fact that when my ARM9 main loop is basically doing nothing but waiting for a VBLANK it sits in a tight loop checking the VCOUNT register. This is fine for the ARM9 except that this causes (I believe) the ARM9 to hog all the memory bandwidth, thus not allowing the ARM7 to fill in the IPC data - In fact the only time I get results is when I occasionally change the contents of VRAM (thus freeing up main memory access) - hence the sporadic nature of the pen. The obvious anwser seems to be to use the swiWaitForVBlank() call in NDSLib (as this works fine on ARM7), however it seems to be broken in ARM 9, the source "looks" ok, but there are comments to this effect in some of the Demos (plus it creashes my app, so it must be true ) Does anybody have any ideas (or a fixed swiWaitForVBlank() function). FWIW - I've tried changing the main memory priority flag in the WAIT_CR register, but this didn't seem to have any effect... As usual, all help and advice greatfully recieved. Cheeers The BillMeister...
  2. Hi there, I was wondering, do the latest versions of Dualis or Ideas have support for 2D windows. I've been hacking around trying to get the windows working. here's a snippet of the code I was using... WIN0_X0 = 16; WIN0_Y0 = 16; WIN0_X1 = 100; WIN0_Y1 = 64; WIN_IN = 0x001F; WIN_OUT = 0x0000; DISPLAY_CR |= DISPLAY_WIN0_ON; // Enable window 0 Any help would be very much appreciated... TIA The BillMeister...
  3. Woo hoo!!! Triangles Had to swap over to iDeaS but at least it's a start, come on mic catch up! Anyway, in case anyone is interested I found this function to be useful (seeing as the bios emu of the vysnc function is currently bust) void WaitVsync(void) { if(REG_VCOUNT > 192) { while(REG_VCOUNT > 0); } while(REG_VCOUNT < 192); } I ripped this from some of my GBA stuff and fixed it for the correct number of lines... Makes all the difference on the emu!! Big up to the emu writers and all active scene members for making this possible! The BillMeister...
  4. Cheers for that... Is the source to the cube demo available anywhere, cause I'm having a right 'ole ballache trying to get a single triangle displaying at the moment! TIA The BillMeister...
  5. Hi, I've just started getting into the devv'ing scene whilst saving up to buy myself a shiny net DS. I just wanna say that Dualis is a top emu and I'm amazed that it's progressed so far so fast - top work!!! I've downloaded the latest versions ( 7 & 8 ), set up devkitarm as per the instructions, and I've even managed to compile and link in ndslib! I've got most of the 2d examples working and now I want to start exploring the 3D ones but I've run into a problem... All of the 3d examples I can find (from the drunken coders site) all seem to complile but I can't get them to run... Every time I try and enable the 3d on the main screen it all goes black. I was wondering if dualis actually emulated the 3d stuff, then I found the ship demo (so I guess it does!), but I'm still stuck... Can anyone help, what level of 3d support does Dualis actually have, has anybody got any simple demo's I can use as a starting point, when will I have enough cash for a DS (inc flash cart and passme board), what time does my local chippy shut ??? TIA The BillMeister NDS & Dualis Rocks!!
×
×
  • Create New...