-DSRCS = ../dev/z80pack/devlpr.c ../dev/z80pack/devtty.c ../dev/z80pack/devfd.c
+DSRCS = ../dev/z80pack/devlpr.c ../dev/z80pack/devtty.c ../dev/z80pack/devfd.c ../dev/z80pack/devrtc.c
CSRCS += devices.c main.c
ASRCS = crt0.s z80pack.s
+/* We have an RTC */
+#define CONFIG_RTC
/* Enable to make ^Z dump the inode table for debug */
#undef CONFIG_IDUMP
/* Enable to make ^A drop back into the monitor */
#include <devsys.h>
#include <devlpr.h>
#include <devtty.h>
+#include <devrtc.h>
struct devsw dev_tab[] = /* The device driver switch table */
{
void device_init(void)
{
int i;
+ zrtc_init();
/* Add 64 swaps (4MB) to use the entire J drive */
for (i = 0; i < MAX_SWAPS; i++)
swapmap_add(i);
devsys.rel
platform-z80pack/devlpr.rel
platform-z80pack/devtty.rel
+platform-z80pack/devrtc.rel
-e