root/doc_inner/doxygen/latex/monitor_8h.tex

/* [<][>][^][v][top][bottom][index][help] */
\doxysection{include/monitor.h File Reference}
\label{monitor_8h}\index{include/monitor.h@{include/monitor.h}}
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$string.\+h$>$}\newline
{\ttfamily \#include $<$assert.\+h$>$}\newline
{\ttfamily \#include "{}assemble.\+h"{}}\newline
{\ttfamily \#include "{}exec.\+h"{}}\newline
{\ttfamily \#include "{}load.\+h"{}}\newline
Include dependency graph for monitor.\+h\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{monitor_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ MONARGS}
\begin{DoxyCompactList}\small\item\em モニター引数を表すデータ型 \end{DoxyCompactList}\item 
struct \textbf{ MONCMDLINE}
\begin{DoxyCompactList}\small\item\em モニター命令行を表すデータ型 \end{DoxyCompactList}\item 
struct \textbf{ \+\_\+\+BPSLIST}
\begin{DoxyCompactList}\small\item\em ブレークポイント表を表すデータ型 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \textbf{ \+\_\+\+BPSLIST} \textbf{ BPSLIST}
\begin{DoxyCompactList}\small\item\em ブレークポイント表を表すデータ型 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \{ \textbf{ MONARGSIZE} = 3
 \}
\begin{DoxyCompactList}\small\item\em モニター \end{DoxyCompactList}\item 
enum \{ \textbf{ BPSTABSIZE} = 251
 \}
\item 
enum \{ \textbf{ MONINSIZE} = 40
 \}
\item 
enum \textbf{ MONCMDTYPE} \{ \textbf{ MONREPEAT} = 0
, \textbf{ MONNEXT} = 1
, \textbf{ MONQUIT} = 2
 \}
\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
unsigned \textbf{ adrhash} (\textbf{ WORD} adr)
\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 
\textbf{ MONCMDTYPE} \textbf{ monitorcmd} (char $\ast$cmd, \textbf{ MONARGS} $\ast$args)
\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{ freebps} ()
\begin{DoxyCompactList}\small\item\em ブレークポイント表を解放する \end{DoxyCompactList}\item 
void \textbf{ monitor} ()
\begin{DoxyCompactList}\small\item\em COMET IIモニターを起動する \end{DoxyCompactList}\end{DoxyCompactItemize}


\label{doc-typedef-members}
\doxysubsection{Typedef Documentation}
\index{monitor.h@{monitor.h}!BPSLIST@{BPSLIST}}
\index{BPSLIST@{BPSLIST}!monitor.h@{monitor.h}}
\doxysubsubsection{BPSLIST}
{\footnotesize\ttfamily \label{monitor_8h_ad449ccc05d87820e61bd699264588a7f} 
typedef struct \textbf{ \+\_\+\+BPSLIST} \textbf{ BPSLIST}}



ブレークポイント表を表すデータ型 



\label{doc-enum-members}
\doxysubsection{Enumeration Type Documentation}
\doxysubsubsection{anonymous enum}
{\footnotesize\ttfamily \label{monitor_8h_af8a80f2c05feb8ff14b6f82d13981eec} 
anonymous enum}



モニター 

\begin{DoxyEnumFields}[2]{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{MONARGSIZE@{MONARGSIZE}!monitor.h@{monitor.h}}\index{monitor.h@{monitor.h}!MONARGSIZE@{MONARGSIZE}}}\label{monitor_8h_af8a80f2c05feb8ff14b6f82d13981eeca592e74e7c316acbd6e3b96d51ecc8937} 
MONARGSIZE&モニター引数の最大数 \\
\hline

\end{DoxyEnumFields}


Definition at line \textbf{ 14} of file \textbf{ monitor.\+h}.

\doxysubsubsection{anonymous enum}
{\footnotesize\ttfamily \label{monitor_8h_aabc6b2983e944b75986e832d57f9b1b6} 
anonymous enum}

\begin{DoxyEnumFields}[2]{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{MONINSIZE@{MONINSIZE}!monitor.h@{monitor.h}}\index{monitor.h@{monitor.h}!MONINSIZE@{MONINSIZE}}}\label{monitor_8h_aabc6b2983e944b75986e832d57f9b1b6a39db79496e474eb3fe15d8f71b392601} 
MONINSIZE&モニターの、入力領域 \\
\hline

\end{DoxyEnumFields}


Definition at line \textbf{ 49} of file \textbf{ monitor.\+h}.

\doxysubsubsection{anonymous enum}
{\footnotesize\ttfamily \label{monitor_8h_a1757b16f0d21123547b0ea73584e81fc} 
anonymous enum}

ブレークポイント表のサイズ \begin{DoxyEnumFields}[2]{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{BPSTABSIZE@{BPSTABSIZE}!monitor.h@{monitor.h}}\index{monitor.h@{monitor.h}!BPSTABSIZE@{BPSTABSIZE}}}\label{monitor_8h_a1757b16f0d21123547b0ea73584e81fca78102eea133e2388b19da51f17df1e58} 
BPSTABSIZE&ブレークポイント表のサイズ \\
\hline

\end{DoxyEnumFields}


Definition at line \textbf{ 45} of file \textbf{ monitor.\+h}.

\index{monitor.h@{monitor.h}!MONCMDTYPE@{MONCMDTYPE}}
\index{MONCMDTYPE@{MONCMDTYPE}!monitor.h@{monitor.h}}
\doxysubsubsection{MONCMDTYPE}
{\footnotesize\ttfamily \label{monitor_8h_ae960c043b8e2eb26d5b831b19d3824aa} 
enum \textbf{ MONCMDTYPE}}

\begin{DoxyEnumFields}[2]{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{MONREPEAT@{MONREPEAT}!monitor.h@{monitor.h}}\index{monitor.h@{monitor.h}!MONREPEAT@{MONREPEAT}}}\label{monitor_8h_ae960c043b8e2eb26d5b831b19d3824aaaa82533b8e338e7045d6c278218e9e5cf} 
MONREPEAT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MONNEXT@{MONNEXT}!monitor.h@{monitor.h}}\index{monitor.h@{monitor.h}!MONNEXT@{MONNEXT}}}\label{monitor_8h_ae960c043b8e2eb26d5b831b19d3824aaa27b9c90ca973ff68f899188b03476629} 
MONNEXT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MONQUIT@{MONQUIT}!monitor.h@{monitor.h}}\index{monitor.h@{monitor.h}!MONQUIT@{MONQUIT}}}\label{monitor_8h_ae960c043b8e2eb26d5b831b19d3824aaa3ec1cf4f0e4dac6818ea58dde353057a} 
MONQUIT&\\
\hline

