PDA

View Full Version : DE1 PACE - Pacman not working ?


lak
5th January 2010, 03:47 PM
Hi TcDev,

Have enjoyed your work here very much. Though the abstractions needed getting used to.
Anyway after the "upgrade" - (custom io) etc.. Pacman (PACE) didn't work on DE1.
It was working well before. Must the Pacman roms be in flash now?
Only an upright blank screen appeared.

All DE1 arcades (those that doesn't need roms to be in flash) are working.

Request:
Would you consider doing a DE1 Space Invader (PACE) on the obsoleted TRB LCM ? It (LCM) has been a white elephant for 2 years now.

Thanks

tcdev
7th January 2010, 10:26 PM
Anyway after the "upgrade" - (custom io) etc.. Pacman (PACE) didn't work on DE1.
It was working well before. Must the Pacman roms be in flash now?

That was my fault, sorry! Checkout the new project_pkg for the DE1, I've just fixed it. The problem was PACMAN_ROM_IN_SRAM, which I'd set for testing purposes only, and forgot to reset.

Request:
Would you consider doing a DE1 Space Invader (PACE) on the obsoleted TRB LCM ? It (LCM) has been a white elephant for 2 years now.
I'm not really sure what a TRB LCM is?!? Can you elaborate?

lak
12th January 2010, 11:27 AM
Hi,
I should've adjusted that constant to get Pacman working before posting.
Thanks !

The TRB LCM is the TFT LCD sold by Terasic. Perhaps I've been mistaken while looking at the picture of DE2 with the LCD running Pacman below:

http://members.iinet.net.au/~msmcdoug/pace/platforms/de2/pacman_de2_gamecube.jpg

It would be great if Space Invaders run on the DE1 with LCD (rotated or not)
(I've got a 2 DE1s but no DE2)


lak

tcdev
1st February 2010, 01:02 PM
The PACE video controller supports the above-mentioned display natively.

I have built Space Invaders, Pacman and some other projects for the display in the past.

All you need to do is...

1. Choose the PACE_VIDEO_LCM_320x240_60Hz controller in platform_pkg.vhd
2. Select the correct PLL multipliers and dividers so that CLK1 is 18MHz.

If you check out the DE2 version of platform_pkg.vhd, you should be able to simply copy lines 50-56 into the DE1 platform_pkg.vhd and un-comment them.

That display in the Pacman module is my colleague's, and I don't have access to it on my DE1 atm...