diff --git a/WEGA/contrib/wdos/doc/makefile b/WEGA/contrib/wdos/doc/makefile new file mode 100644 index 0000000..147d346 --- /dev/null +++ b/WEGA/contrib/wdos/doc/makefile @@ -0,0 +1,7 @@ +all: wdos.doc + +clean: + rm -f wdos.doc + +wdos.doc: + nroff -ms -h wdosbuch > wdos.doc diff --git a/WEGA/contrib/wdos/makefile b/WEGA/contrib/wdos/makefile new file mode 100644 index 0000000..2fc4639 --- /dev/null +++ b/WEGA/contrib/wdos/makefile @@ -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\!" diff --git a/WEGA/contrib/wdos/src/makefile b/WEGA/contrib/wdos/src/makefile index 4025be0..aa2d1b2 100644 --- a/WEGA/contrib/wdos/src/makefile +++ b/WEGA/contrib/wdos/src/makefile @@ -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 diff --git a/WEGA/contrib/wdos/src/mdir/mktest.obj b/WEGA/contrib/wdos/src/mdir/mktest.obj index d946862..dc2fb09 100644 --- a/WEGA/contrib/wdos/src/mdir/mktest.obj +++ b/WEGA/contrib/wdos/src/mdir/mktest.obj @@ -1,4 +1,4 @@ eo ti -bios.asm -bios.obj +test.asm +test.obj diff --git a/WEGA/contrib/wdos/src/wdos.c b/WEGA/contrib/wdos/src/wdos.c index 6128ca8..0844fff 100644 --- a/WEGA/contrib/wdos/src/wdos.c +++ b/WEGA/contrib/wdos/src/wdos.c @@ -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);