Main.PacmanSynthesis History

Hide minor edits - Show changes to output

March 06, 2012, at 10:46 AM by Jack Gassett -
Changed lines 1-30 from:
Hi there, I discovered your web site via Google at the same time as lokiong for a similar topic, your site got here up, it seems great. I've bookmarked it in my google bookmarks.
to:
!!Synthesizing Pac-Man from Source Code
The Papilio Arcade project includes pre-synthesized bit files with the Pac-Man hardware running
a homebrew pong game. When the user is ready to run the Pac-Man ROMs the end user must have a legal version of the Pac-Man game and must synthesize the Pac-Man ROMs into the Pac-Man hardware design. The following describes the process for the Pac-Man hardware and is very much the same for the other Arcade hardware types.

!!!Download Source
Start out by downloading the VHDL source package that describes the Pac-Man hardware (and many other classic games) from the Gadget Factory Papilio Arcade project page.
Unzip the source into any desired directory.

!!!Provide ROMs
Locate the roms directory and copy legal versions of the ROM files that have been obtained from a Pac-Man arcade game. For Pac-Man there are 4 different games that will run on the hardware. Look at the information provided further down in this guide or at the “scripts/build_roms_*.bat” files to determine the ROM files that are needed by each game. Place the necessary ROM files in the directory that corresponds with the game that is going to be synthesized into the Pac-Man Hardware. The available games are:
* Pac-Man
* Crush Roller
* Gorkans
* Lizard Wizard

Navigate to the scripts directory and run the “build_roms_*.bat” file that corresponds to the game that you are synthesizing in. This will convert the supplied ROM files into the VHDL files needed to synthesize the game into the Pac-Man Hardware.

