root/doc_inner/doxygen/latex/monitor_8c.tex

/* [<][>][^][v][top][bottom][index][help] */
\doxysection{src/monitor.c File Reference}
\label{monitor_8c}\index{src/monitor.c@{src/monitor.c}}
{\ttfamily \#include "{}monitor.\+h"{}}\newline
Include dependency graph for monitor.\+c\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c__incl}
\end{center}
\end{figure}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
unsigned \textbf{ adrhash} (\textbf{ WORD} adr)
\begin{DoxyCompactList}\small\item\em アドレスのハッシュ値を返す \end{DoxyCompactList}\item 
bool \textbf{ getbps} (\textbf{ WORD} adr)
\begin{DoxyCompactList}\small\item\em ブレークポイント表にアドレスがある場合はtrue、ない場合はfalseを返す \end{DoxyCompactList}\item 
bool \textbf{ addbps} (\textbf{ WORD} adr)
\begin{DoxyCompactList}\small\item\em ブレークポイント表にアドレスを追加する \end{DoxyCompactList}\item 
bool \textbf{ delbps} (\textbf{ WORD} adr)
\begin{DoxyCompactList}\small\item\em ブレークポイント表からアドレスを削除する \end{DoxyCompactList}\item 
void \textbf{ listbps} ()
\item 
void \textbf{ freebpslist} (\textbf{ BPSLIST} $\ast$head)
\item 
void \textbf{ freebps} ()
\begin{DoxyCompactList}\small\item\em ブレークポイント表を解放する \end{DoxyCompactList}\item 
\textbf{ MONARGS} $\ast$ \textbf{ monargstok} (const char $\ast$str)
\begin{DoxyCompactList}\small\item\em 文字列から、モニターの引数を取得する \end{DoxyCompactList}\item 
\textbf{ MONCMDLINE} $\ast$ \textbf{ monlinetok} (const char $\ast$line)
\begin{DoxyCompactList}\small\item\em 行から、モニターの命令と引数を取得する \end{DoxyCompactList}\item 
bool \textbf{ stracmp} (char $\ast$str1, int str2c, char $\ast$str2v[$\,$])
\item 
void \textbf{ warn\+\_\+ignore\+\_\+arg} (int argc, char $\ast$argv[$\,$])
\item 
void \textbf{ mon\+\_\+break} (int argc, char $\ast$argv[$\,$])
\item 
void \textbf{ mon\+\_\+dump} (int argc, char $\ast$argv[$\,$])
\item 
\textbf{ MONCMDTYPE} \textbf{ monitorcmd} (char $\ast$cmd, \textbf{ MONARGS} $\ast$args)
\begin{DoxyCompactList}\small\item\em モニターの命令を実行する \end{DoxyCompactList}\item 
void \textbf{ free\+\_\+moncmdline} (\textbf{ MONCMDLINE} $\ast$moncmdl)
\item 
int \textbf{ monquit} ()
\item 
void \textbf{ monitor} ()
\begin{DoxyCompactList}\small\item\em COMET IIモニターを起動する \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static \textbf{ BPSLIST} $\ast$ \textbf{ bps} [\textbf{ BPSTABSIZE}]
\begin{DoxyCompactList}\small\item\em ブレークポイント表 \end{DoxyCompactList}\item 
static char $\ast$ \textbf{ monitor\+\_\+prompt} = "{}(comet2 \textbf{ monitor})"{}
\begin{DoxyCompactList}\small\item\em comet2monitorのプロンプト \end{DoxyCompactList}\end{DoxyCompactItemize}


\label{doc-func-members}
\doxysubsection{Function Documentation}
\index{monitor.c@{monitor.c}!addbps@{addbps}}
\index{addbps@{addbps}!monitor.c@{monitor.c}}
\doxysubsubsection{addbps()}
{\footnotesize\ttfamily \label{monitor_8c_aeab0077a6ba82ed9df78f3a9b3ebbfdc} 
bool addbps (\begin{DoxyParamCaption}\item[{\textbf{ WORD}}]{adr}{}\end{DoxyParamCaption})}



ブレークポイント表にアドレスを追加する 

\begin{DoxyReturn}{Returns}
追加した場合はtrue、追加しなかった場合はfalse
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em $\ast$adr} & アドレス \\
\hline
\end{DoxyParams}


