blob: 6e453ae2563d1e67cc974f58ce08267bdaaaef84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
\usepackage{xspace}
\usepackage{fancybox}
\usepackage[dvips]{graphics}
%\usepackage{float}
%%%% Keywords
\newcommand{\Elan}{\'Elan\xspace}
\newcommand{\EPC}{\protect{\Elan Portable Computer}\xspace}
\newcommand{\AmSC}{\mbox{Am386SC300}\xspace}
\newcommand{\SCATsx}{\mbox{SCATsx}\xspace}
\newcommand{\High}{\mbox{\textsc{High}}\xspace}
\newcommand{\Low}{\mbox{\textsc{Low}}\xspace}
\newcommand{\PCMCIA}{\mbox{PCMCIA}\xspace}
\newcommand{\JEIDA}{\mbox{JEIDA}\xspace}
%%%% Thesis details
\thesistitle{The \Elan \AmSC \\ Portable Computer}
\thesisauthor{John Zaitseff (2120715)}
\thesisdegree{Bachelor of Engineering (Computer Engineering)}
\thesisdate{October 1995}
\thesissupervisor{A/Prof.\ Branko Celler}
\thesisassessor{Dr.\ Tim Hesketh}
%%%% Hyphenation exceptions
\hyphenation{elec-tro-car-dio-gram elec-tro-car-dio-grams}
%%%% Style definitions
\newcommand{\pn}[1]{\mbox{\textsf{#1}}} % Pin name
\newcommand{\pnob}[1]{\ensuremath{\overline{\pn{#1}}}} % Pin name, overline
\newcommand{\pnm}[3]{\mbox{\pn{#1[#2:#3]}}} % Pin name (multiple)
\newcommand{\pnmob}[3]{\pnob{\pnm{#1}{#2}{#3}}} % PN, mult, overline
\newcommand{\pnt}[2]{\mbox{\pn{#1/}\pnob{#2}}} % Pin name (two)
\newcommand{\vp}[1]{\normalfont\textit{#1}} % variable param.
\newcommand{\sub}[2]{\mbox{#1\ensuremath% % subscripts
{{}_\mathrm{#2}}}}
\newcommand{\addr}[1]{\mbox{#1h}} % Hex address
\newcommand{\book}[1]{\textit{#1}} % Ref. to book
\newcommand{\cdes}[1]{\mbox{#1}} % Comp. designator
\DeclareTextFontCommand{\emph}{\em} % Emphasis
\DeclareTextFontCommand{\so}{\bfseries} % Stand-out
\DeclareTextFontCommand{\exemph}{\bfseries\em} % Extra emphasis
%%%% Custom environments
\newenvironment{pindescr}% % Pin description env.
{\begin{description}}%
{\end{description}}
\newcommand{\iopin}[3]% % I/O Pin (item)
{\item [{#1}] \textbf{#2} (#3)\nopagebreak\par\nopagebreak}
\newcommand{\pin}[2]%
{\item [{#1}] \textbf{#2}\nopagebreak\par\nopagebreak}
\newcommand{\iopind}[6]% % Dual-definition I/O pin
{\item [{#1}] \textbf{#2} (#3)\nopagebreak%
\hspace{-\parsep}\hspace{-\itemsep}%
\item [{#4}] \textbf{#5} (#6)\nopagebreak\par\nopagebreak}
\newenvironment{ctabular}[1]% % Centered tabular
{\par\begin{sspacing}\begin{center}\begin{tabular}{#1}}%
{\end{tabular}\end{center}\end{sspacing}}
\newenvironment{indented}% % Indented on both margins
{\begin{list}{}{%
\setlength{\rightmargin}{\leftmargin}}%
\item[]\ignorespaces}%
{\unskip\end{list}}
\newenvironment{boxedminipage}% % Boxed minipage
{\begin{Sbox}\begin{minipage}}%
{\end{minipage}\end{Sbox}\fbox{\TheSbox}}
\newenvironment{ourfigure}%
{\begin{figure}[!htbp]\begin{center}}%
{\end{center}\end{figure}}
\newenvironment{ourtable}%
{\begin{table}[!htpb]\begin{minipage}{\linewidth}\begin{center}}%
{\end{center}\end{minipage}\end{table}}
%%%% Shortcuts
\newcommand{\num}[2]{\mbox{#1\,#2}} % num with units
\newcommand{\res}[2]{\mbox{#1\,#2\ensuremath{\Omega}}} % #1 #2 ohms resistance
\newcommand{\bit}[1]{\mbox{#1-bit}} % #1-bit
\newcommand{\threevolt}{\num{3.3}{V}\xspace} % 3.3 V
\newcommand{\fivevolt}{\num{5}{V}\xspace} % 5 V
\newcommand{\pll}[1]{\mbox{#1-PLL}} % xxx-PLL
\newcommand{\vpx}{\_\vp{x}} % _x
%%%% Symbols
\newcommand{\yes}{\ensuremath{\surd}\xspace} % Tick mark
\newcommand{\no}{\ensuremath{\times}\xspace} % Cross mark
\newcommand{\by}{\ensuremath{\times}\xspace} % XXX x XXX
\newcommand{\bAND}{\ensuremath{\wedge}\xspace} % Bool. /\
\newcommand{\bOR}{\ensuremath{\vee}\xspace} % Bool. \/
\newcommand{\becomes}{\ensuremath{\rightarrow}\xspace} % -->
|