1
0
mirror of https://github.com/aap/pdp6.git synced 2026-02-26 17:03:52 +00:00

Merge branch 'master' of github.com:aap/pdp6

This commit is contained in:
aap
2020-03-12 13:12:41 +01:00
3 changed files with 3 additions and 8 deletions

1
emu/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
pdp6

View File

@@ -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

View File

@@ -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*