Commit a810d020 authored by Hans Buchmann's avatar Hans Buchmann

1-boor

parent ca5c936e
No preview for this file type
......@@ -9,9 +9,7 @@
\begin{document}
\svnInfo $Id$
\title[Bootstrapping]
{Bootstrapping\\{\tiny \svnId}}
\title[Bootstrapping]{Bootstrapping\\wie startet ein Rechner}
\frame{\titlepage}
\begin{frame}
......@@ -37,7 +35,7 @@
\begin{frame}
\frametitle{Bootstrapping: fr Rechner}
\begin{itemize}
\item wie startet {\em boot} ein Rechner ?
\item wie startet {\em bootet} ein Rechner ?
\end{itemize}
\end{frame}
......@@ -192,10 +190,10 @@ Basic Architecture
\begin{frame}
\frametitle{Wie startet ein Rechner: Beispiel PC}
\begin{tabular}{llll}
caller & calls & callee & address\\
caller & calls & callee & Media\\
\hline
CPU & $\to$ & BIOS &\cod{0xffff0}\\
BIOS & $\to$ & MBR &\cod{first sector}\\
CPU & $\to$ & BIOS & Flash@\cod{0xffff0}\\
BIOS & $\to$ & MBR & HD/RAM \cod{first sector}\\
MBR & $\to$ & OS kernel & File \\
OS kernel & $\to$ &OS & File
\end{tabular}
......@@ -360,6 +358,7 @@ Basic Architecture
\begin{description}[make-boot.sh]
\item[mbr-video.S] der Code
\item[make-boot.sh] erzeugt image
\item[qemu.sh] startet Emulation
\end{description}
\end{frame}
......
......@@ -10,5 +10,7 @@ if [ -z ${1} ]
fi
SRC=${1}
SRC0=${SRC%.*} #remove extension
gcc -c ${1} -o ${SRC0}.o #compile
gcc -c ${1} -o ${SRC0}.o && #compile\\
ld --entry=0 --oformat=binary ${SRC0}.o -o ${SRC0}.img #link
echo "*** image stored in file: ${SRC0}.img"
echo "*** use 'sh qemu.sh ${SRC0}.img' to run image"
......@@ -3,7 +3,8 @@
#----------------------
.code16
loop: mov $0xe,%ah #Write Character in TTY Mode
mov $'2' ,%al #the character <--- enter here annother char
mov $'2' ,%al #the character
# ^<--- enter here annother char
mov 0x00 ,%bx #the color
int $0x10 #call bios service
jmp loop #again and again
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment