repo.or.cz
/
mascara-docs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* added compilers lcc and bcc (linux86)
[mascara-docs.git]
/
i86
/
mtx
/
mtx
/
samples
/
LAB2
/
mk
blob
ecba3a9165d6cbc07c9c45ca4118bdaee6746c5e
1
echo compiling
2
as86 -o s.o s.s
3
bcc -c t.c
4
echo linking
5
ld86 -d s.o t.o /usr/lib/bcc/libc.a
6
7
# mount /dev/fd0 /fd0
8
# cp a.out /fd0/boot/mtx
9
# umount /fd0
10
11
echo cp a.out to mtximage/boot/mtx
12
mount -o loop /root/dosemu/mtximage /fd0
13
cp a.out /fd0/boot/mtx
14
umount /fd0
15
echo done
16
17
# Use YOUR MTX booter of LAB#1 to boot up MTX
18
19