From b12d2348e0fe83320241f4fc399054d98b740038 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 25 Feb 2016 21:53:57 +0000 Subject: [PATCH] z80pack: switch to using the test net code --- Kernel/platform-z80pack/Makefile | 3 ++- Kernel/platform-z80pack/fuzix.lnk | 2 +- Kernel/platform-z80pack/main.c | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-z80pack/Makefile b/Kernel/platform-z80pack/Makefile index 53fcf1b5..0a4ea4df 100644 --- a/Kernel/platform-z80pack/Makefile +++ b/Kernel/platform-z80pack/Makefile @@ -1,7 +1,8 @@ DSRCS = ../dev/z80pack/devlpr.c ../dev/z80pack/devtty.c ../dev/z80pack/devfd.c ../dev/z80pack/devrtc.c ../dev/z80pack/devatsim.c #NSRCS = ../dev/net/net_at.c -NSRCS = ../dev/net/net_native.c +#NSRCS = ../dev/net/net_native.c +NSRCS = ../dev/net/net_z80pack.c CSRCS += devices.c main.c ASRCS = crt0.s z80pack.s diff --git a/Kernel/platform-z80pack/fuzix.lnk b/Kernel/platform-z80pack/fuzix.lnk index 5f9ab3ed..ebfbe867 100644 --- a/Kernel/platform-z80pack/fuzix.lnk +++ b/Kernel/platform-z80pack/fuzix.lnk @@ -40,5 +40,5 @@ level2.rel syscall_level2.rel syscall_net.rel select.rel -platform-z80pack/net_native.rel +platform-z80pack/net_z80pack.rel -e diff --git a/Kernel/platform-z80pack/main.c b/Kernel/platform-z80pack/main.c index f452e544..ac2a485a 100644 --- a/Kernel/platform-z80pack/main.c +++ b/Kernel/platform-z80pack/main.c @@ -4,6 +4,7 @@ #include #include #include +#include uint16_t ramtop = PROGTOP; @@ -29,6 +30,7 @@ void platform_interrupt(void) tty_pollirq(); timer_interrupt(); // netat_poll(); + netz_poll(); } /* Nothing to do for the map of init */ -- 2.34.1