It is currently Thu Sep 09, 2010 6:35 am




Post new topic Reply to topic  [ 3 posts ] 
 problem with pacman!! 
Author Message

Joined: Thu Mar 18, 2010 1:16 pm
Posts: 2
Post problem with pacman!!
Hello, first of all I want to thank you for this amazing API.

When I download and burn the hex file of PACMAN, it works fine on my atmega168 @20Mhz. (By the way, I connected it to my PAL tv throug scart , fist it showed a black screen, then I schanged the pull-up resistor from 1K to 330 Ohm and it worked fine)

But, when I compile the PACMAN source files without changing anything, it shows garbage on the screen. I am using the latest winavr version i.e. winavr-20100110.

Any suggestions?


Tue Mar 23, 2010 9:58 am
Profile

Joined: Thu Mar 18, 2010 1:16 pm
Posts: 2
Post Re: problem with pacman!!
synch output ib PB0 not PB1, and changed the CPU freq in video.h file, now it works, but it is flickering a litte.

Hey Jerry, will you share the source code of pacman.hex file for Atmega168 board?

You did an amazing job by the way, thanks a lot.


Sat Apr 03, 2010 10:53 am
Profile
Site Admin

Joined: Tue Mar 24, 2009 10:25 pm
Posts: 36
Post Re: problem with pacman!!
The pacman project is the original version from Albert Seward, it is using its own driver, not AVGA. I don't have access to the modified source code right now. I'll add it to the site as soon as possible. Meanwhile, you can try to compile the project with AVGA (remove mode0.s and video.c and add the avga dir). It might require slight modification of source for the game, but it should work.


Sat Apr 03, 2010 7:58 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.