diff --git a/emu/.gitignore b/emu/.gitignore new file mode 100644 index 0000000..c28dc7c --- /dev/null +++ b/emu/.gitignore @@ -0,0 +1 @@ +pdp6 diff --git a/emu/Makefile b/emu/Makefile index 19abbb2..37b9d06 100644 --- a/emu/Makefile +++ b/emu/Makefile @@ -3,7 +3,8 @@ H=pdp6.h ../tools/pdp6common.h threading.h # clang #CFLAGS= -Wno-shift-op-parentheses -Wno-logical-op-parentheses \ # -Wno-bitwise-op-parentheses -CFLAGS= -g -O3 -Wall -Wno-parentheses -fno-diagnostics-show-caret +#GCCFLAGS=-fno-diagnostics-show-caret +CFLAGS= -g -O3 -Wall -Wno-parentheses $(GCCFLAGS) #CFLAGS= -g -Wall -Wno-parentheses -fno-diagnostics-show-caret SDLFLAGS=`sdl2-config --cflags` `pkg-config SDL2_image --cflags` -DGRAPHICS diff --git a/emu/netcons.c b/emu/netcons.c index 9664d5a..da998fe 100644 --- a/emu/netcons.c +++ b/emu/netcons.c @@ -139,13 +139,6 @@ netconscycle(void *dev) break; } return; -err: - printf("error address %o\n", a); - nc->buf[0] = 1; - nc->buf[1] = 1; - nc->buf[2] = ERR; - writen(nc->fd, nc->buf, nc->buf[0]+2); - return; } Device*