Definition at line \textbf{ 37} of file \textbf{ monitor.\+c}.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_aeab0077a6ba82ed9df78f3a9b3ebbfdc_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_aeab0077a6ba82ed9df78f3a9b3ebbfdc_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!adrhash@{adrhash}}
\index{adrhash@{adrhash}!monitor.c@{monitor.c}}
\doxysubsubsection{adrhash()}
{\footnotesize\ttfamily \label{monitor_8c_a9c74d039d21a1d550950745469e04127} 
unsigned adrhash (\begin{DoxyParamCaption}\item[{\textbf{ WORD}}]{adr}{}\end{DoxyParamCaption})}



アドレスのハッシュ値を返す 

\begin{DoxyReturn}{Returns}
ハッシュ値
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em adr} & アドレス \\
\hline
\end{DoxyParams}


Definition at line \textbf{ 13} of file \textbf{ monitor.\+c}.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=196pt]{monitor_8c_a9c74d039d21a1d550950745469e04127_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_a9c74d039d21a1d550950745469e04127_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!delbps@{delbps}}
\index{delbps@{delbps}!monitor.c@{monitor.c}}
\doxysubsubsection{delbps()}
{\footnotesize\ttfamily \label{monitor_8c_ade17c901edf146f8585255fed4664c01} 
bool delbps (\begin{DoxyParamCaption}\item[{\textbf{ WORD}}]{adr}{}\end{DoxyParamCaption})}



ブレークポイント表からアドレスを削除する 

\begin{DoxyReturn}{Returns}
削除した場合はtrue、削除しなかった場合はfalse
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em $\ast$adr} & アドレス \\
\hline
\end{DoxyParams}


Definition at line \textbf{ 57} of file \textbf{ monitor.\+c}.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=277pt]{monitor_8c_ade17c901edf146f8585255fed4664c01_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_ade17c901edf146f8585255fed4664c01_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!free\_moncmdline@{free\_moncmdline}}
\index{free\_moncmdline@{free\_moncmdline}!monitor.c@{monitor.c}}
\doxysubsubsection{free\_moncmdline()}
{\footnotesize\ttfamily \label{monitor_8c_a22683967d8fefd23ae744e0986322993} 
void free\+\_\+moncmdline (\begin{DoxyParamCaption}\item[{\textbf{ MONCMDLINE} $\ast$}]{moncmdl}{}\end{DoxyParamCaption})}



Definition at line \textbf{ 357} of file \textbf{ monitor.\+c}.

Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_a22683967d8fefd23ae744e0986322993_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!freebps@{freebps}}
\index{freebps@{freebps}!monitor.c@{monitor.c}}
\doxysubsubsection{freebps()}
{\footnotesize\ttfamily \label{monitor_8c_adb54436ace11ea6093daccda2500a0d5} 
void freebps (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



ブレークポイント表を解放する 



Definition at line \textbf{ 116} of file \textbf{ monitor.\+c}.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=189pt]{monitor_8c_adb54436ace11ea6093daccda2500a0d5_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_adb54436ace11ea6093daccda2500a0d5_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!freebpslist@{freebpslist}}
\index{freebpslist@{freebpslist}!monitor.c@{monitor.c}}
\doxysubsubsection{freebpslist()}
{\footnotesize\ttfamily \label{monitor_8c_abff121177e83a8ffe65a056e09d07618} 
void freebpslist (\begin{DoxyParamCaption}\item[{\textbf{ BPSLIST} $\ast$}]{head}{}\end{DoxyParamCaption})}



Definition at line \textbf{ 106} of file \textbf{ monitor.\+c}.

Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_abff121177e83a8ffe65a056e09d07618_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!getbps@{getbps}}
\index{getbps@{getbps}!monitor.c@{monitor.c}}
\doxysubsubsection{getbps()}
{\footnotesize\ttfamily \label{monitor_8c_a637744da825fa9add031f300f4dfd41a} 
bool getbps (\begin{DoxyParamCaption}\item[{\textbf{ WORD}}]{adr}{}\end{DoxyParamCaption})}



ブレークポイント表にアドレスがある場合はtrue、ない場合はfalseを返す 

\begin{DoxyReturn}{Returns}
trueまたはfalse
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em $\ast$adr} & アドレス \\
\hline
\end{DoxyParams}


