AVR_Mario
in 

所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:75KB
下载次数:9
上传日期:2011-02-01 18:31:47
上 传 者jakuchma
说明:  Mario in AVR microcontrolers

文件列表:
bin (0, 2008-11-03)
bin\AVGA_demo.hex (43165, 2008-11-03)
bin\Makefile (2585, 2008-11-03)
graphics (0, 2008-11-03)
graphics\map1.h (11274, 2008-08-04)
graphics\mario16.h (5736, 2008-02-04)
graphics\tileset.h (55374, 2009-04-16)
sounds (0, 2008-11-03)
sounds\music1.h (5067, 2008-08-08)
sounds\sounds.h (748, 2008-10-13)
AVGA_demo.aps (3926, 2008-11-03)
AVGA_demo.aws (200, 2008-11-03)
input.c (472, 2008-10-13)
input.h (274, 2008-10-13)
main.c (8933, 2009-04-16)
AVGA (0, 2009-04-16)
AVGA\avga.h (1197, 2009-03-23)
AVGA\change.log (567, 2009-03-22)
AVGA\config_hw.h (4716, 2009-03-22)
AVGA\config_screen.h (2711, 2009-04-16)
AVGA\config_sound.h (1040, 2008-11-19)
AVGA\config_utils.h (4920, 2009-04-16)
AVGA\core (0, 2009-04-16)
AVGA\core\driver.h (8798, 2008-11-19)
AVGA\core\driver.S (7103, 2008-11-19)
AVGA\core\sound.c (2307, 2009-04-16)
AVGA\core\sound.h (2745, 2008-11-19)
AVGA\core\video.c (6202, 2009-03-22)
AVGA\core\video.h (10341, 2009-03-22)
AVGA\gpl-3.0.txt (35147, 2008-08-07)
AVGA\utils (0, 2009-04-16)
AVGA\utils\background.c (5679, 2008-11-19)
AVGA\utils\background.h (3553, 2008-11-19)
AVGA\utils\delay.h (1258, 2008-11-19)
AVGA\utils\misc.h (1284, 2008-11-19)
AVGA\utils\overlay.c (10606, 2009-03-23)
AVGA\utils\overlay.h (7780, 2008-11-19)
AVGA\utils\window.c (5032, 2008-12-10)
AVGA\utils\window.h (10546, 2008-11-19)
... ...

Finally, i found some time to write a collision detector and to form a nice sidescrolling game engine on top of the AVGA driver which fits to ATMEGA168. Few fords about the AVGA: AVR, clocked 19.6608MHz will generate 4bit pixel stream and SYNC signal. The stream is converted to R,G,B with simple, 9 rezistor video DAC. Resulting signals can be connected via SCART connector to a PAL device like TV, VCR etc. Resolution is 192x144, 16 colors per pixel. EAGLE 4.11 schematics and PCB layout are included in zip file. Note that this is the alpha-version, it's not a game yet, it's just a demonstration of what's also possible to do with theese awesome MCUs :-) Well, now it becomes a matter of developping a graphical game rather than exhaustively optimizing all the subroutines... So i'm looking for someone enthusiastic who would help me with this project :) A level editor needs to be written, to generate special formatted-levels with special compression to fit in an AVR, i suggest mega324, mega***4... I'm also looking for someone to make the AVGA driver generate NTSC signal. I'cant do that since i don't have any device that accepts NTSC in RGB-SYNC form. The AVR probably must be bit overclocked to handle it... Now it still works PAL-only. Soon, i'm goin to release AVGA 0.2 source with sound support, double buffering, bug fixes etc. If you're interested, contact me at md@unicode.cz or ICQ# 206-779-315. I'm looking forward! :) Enjoy the game preview ;-) Jerry***71

近期下载者

相关文件


收藏者