\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 \char`\"{}assemble.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}exec.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}load.\+h\char`\"{}}\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} \doxysubsection*{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} \doxysubsection*{Typedefs} \begin{DoxyCompactItemize} \item typedef struct \textbf{ \+\_\+\+BPSLIST} \textbf{ BPSLIST} \begin{DoxyCompactList}\small\item\em ブレークポイント表を表すデータ型 \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection*{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} \doxysubsection*{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} \doxysubsection{Typedef Documentation} \mbox{\label{monitor_8h_ad449ccc05d87820e61bd699264588a7f}} \index{monitor.h@{monitor.h}!BPSLIST@{BPSLIST}} \index{BPSLIST@{BPSLIST}!monitor.h@{monitor.h}} \doxysubsubsection{BPSLIST} {\footnotesize\ttfamily typedef struct \textbf{ \+\_\+\+BPSLIST} \textbf{ BPSLIST}} ブレークポイント表を表すデータ型 \doxysubsection{Enumeration Type Documentation} \mbox{\label{monitor_8h_adc29c2ff13d900c2f185ee95427fb06c}} \doxysubsubsection{anonymous enum} {\footnotesize\ttfamily anonymous enum} モニター \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{MONARGSIZE@{MONARGSIZE}!monitor.h@{monitor.h}}\index{monitor.h@{monitor.h}!MONARGSIZE@{MONARGSIZE}}}\mbox{\label{monitor_8h_adc29c2ff13d900c2f185ee95427fb06ca592e74e7c316acbd6e3b96d51ecc8937}} MONARGSIZE&モニター引数の最大数 \\ \hline \end{DoxyEnumFields} Definition at line 14 of file monitor.\+h. \mbox{\label{monitor_8h_a61dadd085c1777f559549e05962b2c9e}} \doxysubsubsection{anonymous enum} {\footnotesize\ttfamily anonymous enum} ブレークポイント表のサイズ \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{BPSTABSIZE@{BPSTABSIZE}!monitor.h@{monitor.h}}\index{monitor.h@{monitor.h}!BPSTABSIZE@{BPSTABSIZE}}}\mbox{\label{monitor_8h_a61dadd085c1777f559549e05962b2c9ea78102eea133e2388b19da51f17df1e58}} BPSTABSIZE&ブレークポイント表のサイズ \\ \hline \end{DoxyEnumFields} Definition at line 45 of file monitor.\+h. \mbox{\label{monitor_8h_a726ca809ffd3d67ab4b8476646f26635}} \doxysubsubsection{anonymous enum} {\footnotesize\ttfamily anonymous enum} \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{MONINSIZE@{MONINSIZE}!monitor.h@{monitor.h}}\index{monitor.h@{monitor.h}!MONINSIZE@{MONINSIZE}}}\mbox{\label{monitor_8h_a726ca809ffd3d67ab4b8476646f26635a39db79496e474eb3fe15d8f71b392601}} MONINSIZE&モニターの、入力領域 \\ \hline \end{DoxyEnumFields} Definition at line 49 of file monitor.\+h. \mbox{\label{monitor_8h_ae960c043b8e2eb26d5b831b19d3824aa}} \index{monitor.h@{monitor.h}!MONCMDTYPE@{MONCMDTYPE}} \index{MONCMDTYPE@{MONCMDTYPE}!monitor.h@{monitor.h}} \doxysubsubsection{MONCMDTYPE} {\footnotesize\ttfamily enum \textbf{ MONCMDTYPE}} \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{MONREPEAT@{MONREPEAT}!monitor.h@{monitor.h}}\index{monitor.h@{monitor.h}!MONREPEAT@{MONREPEAT}}}\mbox{\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}}}\mbox{\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}}}\mbox{\label{monitor_8h_ae960c043b8e2eb26d5b831b19d3824aaa3ec1cf4f0e4dac6818ea58dde353057a}} MONQUIT&\\ \hline \end{DoxyEnumFields} Definition at line 53 of file monitor.\+h. \doxysubsection{Function Documentation} \mbox{\label{monitor_8h_aeab0077a6ba82ed9df78f3a9b3ebbfdc}} \index{monitor.h@{monitor.h}!addbps@{addbps}} \index{addbps@{addbps}!monitor.h@{monitor.h}} \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_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} \mbox{\label{monitor_8h_a9c74d039d21a1d550950745469e04127}} \index{monitor.h@{monitor.h}!adrhash@{adrhash}} \index{adrhash@{adrhash}!monitor.h@{monitor.h}} \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_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} \mbox{\label{monitor_8h_ade17c901edf146f8585255fed4664c01}} \index{monitor.h@{monitor.h}!delbps@{delbps}} \index{delbps@{delbps}!monitor.h@{monitor.h}} \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_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} \mbox{\label{monitor_8h_adb54436ace11ea6093daccda2500a0d5}} \index{monitor.h@{monitor.h}!freebps@{freebps}} \index{freebps@{freebps}!monitor.h@{monitor.h}} \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_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} \mbox{\label{monitor_8h_a637744da825fa9add031f300f4dfd41a}} \index{monitor.h@{monitor.h}!getbps@{getbps}} \index{getbps@{getbps}!monitor.h@{monitor.h}} \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_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} \mbox{\label{monitor_8h_a9a9c8e0c2ce6e2f7d7b315feddd17bfa}} \index{monitor.h@{monitor.h}!monargstok@{monargstok}} \index{monargstok@{monargstok}!monitor.h@{monitor.h}} \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_8h_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_8h_a9a9c8e0c2ce6e2f7d7b315feddd17bfa_icgraph} \end{center} \end{figure} \mbox{\label{monitor_8h_a0e89037e727d646088e956504e02ef8b}} \index{monitor.h@{monitor.h}!monitor@{monitor}} \index{monitor@{monitor}!monitor.h@{monitor.h}} \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_8h_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_8h_a0e89037e727d646088e956504e02ef8b_icgraph} \end{center} \end{figure} \mbox{\label{monitor_8h_a528aa9ad5d6b6447b7bc6a1a05be14f0}} \index{monitor.h@{monitor.h}!monitorcmd@{monitorcmd}} \index{monitorcmd@{monitorcmd}!monitor.h@{monitor.h}} \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_8h_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_8h_a528aa9ad5d6b6447b7bc6a1a05be14f0_icgraph} \end{center} \end{figure} \mbox{\label{monitor_8h_a389e95dd7309268f15e2de1fc7988218}} \index{monitor.h@{monitor.h}!monlinetok@{monlinetok}} \index{monlinetok@{monlinetok}!monitor.h@{monitor.h}} \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_8h_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_8h_a389e95dd7309268f15e2de1fc7988218_icgraph} \end{center} \end{figure}