% $Id$ %
\subsection{Pacbox}
\screenshot{plugins/images/ss-pacbox}{Pacbox}{img:pacbox}
Pacbox is an emulator of the Pacman arcade machine hardware. It is a port of
\emph{PIE -- Pacman Instructional Emulator}
(\url{http://www.ascotti.org/programming/pie/pie.htm}).


\subsubsection{ROMs}
To use the emulator to play Pacman, you need a copy of ROMs for 
``Midway Pacman''.
\begin{center}
  \begin{tabular}{ll}\toprule
    \textbf{Filename} & \textbf{MD5 checksum}\\\midrule
    pacman.5e & 2791455babaf26e0b396c78d2b45f8f6\\
    pacman.5f & 9240f35d1d2beee0ff17195653b5e405\\
    pacman.6e & 290aa5eae9e2f63587b5dd5a7da932da\\
    pacman.6f & 19a886fcd8b5e88b0ed1b97f9d8659c0\\
    pacman.6h & d7cce8bffd9563b133ec17ebbb6373d4\\
    pacman.6j & 33c0e197be4c787142af6c3be0d8f6b0\\\bottomrule
  \end{tabular}
\end{center}

These need to be stored in the \fname{/.rockbox/pacman/} directory on your 
\dap. In the MAME ROMs collection the necessary files can be found in 
\fname{pacman.zip} and \fname{puckman.zip}. The MAME project itself can be 
found at \url{http://www.mame.net}.

\subsubsection{Keys}
\begin{table}
  \begin{btnmap}{}{}
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonRight}
    & Move Up\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonLeft}
    & Move Down\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonUp}
    \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu}
    & Move Left\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonDown}
    \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonPlay}
    & Move Right\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonRec}
    \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect}
    & Insert Coin\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect} 
    & 1-Player Start\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
    \opt{IPOD_4G_PAD,IPOD_3G_PAD}{n/a}
    \opt{IAUDIO_X5_PAD}{\ButtonPower}
    & 2-Player Start\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
    \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
    \opt{IAUDIO_X5_PAD}{\ButtonPlay}
    & Menu\\
  \end{btnmap}
\end{table}