\end{DoxyEnumFields}


Definition at line \textbf{ 53} of file \textbf{ monitor.\+h}.



\label{doc-func-members}
\doxysubsection{Function Documentation}
\index{monitor.h@{monitor.h}!addbps@{addbps}}
\index{addbps@{addbps}!monitor.h@{monitor.h}}
\doxysubsubsection{addbps()}
{\footnotesize\ttfamily \label{monitor_8h_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_8h_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_8h_aeab0077a6ba82ed9df78f3a9b3ebbfdc_icgraph}
\end{center}
\end{figure}
\index{monitor.h@{monitor.h}!adrhash@{adrhash}}
\index{adrhash@{adrhash}!monitor.h@{monitor.h}}
\doxysubsubsection{adrhash()}
{\footnotesize\ttfamily \label{monitor_8h_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_8h_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_8h_a9c74d039d21a1d550950745469e04127_icgraph}
\end{center}
\end{figure}
\index{monitor.h@{monitor.h}!delbps@{delbps}}
\index{delbps@{delbps}!monitor.h@{monitor.h}}
\doxysubsubsection{delbps()}
{\footnotesize\ttfamily \label{monitor_8h_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_8h_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_8h_ade17c901edf146f8585255fed4664c01_icgraph}
\end{center}
\end{figure}
\index{monitor.h@{monitor.h}!freebps@{freebps}}
\index{freebps@{freebps}!monitor.h@{monitor.h}}
\doxysubsubsection{freebps()}
{\footnotesize\ttfamily \label{monitor_8h_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_8h_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_8h_adb54436ace11ea6093daccda2500a0d5_icgraph}
\end{center}
\end{figure}
\index{monitor.h@{monitor.h}!getbps@{getbps}}
\index{getbps@{getbps}!monitor.h@{monitor.h}}
\doxysubsubsection{getbps()}
{\footnotesize\ttfamily \label{monitor_8h_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_8h_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_8h_a637744da825fa9add031f300f4dfd41a_icgraph}
\end{center}
\end{figure}
\index{monitor.h@{monitor.h}!monargstok@{monargstok}}
\index{monargstok@{monargstok}!monitor.h@{monitor.h}}
\doxysubsubsection{monargstok()}
{\footnotesize\ttfamily \label{monitor_8h_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_8h_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_8h_a5eaec45d092181b391953107abf8e09a_icgraph}
\end{center}
\end{figure}
\index{monitor.h@{monitor.h}!monitor@{monitor}}
\index{monitor@{monitor}!monitor.h@{monitor.h}}
\doxysubsubsection{monitor()}
{\footnotesize\ttfamily \label{monitor_8h_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_8h_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_8h_a0e89037e727d646088e956504e02ef8b_icgraph}
\end{center}
\end{figure}
\index{monitor.h@{monitor.h}!monitorcmd@{monitorcmd}}
\index{monitorcmd@{monitorcmd}!monitor.h@{monitor.h}}
\doxysubsubsection{monitorcmd()}
{\footnotesize\ttfamily \label{monitor_8h_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_8h_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_8h_a528aa9ad5d6b6447b7bc6a1a05be14f0_icgraph}
\end{center}
\end{figure}
\index{monitor.h@{monitor.h}!monlinetok@{monlinetok}}
\index{monlinetok@{monlinetok}!monitor.h@{monitor.h}}
\doxysubsubsection{monlinetok()}
{\footnotesize\ttfamily \label{monitor_8h_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_8h_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_8h_ae00d4cefdb96a47d8f134e2b2010b47c_icgraph}
\end{center}
\end{figure}

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