summaryrefslogtreecommitdiff
path: root/tap.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2004-08-22 01:06:09 +0000
committerIan C <ianc@noddybox.co.uk>2004-08-22 01:06:09 +0000
commit09c566e6916d431606284a527ce373c103be39dc (patch)
treeb32cea5c524fb979a9ff3cc53d95f676f0e52982 /tap.h
parent1c7d0b339d578511be239c175ef2096e6e8aa6e2 (diff)
Initial working version
Diffstat (limited to 'tap.h')
-rw-r--r--tap.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/tap.h b/tap.h
index 38be2c6..39ce2ab 100644
--- a/tap.h
+++ b/tap.h
@@ -34,12 +34,17 @@
*/
int TapOpen(const char *filename);
-/* Write a block of memory to the TAP file.
+/* Write a BASIC file to the TAP file.
*/
-void TapWrite(const unsigned char mem[0x1000],
- unsigned addr,
+void TapBasic(const unsigned char *base,
unsigned len,
- int is_code);
+ unsigned run_line);
+
+/* Write a block of memory to the TAP file.
+*/
+void TapBinary(const unsigned char mem[0x1000],
+ unsigned addr,
+ unsigned len);
/* Close the TAP file.
*/