Definition at line \textbf{ 25} of file \textbf{ monitor.\+c}.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=277pt]{monitor_8c_a637744da825fa9add031f300f4dfd41a_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_a637744da825fa9add031f300f4dfd41a_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!listbps@{listbps}}
\index{listbps@{listbps}!monitor.c@{monitor.c}}
\doxysubsubsection{listbps()}
{\footnotesize\ttfamily \label{monitor_8c_a6b059b505637ba3279f648d4ebd43b33} 
void listbps (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Definition at line \textbf{ 89} of file \textbf{ monitor.\+c}.

Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_a6b059b505637ba3279f648d4ebd43b33_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!mon\_break@{mon\_break}}
\index{mon\_break@{mon\_break}!monitor.c@{monitor.c}}
\doxysubsubsection{mon\_break()}
{\footnotesize\ttfamily \label{monitor_8c_a7aec9a0e7587db05dd69eac4e589abe4} 
void mon\+\_\+break (\begin{DoxyParamCaption}\item[{int}]{argc}{, }\item[{char $\ast$}]{argv}{[$\,$]}\end{DoxyParamCaption})}



Definition at line \textbf{ 208} of file \textbf{ monitor.\+c}.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_a7aec9a0e7587db05dd69eac4e589abe4_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_a7aec9a0e7587db05dd69eac4e589abe4_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!mon\_dump@{mon\_dump}}
\index{mon\_dump@{mon\_dump}!monitor.c@{monitor.c}}
\doxysubsubsection{mon\_dump()}
{\footnotesize\ttfamily \label{monitor_8c_afdfcfe90749fa31dfea7ec1a585926b7} 
void mon\+\_\+dump (\begin{DoxyParamCaption}\item[{int}]{argc}{, }\item[{char $\ast$}]{argv}{[$\,$]}\end{DoxyParamCaption})}



Definition at line \textbf{ 255} of file \textbf{ monitor.\+c}.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_afdfcfe90749fa31dfea7ec1a585926b7_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_afdfcfe90749fa31dfea7ec1a585926b7_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!monargstok@{monargstok}}
\index{monargstok@{monargstok}!monitor.c@{monitor.c}}
\doxysubsubsection{monargstok()}
{\footnotesize\ttfamily \label{monitor_8c_a5eaec45d092181b391953107abf8e09a} 
\textbf{ MONARGS} $\ast$ monargstok (\begin{DoxyParamCaption}\item[{const char $\ast$}]{str}{}\end{DoxyParamCaption})}



文字列から、モニターの引数を取得する 

\begin{DoxyReturn}{Returns}
モニターの引数
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em $\ast$str} & 文字列 \\
\hline
\end{DoxyParams}


Definition at line \textbf{ 124} of file \textbf{ monitor.\+c}.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_a5eaec45d092181b391953107abf8e09a_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_a5eaec45d092181b391953107abf8e09a_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!monitor@{monitor}}
\index{monitor@{monitor}!monitor.c@{monitor.c}}
\doxysubsubsection{monitor()}
{\footnotesize\ttfamily \label{monitor_8c_a0e89037e727d646088e956504e02ef8b} 
void monitor (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



COMET IIモニターを起動する 



Definition at line \textbf{ 389} of file \textbf{ monitor.\+c}.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_a0e89037e727d646088e956504e02ef8b_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=238pt]{monitor_8c_a0e89037e727d646088e956504e02ef8b_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!monitorcmd@{monitorcmd}}
\index{monitorcmd@{monitorcmd}!monitor.c@{monitor.c}}
\doxysubsubsection{monitorcmd()}
{\footnotesize\ttfamily \label{monitor_8c_a528aa9ad5d6b6447b7bc6a1a05be14f0} 
\textbf{ MONCMDTYPE} monitorcmd (\begin{DoxyParamCaption}\item[{char $\ast$}]{cmd}{, }\item[{\textbf{ MONARGS} $\ast$}]{args}{}\end{DoxyParamCaption})}



モニターの命令を実行する 

\begin{DoxyReturn}{Returns}
モニター命令の種類
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em $\ast$cmd} & モニター命令 \\
\hline
{\em $\ast$args} & モニター命令の引数 \\
\hline
\end{DoxyParams}


