compiler construction - How to program to old game consoles? -


i want know how program old game consoles fun.

can use programming language such c? have use assembly? not know console compiler, assembler or api. need compile rom image , test emulators, because not own console.

each console has interesting features , play them.

  • atari 2600 (only 128 bytes of ram)
  • nes (only 8-bit)
  • snes (a console, 16-bit)
  • ps1 (3d, complex)
  • game boy (simple, monochromatic)

older systems atari, nes, , gameboy typically programmed in assembly or c. there variety of development tools gameboy i've played around such as:

rednex gameboy development (asm): http://www.otakunozoku.com/rednex-gameboy-development-system/
gbdk (c): http://gbdk.sourceforge.net/

and while there lot of dead links on it, page has lot of information , links on gameboy development in general: http://www.devrs.com/gb/

for nes there 2 assembly tutorials know of. second tutorial linked first claim superior can't comment second link didn't exist last time interested in topic.
http://www.patater.com/nes-asm-tutorials
http://www.nintendoage.com/forum/messageview.cfm?catid=22&threadid=7155

if isn't new gba has lot of great homebrew resources , typically programmed using c. wealth of information on gba makes place start:

devkitpro provides complete gnu toolchain gba development (devkitarm + libgba): http://www.devkitpro.org/

tonc guide gba lot of detailed explaination: http://www.coranac.com/tonc/text/

lastly, indispensible gbatek sheet details gba's hardware. tell registers on gba have play change graphics modes, sound modes, use interrupts, etc.
http://nocash.emubase.de/gbatek.htm

programming these older game systems shares lot in common programming microcontrollers. without sort of abstraction layer have lot of bitwise manipulation of registers basic things.

edit: main issue came across when doing gba programming figuring out how sound registers work. (is?) real blind spot in terms of tutorials. best resource @ time studying gbatek sheet , these sites:
http://deku.rydia.net/program/sound1.html
http://belogic.com/gba/


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -