zx128: adding Disciple lowlevel functions prototypes and libz80 reference
authorAlexander Tsidaev <a.tsidaev@gmail.com>
Sun, 31 Jul 2016 18:11:12 +0000 (23:11 +0500)
committerAlexander Tsidaev <a.tsidaev@gmail.com>
Sun, 31 Jul 2016 18:13:32 +0000 (23:13 +0500)
Kernel/platform-zx128/disciple.h [new file with mode: 0644]
Kernel/platform-zx128/fuzix.lnk

diff --git a/Kernel/platform-zx128/disciple.h b/Kernel/platform-zx128/disciple.h
new file mode 100644 (file)
index 0000000..cf39254
--- /dev/null
@@ -0,0 +1,8 @@
+#ifndef __DISCIPLE_DOT_H__
+#define __DISCIPLE_DOT_H__
+
+/* low level interface */
+uint16_t fd_reset(uint8_t *driveptr);
+uint16_t fd_operation(uint8_t *driveptr);
+
+#endif /* __DISCIPLE_DOT_H__ */
index 77e4ab6..2fc2f13 100644 (file)
@@ -6,6 +6,7 @@
 -b _CODE2=0xC000
 -b _CODE3=0xDB00
 -b _DISCARD=0x8000
+-l z80
 platform-zx128/crt0.rel
 platform-zx128/commonmem.rel
 platform-zx128/zx128.rel