Definition at line \textbf{ 287} of file \textbf{ monitor.\+c}.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_a528aa9ad5d6b6447b7bc6a1a05be14f0_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=341pt]{monitor_8c_a528aa9ad5d6b6447b7bc6a1a05be14f0_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!monlinetok@{monlinetok}}
\index{monlinetok@{monlinetok}!monitor.c@{monitor.c}}
\doxysubsubsection{monlinetok()}
{\footnotesize\ttfamily \label{monitor_8c_ae00d4cefdb96a47d8f134e2b2010b47c} 
\textbf{ MONCMDLINE} $\ast$ monlinetok (\begin{DoxyParamCaption}\item[{const char $\ast$}]{line}{}\end{DoxyParamCaption})}



行から、モニターの命令と引数を取得する 

\begin{DoxyReturn}{Returns}
モニターの命令と引数
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em $\ast$line} & 行 \\
\hline
\end{DoxyParams}


Definition at line \textbf{ 146} of file \textbf{ monitor.\+c}.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_ae00d4cefdb96a47d8f134e2b2010b47c_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{monitor_8c_ae00d4cefdb96a47d8f134e2b2010b47c_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!monquit@{monquit}}
\index{monquit@{monquit}!monitor.c@{monitor.c}}
\doxysubsubsection{monquit()}
{\footnotesize\ttfamily \label{monitor_8c_af9b592c8396634657e0e829602c0880e} 
int monquit (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Definition at line \textbf{ 375} of file \textbf{ monitor.\+c}.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=305pt]{monitor_8c_af9b592c8396634657e0e829602c0880e_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=325pt]{monitor_8c_af9b592c8396634657e0e829602c0880e_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!stracmp@{stracmp}}
\index{stracmp@{stracmp}!monitor.c@{monitor.c}}
\doxysubsubsection{stracmp()}
{\footnotesize\ttfamily \label{monitor_8c_ad91f8977ad80bc0a00d37f3fc2c7dcb4} 
bool stracmp (\begin{DoxyParamCaption}\item[{char $\ast$}]{str1}{, }\item[{int}]{str2c}{, }\item[{char $\ast$}]{str2v}{[$\,$]}\end{DoxyParamCaption})}



Definition at line \textbf{ 182} of file \textbf{ monitor.\+c}.

Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_ad91f8977ad80bc0a00d37f3fc2c7dcb4_icgraph}
\end{center}
\end{figure}
\index{monitor.c@{monitor.c}!warn\_ignore\_arg@{warn\_ignore\_arg}}
\index{warn\_ignore\_arg@{warn\_ignore\_arg}!monitor.c@{monitor.c}}
\doxysubsubsection{warn\_ignore\_arg()}
{\footnotesize\ttfamily \label{monitor_8c_a600b91db2ce97f6875d5faf052023f24} 
void warn\+\_\+ignore\+\_\+arg (\begin{DoxyParamCaption}\item[{int}]{argc}{, }\item[{char $\ast$}]{argv}{[$\,$]}\end{DoxyParamCaption})}



Definition at line \textbf{ 196} of file \textbf{ monitor.\+c}.

Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_a600b91db2ce97f6875d5faf052023f24_icgraph}
\end{center}
\end{figure}


\label{doc-var-members}
\doxysubsection{Variable Documentation}
\index{monitor.c@{monitor.c}!bps@{bps}}
\index{bps@{bps}!monitor.c@{monitor.c}}
\doxysubsubsection{bps}
{\footnotesize\ttfamily \label{monitor_8c_a5ed736a00b99adfb2db39c87e536cb67} 
\textbf{ BPSLIST}$\ast$ bps[\textbf{ BPSTABSIZE}]\hspace{0.3cm}{\ttfamily [static]}}



ブレークポイント表 



Definition at line \textbf{ 6} of file \textbf{ monitor.\+c}.

\index{monitor.c@{monitor.c}!monitor\_prompt@{monitor\_prompt}}
\index{monitor\_prompt@{monitor\_prompt}!monitor.c@{monitor.c}}
\doxysubsubsection{monitor\_prompt}
{\footnotesize\ttfamily \label{monitor_8c_a32de2c592ac5ec62d6dc65b229dd7c01} 
char$\ast$ monitor\+\_\+prompt = "{}(comet2 \textbf{ monitor})"{}\hspace{0.3cm}{\ttfamily [static]}}



comet2monitorのプロンプト 



Definition at line \textbf{ 11} of file \textbf{ monitor.\+c}.


/* [<][>][^][v][top][bottom][index][help] */