Valentines Day
Results 1 to 3 of 3

Thread: Elite DS version 0.6

                  
   
  1. #1
    Won Hung Lo wraggster's Avatar
    Join Date
    Apr 2003
    Location
    Nottingham, England
    Age
    47
    Posts
    127,253
    Blog Entries
    3209
    Rep Power
    50

    NDS Elite DS version 0.6

    News/release from Quirky (via pdroms)

    I've just cooked up a new release of Elite DS. This adds the music back in that I had to take out when my own GBA XM library proved too tricky/time consuming to port to the DS. I've updated the code so that it compiles with devkitARM r25 and the sound now uses devkitpro's default ARM7 core.

    From a technical POV the changes aren't very interesting, but I'll waffle on about them anyway!

    Prior to this release, I was using the DS's PSG sound system. This is the bleep-bleep-bleep square/triangle wave sound system that Nintendo has used in its handhelds since the dawn of time. I think it is pretty much unchanged since the original Gameboy ;-) The good thing about this "format" is that it is small - you can say "use this pitch", "play it!", "hold it!" in just a few bytes and the sound lasts ages. You just change the pitch after a given length of time to add new exciting effects. The bad part is that it sounds terrible! Also, the sound format is completely arbitrary/homegrown as you have to just poke registers with values to make the DS go BEEP.

    Additional amusement creeps in as you have to poke the sound registers on the ARM7, but the sound events trigger on the ARM9. Like when you get shot or fire a laser. I used the inter-processor FIFO to pass the "bleep now dammit!" messages from the '9 to the '7. Most of the sounds were taken from running Elite under emulation in pocket beeb, capturing the sound values that were written to the BBC sound registers, converting them into the equivalent values for the DS registers and then using these values in Elite DS. They sound more or less like the original BBC sounds this way. This is not necessarily a good thing :-)

    The new sound effects were easier to create. I used this simple (to use) sound generator. I spent a pleasant afternoon creating random sounds, some of which may be slightly above the "terrible" level. I forget where I stole the Elite music files from, I think they are nabbed from the NES version. Of course on the DS these all use the fantastic maxmod library. I wish this had been available years ago, it is very easy to use and works exceptionally well.

    Ah, there was one random bug that had me scratching my head for a while - I used to use a bit of assembler to clear the screen. This sets all the ARM registers to zero and creates an unrolled loop to blit these zeroes to the video RAM. For some reason it caused crashes on hardware when I started using maxmod. The only thing I can think of is that somehow registers were getting clobbered that maxmod uses in an interrrupt, or vice versa. My fix was to replace that clear screen routine with a DMA fill. Speed is not an issue on the DS compared to the GBA :-) It's a bit cargo-culty but I was desperate and with that register-clobbering explanation I sort of convinced myself. Anyway, I've been playing 0.6 all afternoon and it hasn't shown any more crashes (of the game; there have been colisions between myself and a few Cobra Mk IIIs). Enjoy!

    Download and Give Feedback Via Comments

  2. #2
    DCEmu Newbie
    Join Date
    Nov 2007
    Posts
    20
    Rep Power
    0

    Default

    Fantastic, liked the previous Version, but without music and with the quirky sounds it didn't was real Elite.

  3. #3
    DCEmu Newbie
    Join Date
    Sep 2010
    Posts
    1
    Rep Power
    0

    Default

    Ive just got into DS homebrew and im speechless, Well done mate. THANKYOU

    Elite was my first ever game I played, it still rules

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PSP Firmwares
    By xcjzerox in forum DCEmu Gaming & General Discussion Forum
    Replies: 5
    Last Post: November 25th, 2006, 14:19
  2. Metareview: Elite Beat Agents
    By wraggster in forum Nintendo News Forum
    Replies: 2
    Last Post: November 9th, 2006, 12:11
  3. Elite Beat Agents US Version
    By wraggster in forum Nintendo News Forum
    Replies: 6
    Last Post: November 7th, 2006, 15:14
  4. PspMediaServer for .NET - Version 0.7.3 (stream MP3s to PSP)
    By wraggster in forum Sony Consoles News Forum
    Replies: 80
    Last Post: July 5th, 2006, 20:37
  5. M3 adapter Mini SD and SD version
    By wraggster in forum Nintendo News Forum
    Replies: 0
    Last Post: April 11th, 2006, 13:04

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •