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 \char`\"{}monitor.\+h\char`\"{}}\newline
Include dependency graph for monitor.\+c\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{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}
\doxysubsection*{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} = \char`\"{}(comet2 \textbf{ monitor})\char`\"{}
\begin{DoxyCompactList}\small\item\em comet2monitorのプロンプト \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\label{monitor_8c_aeab0077a6ba82ed9df78f3a9b3ebbfdc}} 
\index{monitor.c@{monitor.c}!addbps@{addbps}}
\index{addbps@{addbps}!monitor.c@{monitor.c}}
\doxysubsubsection{addbps()}
{\footnotesize\ttfamily 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 37 of file 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}
\mbox{\label{monitor_8c_a9c74d039d21a1d550950745469e04127}} 
\index{monitor.c@{monitor.c}!adrhash@{adrhash}}
\index{adrhash@{adrhash}!monitor.c@{monitor.c}}
\doxysubsubsection{adrhash()}
{\footnotesize\ttfamily 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 13 of file monitor.\+c.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=200pt]{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}
\mbox{\label{monitor_8c_ade17c901edf146f8585255fed4664c01}} 
\index{monitor.c@{monitor.c}!delbps@{delbps}}
\index{delbps@{delbps}!monitor.c@{monitor.c}}
\doxysubsubsection{delbps()}
{\footnotesize\ttfamily 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 57 of file monitor.\+c.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=282pt]{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}
\mbox{\label{monitor_8c_a22683967d8fefd23ae744e0986322993}} 
\index{monitor.c@{monitor.c}!free\_moncmdline@{free\_moncmdline}}
\index{free\_moncmdline@{free\_moncmdline}!monitor.c@{monitor.c}}
\doxysubsubsection{free\_moncmdline()}
{\footnotesize\ttfamily void free\+\_\+moncmdline (\begin{DoxyParamCaption}\item[{\textbf{ MONCMDLINE} $\ast$}]{moncmdl }\end{DoxyParamCaption})}



Definition at line 357 of file monitor.\+c.

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



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

\begin{DoxyReturn}{Returns}
なし 
\end{DoxyReturn}


Definition at line 116 of file monitor.\+c.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=192pt]{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}
\mbox{\label{monitor_8c_abff121177e83a8ffe65a056e09d07618}} 
\index{monitor.c@{monitor.c}!freebpslist@{freebpslist}}
\index{freebpslist@{freebpslist}!monitor.c@{monitor.c}}
\doxysubsubsection{freebpslist()}
{\footnotesize\ttfamily void freebpslist (\begin{DoxyParamCaption}\item[{\textbf{ BPSLIST} $\ast$}]{head }\end{DoxyParamCaption})}



Definition at line 106 of file 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}
\mbox{\label{monitor_8c_a637744da825fa9add031f300f4dfd41a}} 
\index{monitor.c@{monitor.c}!getbps@{getbps}}
\index{getbps@{getbps}!monitor.c@{monitor.c}}
\doxysubsubsection{getbps()}
{\footnotesize\ttfamily 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 25 of file monitor.\+c.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=283pt]{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}
\mbox{\label{monitor_8c_a6b059b505637ba3279f648d4ebd43b33}} 
\index{monitor.c@{monitor.c}!listbps@{listbps}}
\index{listbps@{listbps}!monitor.c@{monitor.c}}
\doxysubsubsection{listbps()}
{\footnotesize\ttfamily void listbps (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Definition at line 89 of file 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}
\mbox{\label{monitor_8c_a7aec9a0e7587db05dd69eac4e589abe4}} 
\index{monitor.c@{monitor.c}!mon\_break@{mon\_break}}
\index{mon\_break@{mon\_break}!monitor.c@{monitor.c}}
\doxysubsubsection{mon\_break()}
{\footnotesize\ttfamily void mon\+\_\+break (\begin{DoxyParamCaption}\item[{int}]{argc,  }\item[{char $\ast$}]{argv[$\,$] }\end{DoxyParamCaption})}



Definition at line 208 of file 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}
\mbox{\label{monitor_8c_afdfcfe90749fa31dfea7ec1a585926b7}} 
\index{monitor.c@{monitor.c}!mon\_dump@{mon\_dump}}
\index{mon\_dump@{mon\_dump}!monitor.c@{monitor.c}}
\doxysubsubsection{mon\_dump()}
{\footnotesize\ttfamily void mon\+\_\+dump (\begin{DoxyParamCaption}\item[{int}]{argc,  }\item[{char $\ast$}]{argv[$\,$] }\end{DoxyParamCaption})}



Definition at line 255 of file 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}
\mbox{\label{monitor_8c_a9a9c8e0c2ce6e2f7d7b315feddd17bfa}} 
\index{monitor.c@{monitor.c}!monargstok@{monargstok}}
\index{monargstok@{monargstok}!monitor.c@{monitor.c}}
\doxysubsubsection{monargstok()}
{\footnotesize\ttfamily \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 124 of file monitor.\+c.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8c_a9a9c8e0c2ce6e2f7d7b315feddd17bfa_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_a9a9c8e0c2ce6e2f7d7b315feddd17bfa_icgraph}
\end{center}
\end{figure}
\mbox{\label{monitor_8c_a0e89037e727d646088e956504e02ef8b}} 
\index{monitor.c@{monitor.c}!monitor@{monitor}}
\index{monitor@{monitor}!monitor.c@{monitor.c}}
\doxysubsubsection{monitor()}
{\footnotesize\ttfamily void monitor (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



COMET IIモニターを起動する 

\begin{DoxyReturn}{Returns}
なし 
\end{DoxyReturn}


Definition at line 389 of file 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=168pt]{monitor_8c_a0e89037e727d646088e956504e02ef8b_icgraph}
\end{center}
\end{figure}
\mbox{\label{monitor_8c_a528aa9ad5d6b6447b7bc6a1a05be14f0}} 
\index{monitor.c@{monitor.c}!monitorcmd@{monitorcmd}}
\index{monitorcmd@{monitorcmd}!monitor.c@{monitor.c}}
\doxysubsubsection{monitorcmd()}
{\footnotesize\ttfamily \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 287 of file 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=273pt]{monitor_8c_a528aa9ad5d6b6447b7bc6a1a05be14f0_icgraph}
\end{center}
\end{figure}
\mbox{\label{monitor_8c_a389e95dd7309268f15e2de1fc7988218}} 
\index{monitor.c@{monitor.c}!monlinetok@{monlinetok}}
\index{monlinetok@{monlinetok}!monitor.c@{monitor.c}}
\doxysubsubsection{monlinetok()}
{\footnotesize\ttfamily \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 146 of file monitor.\+c.

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



Definition at line 375 of file monitor.\+c.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=310pt]{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=256pt]{monitor_8c_af9b592c8396634657e0e829602c0880e_icgraph}
\end{center}
\end{figure}
\mbox{\label{monitor_8c_ad91f8977ad80bc0a00d37f3fc2c7dcb4}} 
\index{monitor.c@{monitor.c}!stracmp@{stracmp}}
\index{stracmp@{stracmp}!monitor.c@{monitor.c}}
\doxysubsubsection{stracmp()}
{\footnotesize\ttfamily bool stracmp (\begin{DoxyParamCaption}\item[{char $\ast$}]{str1,  }\item[{int}]{str2c,  }\item[{char $\ast$}]{str2v[$\,$] }\end{DoxyParamCaption})}



Definition at line 182 of file 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}
\mbox{\label{monitor_8c_a600b91db2ce97f6875d5faf052023f24}} 
\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 void warn\+\_\+ignore\+\_\+arg (\begin{DoxyParamCaption}\item[{int}]{argc,  }\item[{char $\ast$}]{argv[$\,$] }\end{DoxyParamCaption})}



Definition at line 196 of file 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}


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



ブレークポイント表 



Definition at line 6 of file monitor.\+c.

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



comet2monitorのプロンプト 



Definition at line 11 of file monitor.\+c.


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