% $Id: pacbox.tex 16693 2008-03-18 09:24:35Z roolku $ %
\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,h10,SANSA_E200_PAD,MROBE100_PAD}{\ButtonRight}
    \opt{GIGABEAT_PAD}{\ButtonUp}
    \opt{h10_5gb}{\ButtonScrollUp}
    & Move Up\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,IPOD_4G_PAD,IPOD_3G_PAD,h10,SANSA_E200_PAD,MROBE100_PAD}{\ButtonLeft}
    \opt{h10_5gb}{\ButtonScrollDown}
    \opt{GIGABEAT_PAD}{\ButtonDown}
    & Move Down\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,MROBE100_PAD}{\ButtonUp}
    \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu}
    \opt{h10}{\ButtonScrollUp}
    \opt{h10_5gb,GIGABEAT_PAD}{\ButtonLeft}
    & Move Left\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,MROBE100_PAD}{\ButtonDown}
    \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonPlay}
    \opt{h10}{\ButtonScrollDown}
    \opt{h10_5gb,GIGABEAT_PAD}{\ButtonRight}
    & Move Right\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonRec}
    \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect}
    \opt{IRIVER_H10_PAD}{\ButtonFF}
    \opt{SANSA_E200_PAD}{\ButtonSelect+\ButtonDown}
    \opt{GIGABEAT_PAD}{\ButtonA}
    \opt{MROBE100_PAD}{\ButtonDisplay}
    & Insert Coin\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD,GIGABEAT_PAD}{\ButtonSelect}
    \opt{IRIVER_H10_PAD}{\ButtonRew} 
    & 1-Player Start\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
    \opt{IPOD_4G_PAD,IPOD_3G_PAD}{n/a}
    \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,GIGABEAT_PAD}{\ButtonPower}
    \opt{SANSA_E200_PAD}{\ButtonRec}
    \opt{MROBE100_PAD}{\ButtonMenu}
    & 2-Player Start\\
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
    \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
    \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,MROBE100_PAD}{\ButtonPlay}
    \opt{SANSA_E200_PAD}{\ButtonPower}
    \opt{GIGABEAT_PAD}{\ButtonMenu}
    & Menu\\
  \end{btnmap}
\end{table}

