gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS homebrew announcements > Pong

#156919 - eKid - Fri May 16, 2008 2:32 am

I just thought I would share this with everybody. :P It's Pong, but the rendering is done with only using the hardware windows (before transformation).

http://ekid.nintendev.com/pong.zip

Everything is shoved into one big asm file :). It also does some pretty weird things, like arm7/arm9 sharing the interrupt handler! :P

#156927 - Programix - Fri May 16, 2008 7:54 am

Yay, the game is pretty boring but it's much more fun when you know that it's writen in pure asm and arm7/arm9 are sharing one interrupt handler :D!
No just kidding, the source code is very usefull for learning asm (at least for me) :)
_________________
My blog

#156932 - tepples - Fri May 16, 2008 12:25 pm

eKid wrote:
It's Pong, but the rendering is done with only using the hardware windows

Pong for the Atari 2600 used the hardware windows too, as that's all there were: two 8x1 pixel sprites, one 20x1 pixel background, and three rectangles. Everything on that system is just one big raster effect. Your use of the windows for rendering is probably the DS's closest counterpart to the Atari 2600's rectangles.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#157057 - ETkoala - Sun May 18, 2008 8:16 pm

wow thanks! that's a nice example i'll look for when i need any ASM help :o