!!!Change Settings
There are several settings that can be controlled at the time of synthesis. To see more information about the settings that can be changed refer to the [[https://dl.dropbox.com/s/qvudu6cffhdodut/Papilio_Arcade_User_Guide.pdf?dl=1|Papilio Arcade User Guide]]

!!!Synthesize
Once the ROM files are generated and all the desired settings are set then it is time to synthesize the design. It can take quite some time to synthesize the design so be prepared to wait a while.
* Open the ISE project file from the following path. There are multiple ISE projects, choose the project that corresponds to the hardware you have. For example, if you are using the Arcade MegaWing with the P1 500K then you would select:
** build\pacman_p1_500k_MegaWing.xise
* Make sure the top level Pacman module is selected and then double click on “Generate Programming File”.
http://arcade.gadgetfactory.net/images/arcademegawing/image039.png

!!!Load Bit File
Once the design is synthesized there will be a pacman.bit file generated in the build directory.
Ensure you have the Papilio Loader installed and associated with *.bit files. Follow the [[http://papilio.cc/index.php?n=Papilio.GettingStarted|Papilio One Quickstart Guide]] to set this up.
* Double click on the newly synthesized build/pacman.bit file
.
March 06, 2012, at 12:08 AM by Isabel - FdDMPPQvHiKozpCmw
Changed line 1 from:
Great post! It always amaze me how ppolee can take time to write them. But to be honest maybe you should change the color of the texts? Sorry if I am being rude, just trying to help. Kind regards, Sophia
to:
Hi there, I discovered your web site via Google at the same time as lokiong for a similar topic, your site got here up, it seems great. I've bookmarked it in my google bookmarks.
March 06, 2012, at 12:04 AM by Mlindeli - RvoXdffKi
Changed line 1 from:
hey pcd, what makes them nuts? because they don't agree with you? they are pseientrng some very poignant arguments, and you're only rebuttle is that they're nuts. that's weak.but if you want to talk about people who are overpaid and commit crimes, go check out the story about the wal-mart exec worth $20 million, who received $3 million in bonuses last year, and got arrested for stealing gift cards from the company and using them to buy liquor. now that's a fun story.
to:
Great post! It always amaze me how ppolee can take time to write them. But to be honest maybe you should change the color of the texts? Sorry if I am being rude, just trying to help. Kind regards, Sophia
March 05, 2012, at 11:04 PM by rani - zRDhEHnBfesBlL
Changed line 1 from:
I am new to this blog, I must admit it ranks up there among one of the most unique blog ideas I have ever seen.
to:
hey pcd, what makes them nuts? because they don't agree with you? they are pseientrng some very poignant arguments, and you're only rebuttle is that they're nuts. that's weak.but if you want to talk about people who are overpaid and commit crimes, go check out the story about the wal-mart exec worth $20 million, who received $3 million in bonuses last year, and got arrested for stealing gift cards from the company and using them to buy liquor. now that's a fun story.
March 05, 2012, at 09:57 PM by Henri - ffJAqaAuSGgbbXwxk
Changed line 1 from:
"Your obsession with Franken is uesiosrly weird."The irony of that statement is too much to pass up. This whole blog is a Franken obsession.As for Sanders being fringe. Get real. In 2004, he won 66% of the vote in Vermont. And that was with a Democrat and Republican in the race.
to:
I am new to this blog, I must admit it ranks up there among one of the most unique blog ideas I have ever seen.
March 05, 2012, at 09:30 PM by Fabio - nmsAivQQAc
Changed line 1 from:
Are you still stalking Franken, Baloney?!!!!!!! Geesh! Go get some help. Your sesbosion with Franken is seriously weird.
to:
"Your obsession with Franken is uesiosrly weird."The irony of that statement is too much to pass up. This whole blog is a Franken obsession.As for Sanders being fringe. Get real. In 2004, he won 66% of the vote in Vermont. And that was with a Democrat and Republican in the race.
March 05, 2012, at 08:18 PM by Kmi - WQvDOXeKp
Changed line 1 from:
Google Translate is an invaluable jewel. Besides salohcrly research, think about the benefits for market research, society trending etc it can help to make millions of dollars..I'm waiting if google will be able to translate a search into different languages, search the web in these languages and rank the results in translated form. Or maybe that already exists?
to:
Are you still stalking Franken, Baloney?!!!!!!! Geesh! Go get some help. Your sesbosion with Franken is seriously weird.
March 04, 2012, at 10:49 AM by Zayyan - MHqYhUwFIOxzjkAFM
Changed line 1 from:
At the recent Festival of Games in Utrecht, Netherlands,a0Pac-Mana0series earctor Toru Iwatani had a little secret to share! No, nota0thata0kind. A speaker at the event, Iwatani decided to surprise the attendees by whipping out the originala0Pac-Mana0concept drawings from 1979.
to:
Google Translate is an invaluable jewel. Besides salohcrly research, think about the benefits for market research, society trending etc it can help to make millions of dollars..I'm waiting if google will be able to translate a search into different languages, search the web in these languages and rank the results in translated form. Or maybe that already exists?
March 04, 2012, at 07:38 AM by Pooja - NRtDcXAEsdyQEO
Changed line 1 from:
You fat dumb conspiracy troehist. The reason why everyone is silent about your story is because no one cares.Shorter Brian Maloney:Three time best selling author, highly paid speaker, former EP and star of network sitcom, writer and performer on the most seminal late night comedy show in its heyday... makes a lot of money! How does this happen? You have no story. Famous people get paid a lot of money. No one is investigating AAR. Every loan has been paid back. There is no scandal. You are desperate and pathetic. No one reads your blog unless you write about me, you know it and it eats you alive at night.Here's the funniest part of your delusional rant:"Vermont's fringe independent Rep. Bernie Sanders"Bernie Sanders is CRUSHING his senatorial opponent in Vermont. If the next senator from the state of vermont is "fringe", is there even a word to describe how marginal a fat, unemployed, Sam Seder-wannabe, like yourself must be?
to:
At the recent Festival of Games in Utrecht, Netherlands,a0Pac-Mana0series earctor Toru Iwatani had a little secret to share! No, nota0thata0kind. A speaker at the event, Iwatani decided to surprise the attendees by whipping out the originala0Pac-Mana0concept drawings from 1979.
March 04, 2012, at 07:14 AM by Michelle - TgYWpiBDXBqhnxNSsK
Changed line 1 from:
Yeh, i love this classic games. It bmremeers me always on my childhood. Mmh i wish were again 12 years, no problems, no worries. That was a nice time.Thank you for this Tip. I think my son will also by happy about these games to play.
to:
You fat dumb conspiracy troehist. The reason why everyone is silent about your story is because no one cares.Shorter Brian Maloney:Three time best selling author, highly paid speaker, former EP and star of network sitcom, writer and performer on the most seminal late night comedy show in its heyday... makes a lot of money! How does this happen? You have no story. Famous people get paid a lot of money. No one is investigating AAR. Every loan has been paid back. There is no scandal. You are desperate and pathetic. No one reads your blog unless you write about me, you know it and it eats you alive at night.Here's the funniest part of your delusional rant:"Vermont's fringe independent Rep. Bernie Sanders"Bernie Sanders is CRUSHING his senatorial opponent in Vermont. If the next senator from the state of vermont is "fringe", is there even a word to describe how marginal a fat, unemployed, Sam Seder-wannabe, like yourself must be?
March 04, 2012, at 04:09 AM by Novian - IczafpsXnNpiFUlv
Changed line 1 from:
</a>I'm just beginning to learn how to use the text frtauee on my cell phone. I never realized that this is the primary way kids communicate today. The Chat/Text Dictionary startled me when I saw things like POS (Parent Over Shoulder), etc. It looks like my wife and I have some learning to do to keep on top of what our kid's are textng. Log in to Reply</a>
to:
Yeh, i love this classic games. It bmremeers me always on my childhood. Mmh i wish were again 12 years, no problems, no worries. That was a nice time.Thank you for this Tip. I think my son will also by happy about these games to play.
March 04, 2012, at 02:58 AM by Sunil - YOgWPtcsphV
Changed line 1 from:
Pac-Mana0(γƒ‘γƒƒγ‚―γƒžγƒ³a0Pakkuman?)a0is ana0arcade gamea0developed bya0Namcoa0and licensed for rsotdibutiin in the United States bya0Midway, first released in Japan on May 22, 1980.[1][2]a0Immensely popular from its original release to the present day,a0Pac-Mana0is considered one of the classics of the medium, virtually synonymous with video games, and an icon of 1980sa0popular culture.
to:
</a>I'm just beginning to learn how to use the text frtauee on my cell phone. I never realized that this is the primary way kids communicate today. The Chat/Text Dictionary startled me when I saw things like POS (Parent Over Shoulder), etc. It looks like my wife and I have some learning to do to keep on top of what our kid's are textng. Log in to Reply</a>
March 03, 2012, at 04:34 PM by Edson - xINbbFUoKq
Changed line 1 from:
The latest elmapxe I have come across is the live reinactment of one of the most popular arcade games ever into a robot vacuum setting see it below, or read more at RoboticsBlog.
to:
Pac-Mana0(γƒ‘γƒƒγ‚―γƒžγƒ³a0Pakkuman?)a0is ana0arcade gamea0developed bya0Namcoa0and licensed for rsotdibutiin in the United States bya0Midway, first released in Japan on May 22, 1980.[1][2]a0Immensely popular from its original release to the present day,a0Pac-Mana0is considered one of the classics of the medium, virtually synonymous with video games, and an icon of 1980sa0popular culture.
March 03, 2012, at 04:27 PM by Camila - VqEmOvVPMd
Changed lines 1-30 from:
!!Synthesizing Pac-Man from Source Code
The Papilio Arcade project includes pre-synthesized bit files with the Pac-Man hardware running a homebrew pong game. When the user is ready to run the Pac-Man ROMs the end user must have a legal version of the Pac-Man game and must synthesize the Pac-Man ROMs into the Pac-Man hardware design. The following describes the process for the Pac-Man hardware and is very much the same for the other Arcade hardware types.

!!!Download Source
Start out by downloading the VHDL source package that describes the Pac-Man hardware (and many other classic games) from the Gadget Factory Papilio Arcade project page.
Unzip the source into any desired directory.

!!!Provide ROMs
Locate the roms directory and copy legal versions of the ROM files that have been obtained from a Pac-Man arcade game. For Pac-Man there are 4 different games that will run on the hardware. Look at the information provided further down in this guide or at the “scripts/build_roms_*.bat” files to determine the ROM files that are needed by each game. Place the necessary ROM files in the directory that corresponds with the game that is going to be synthesized into the Pac-Man Hardware. The available games are:
* Pac-Man
* Crush Roller
* Gorkans
* Lizard Wizard

Navigate to the scripts directory and run the “build_roms_*.bat” file that corresponds to the game that you are synthesizing in. This will convert the supplied ROM files into the VHDL files needed to synthesize the game into the Pac-Man Hardware.

!!!Change Settings
There are several settings that can be controlled at the time of synthesis. To see more information about the settings that can be changed refer to the [[https://dl.dropbox.com/s/qvudu6cffhdodut/Papilio_Arcade_User_Guide.pdf?dl=1|Papilio Arcade User Guide]]

!!!Synthesize
Once the ROM files are generated and all the desired settings are set then it is time to synthesize the design. It can take quite some time to synthesize the design so be prepared to wait a while.
* Open the ISE project file from the following path. There are multiple ISE projects, choose the project that corresponds to the hardware you have. For example, if you are using the Arcade MegaWing with the P1 500K then you would select:
** build\pacman_p1_500k_MegaWing.xise
* Make sure the top level Pacman module is selected and then double click on “Generate Programming File”.
http://arcade.gadgetfactory.net/images/arcademegawing/image039.png

!!!Load Bit File
Once the design is synthesized there will be a pacman.bit file generated in the build directory.
Ensure you have the Papilio Loader installed and associated with *.bit files. Follow the [[http://papilio.cc/index.php?n=Papilio.GettingStarted|Papilio One Quickstart Guide]] to set this up.
* Double click on the newly synthesized build/pacman.bit file.
to:
The latest elmapxe I have come across is the live reinactment of one of the most popular arcade games ever into a robot vacuum setting see it below, or read more at RoboticsBlog.
Changed lines 22-24 from:
• Open the ISE project file from the following path. There are multiple ISE projects, choose the project that corresponds to the hardware you have. For example, if you are using the Arcade MegaWing with the P1 500K then you would select:
build\pacman_p1_500k_MegaWing.xise
• Make sure the top level Pacman module is selected and then double click on “Generate Programming File”.
to:
* Open the ISE project file from the following path. There are multiple ISE projects, choose the project that corresponds to the hardware you have. For example, if you are using the Arcade MegaWing with the P1 500K then you would select:
** build\pacman_p1_500k_MegaWing.xise
* Make sure the top level Pacman module is selected and then double click on “Generate Programming File”.
Changed line 27 from:
!!!Load Bit Filie
to:
!!!Load Bit File
Changed lines 29-30 from:
Ensure you have the Papilio Loader installed and associated with *.bit files. Follow the Papilio One Quickstart Guide to set this up.
• Double click on the newly synthesized build/pacman.bit file.
to:
Ensure you have the Papilio Loader installed and associated with *.bit files. Follow the [[http://papilio.cc/index.php?n=Papilio.GettingStarted|Papilio One Quickstart Guide]] to set this up.
* Double click on the newly synthesized build/pacman.bit file.
Deleted lines 19-67:
!!!Free Play
To require a coin to play or to set Freeplay where simply pressing the start button is required search for and set the following line:
dipsw_reg(3 downto 2) <= "10"; -- pacman (3)
Set the “10” portion of the line according to Table 1.
TABLE 3
Mode Setting
1 Coin = 1 Play “11”
1 Coin = 2 Play “01”
2 Coin = 1 Play “10”
Freeplay “00”

Upright/Cocktail table
Search for the following line:
in1_reg(7) <= '0'; -- table
Set the ‘0’ portion of the line to either ‘1’ or ‘0’ according to Table 2.
TABLE 4
Mode Setting
Cocktail Table ‘0’
Upright ‘1’







Number of lives per play
To set the number of lives per play search for the following line:
dipsw_reg(3 downto 2) <= "10"; -- pacman (3)
Set the “10” portion of the line according to Table 3.
TABLE 5
Mode Setting
1 Packman “11”
2 Packmen “01”
3 Packmen “10”
5 Packmen “00”

Points until extra life
To set the number of lives per play search for the following line:
dipsw_reg(3 downto 2) <= "10"; -- pacman (3)
Set the “10” portion of the line according to Table 4.

TABLE 6
Mode Setting
Bonus at 10,000 “11”
Bonus at 15,000 “01”
Bonus at 20,000 “10”
No Bonus “00”
Changed line 25 from:
http://arcade.gadgetfactory.net/images/arcademegawing/image007.jpg
to:
http://arcade.gadgetfactory.net/images/arcademegawing/image039.png
Changed lines 10-14 from:
• Pac-Man
• Crush Roller
• Gorkans
• Lizard Wizard
to:
* Pac-Man
* Crush Roller
* Gorkans
* Lizard Wizard
Changed line 18 from:
There are several settings that can be controlled at the time of synthesis. To modify the following setting open the source/pacman.vhd file.
to:
There are several settings that can be controlled at the time of synthesis. To see more information about the settings that can be changed refer to the [[https://dl.dropbox.com/s/qvudu6cffhdodut/Papilio_Arcade_User_Guide.pdf?dl=1|Papilio Arcade User Guide]]
Added line 74:
http://arcade.gadgetfactory.net/images/arcademegawing/image007.jpg
Changed line 1 from:
Synthesizing Pac-Man from Source Code
to:
!!Synthesizing Pac-Man from Source Code
Changed lines 3-4 from:
Download Source
to:

!!!
Download Source
Changed lines 7-8 from:
Provide ROMs
to:

!!!
Provide ROMs
Changed lines 16-17 from:
Change Settings
to:

!!!
Change Settings
Changed lines 20-26 from:





Free Play
to:
!!!Free Play
Changed line 69 from:
Synthesize
to:
!!!Synthesize
Changed line 75 from:
Load Bit Filie
to:
!!!Load Bit Filie
Added lines 1-81:
Synthesizing Pac-Man from Source Code
The Papilio Arcade project includes pre-synthesized bit files with the Pac-Man hardware running a homebrew pong game. When the user is ready to run the Pac-Man ROMs the end user must have a legal version of the Pac-Man game and must synthesize the Pac-Man ROMs into the Pac-Man hardware design. The following describes the process for the Pac-Man hardware and is very much the same for the other Arcade hardware types.
Download Source
Start out by downloading the VHDL source package that describes the Pac-Man hardware (and many other classic games) from the Gadget Factory Papilio Arcade project page.
Unzip the source into any desired directory.
Provide ROMs
Locate the roms directory and copy legal versions of the ROM files that have been obtained from a Pac-Man arcade game. For Pac-Man there are 4 different games that will run on the hardware. Look at the information provided further down in this guide or at the “scripts/build_roms_*.bat” files to determine the ROM files that are needed by each game. Place the necessary ROM files in the directory that corresponds with the game that is going to be synthesized into the Pac-Man Hardware. The available games are:
• Pac-Man
• Crush Roller
• Gorkans
• Lizard Wizard

Navigate to the scripts directory and run the “build_roms_*.bat” file that corresponds to the game that you are synthesizing in. This will convert the supplied ROM files into the VHDL files needed to synthesize the game into the Pac-Man Hardware.
Change Settings
There are several settings that can be controlled at the time of synthesis. To modify the following setting open the source/pacman.vhd file.







Free Play
To require a coin to play or to set Freeplay where simply pressing the start button is required search for and set the following line:
dipsw_reg(3 downto 2) <= "10"; -- pacman (3)
Set the “10” portion of the line according to Table 1.
TABLE 3
Mode Setting
1 Coin = 1 Play “11”
1 Coin = 2 Play “01”
2 Coin = 1 Play “10”
Freeplay “00”

Upright/Cocktail table
Search for the following line:
in1_reg(7) <= '0'; -- table
Set the ‘0’ portion of the line to either ‘1’ or ‘0’ according to Table 2.
TABLE 4
Mode Setting
Cocktail Table ‘0’
Upright ‘1’







Number of lives per play
To set the number of lives per play search for the following line:
dipsw_reg(3 downto 2) <= "10"; -- pacman (3)
Set the “10” portion of the line according to Table 3.
TABLE 5
Mode Setting
1 Packman “11”
2 Packmen “01”
3 Packmen “10”
5 Packmen “00”

Points until extra life
To set the number of lives per play search for the following line:
dipsw_reg(3 downto 2) <= "10"; -- pacman (3)
Set the “10” portion of the line according to Table 4.

TABLE 6
Mode Setting
Bonus at 10,000 “11”
Bonus at 15,000 “01”
Bonus at 20,000 “10”
No Bonus “00”

Synthesize
Once the ROM files are generated and all the desired settings are set then it is time to synthesize the design. It can take quite some time to synthesize the design so be prepared to wait a while.
• Open the ISE project file from the following path. There are multiple ISE projects, choose the project that corresponds to the hardware you have. For example, if you are using the Arcade MegaWing with the P1 500K then you would select:
build\pacman_p1_500k_MegaWing.xise
• Make sure the top level Pacman module is selected and then double click on “Generate Programming File”.

Load Bit Filie
Once the design is synthesized there will be a pacman.bit file generated in the build directory.
Ensure you have the Papilio Loader installed and associated with *.bit files. Follow the Papilio One Quickstart Guide to set this up.
• Double click on the newly synthesized build/pacman.bit file.
  

Share |