]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/z80-if.c
Add CP/M 3 file i/o (initial version)
[z180-stamp.git] / avr / z80-if.c
index cc0bab1bd05a80b0e66dff9d9b799848e10a9b2a..d5dc2d75c8a0cfe78b6f75f8d67ac2c9d877e979 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
 /**
  *
  * Pin assignments
@@ -50,7 +56,6 @@
  * |            | P             |       |  af1   OSC32          |
  * |            | P             |       |  af1   OSC32          |
 
-
  */
 
 
@@ -588,7 +593,7 @@ int z80_memfifo_is_empty(const fifo_t f)
 
 int z80_memfifo_is_full(const fifo_t f)
 {
-       int rc = 1;
+       int rc = 0;
 
        if (fifo_dsc[f].base != 0) {
                z80_bus_cmd(Request);