WDOS 1.1
This commit is contained in:
parent
6c66a4076a
commit
a33283d2cc
|
|
@ -0,0 +1,7 @@
|
|||
all: wdos.doc
|
||||
|
||||
clean:
|
||||
rm -f wdos.doc
|
||||
|
||||
wdos.doc:
|
||||
nroff -ms -h wdosbuch > wdos.doc
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
all: build docs floppy
|
||||
|
||||
clean:
|
||||
rm -f image/INSTALL
|
||||
rm -f image/README
|
||||
rm -f image/bin/wm
|
||||
rm -f image/bin/wdos
|
||||
rm -f image/wdoslib/disks/wdos_sys
|
||||
rm -f image/wdoslib/bios.p8
|
||||
rm -f image/wdoslib/bios.wy
|
||||
rm -f image/wdoslib/bios
|
||||
rm -f image/wdoslib/run_lpr
|
||||
rm -f image/wdoslib/help
|
||||
rm -f image/wdoslib/wdos.doc
|
||||
rmdir image/bin
|
||||
rmdir image/wdoslib/disks
|
||||
rmdir image/wdoslib
|
||||
cd src ; make clean
|
||||
cd doc ; make clean
|
||||
|
||||
build:
|
||||
cd src ; make all
|
||||
|
||||
docs:
|
||||
cd doc ; make all
|
||||
|
||||
floppy:
|
||||
-mkdir image/bin
|
||||
-mkdir image/wdoslib
|
||||
-mkdir image/wdoslib/disks
|
||||
cp disks/wdos_sys image/wdoslib/disks
|
||||
cp src/bios.p8 image/wdoslib
|
||||
cp src/bios.wy image/wdoslib
|
||||
cp src/bios image/wdoslib
|
||||
cp src/run_lpr image/wdoslib
|
||||
cp doc/help image/wdoslib
|
||||
cp doc/wdos.doc image/wdoslib
|
||||
cp src/wm image/bin
|
||||
cp src/wdos image/bin
|
||||
cp doc/README image
|
||||
cp src/INSTALL image
|
||||
chmod 755 image/bin image/wdoslib image/wdoslib/disks
|
||||
chmod 755 image/bin/wm image/bin/wdos
|
||||
chmod 755 image/INSTALL image/wdoslib/run_lpr
|
||||
chmod 644 image/wdoslib/bios* image/wdoslib/help
|
||||
chmod 644 image/wdoslib/wdos.doc image/wdoslib/disks/wdos_sys
|
||||
@echo "Now mv into image/ and tar the content on a floppy\!"
|
||||
|
|
@ -4,6 +4,9 @@ I = /usr/include
|
|||
|
||||
all: wm wdos bios bios.p8 bios.wy wdos.test bios.test
|
||||
|
||||
clean:
|
||||
rm -f *.obj bios.test bios.wy bios.p8 bios core GLOBAL.111 wdos.test wdos wm
|
||||
|
||||
wm: wm.c \
|
||||
$I/stdio.h $I/ctype.h $I/curses.h $I/screen.h $I/signal.h \
|
||||
$I/fcntl.h $I/sys/types.h \
|
||||
|
|
@ -52,5 +55,5 @@ disk.obj: disk.asm \
|
|||
orgs.obj: orgs.asm \
|
||||
; asm86 < mdir/mkorgs.obj
|
||||
|
||||
test: test.asm \
|
||||
test.obj: test.asm \
|
||||
; asm86 < mdir/mktest.obj
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
eo
|
||||
ti
|
||||
bios.asm
|
||||
bios.obj
|
||||
test.asm
|
||||
test.obj
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ settty()
|
|||
putchar(0x1b);
|
||||
putchar('~');
|
||||
putchar('5');
|
||||
sleep(2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -100,6 +101,7 @@ restty()
|
|||
if (termtyp == 2) {
|
||||
printf("%s","\033G0\033.1\033v");
|
||||
putchar('+');
|
||||
sleep(2);
|
||||
}
|
||||
ioctl(0, TCSETA, &savterm);
|
||||
chmod(tty, 0622);
|
||||
|
|
|
|||
Loading…
Reference in New Issue