aboutsummaryrefslogtreecommitdiff
path: root/src/prgout.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2021-09-21 21:17:14 +0100
committerIan C <ianc@noddybox.co.uk>2021-09-21 21:17:14 +0100
commit25302a2513307a3a41b76f5e568f0916713c0620 (patch)
tree64e005fc00187b959b74aeb4c0a3b90449df7605 /src/prgout.h
parent4615bf4b669af244f7a2aa71af60cb363b08c472 (diff)
Imported V1.9V1.9
Diffstat (limited to 'src/prgout.h')
-rw-r--r--src/prgout.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/prgout.h b/src/prgout.h
new file mode 100644
index 0000000..668f48f
--- /dev/null
+++ b/src/prgout.h
@@ -0,0 +1,56 @@
+/*
+
+ casm - Simple, portable assembler
+
+ Copyright (C) 2003-2015 Ian Cowburn (ianc@noddybox.co.uk)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ -------------------------------------------------------------------------
+
+ Commodore PRG tape output
+
+*/
+
+#ifndef CASM_PRGOUT_H
+#define CASM_PRGOUT_H
+
+#include "parse.h"
+#include "state.h"
+#include "cmd.h"
+
+/* ---------------------------------------- INTERFACES
+*/
+
+
+/* PRG Output options
+*/
+const ValueTable *PRGOutputOptions(void);
+
+CommandStatus PRGOutputSetOption(int opt, int argc, char *argv[],
+ int quoted[], char *error,
+ size_t error_size);
+
+
+/* C64 PRG output of assembly. Returns TRUE if OK, FALSE for failure.
+*/
+int PRGOutput(const char *filename, const char *filename_bank,
+ MemoryBank **bank, int count,
+ char *error, size_t error_size);
+
+#endif
+
+/*
+vim: ai sw=4 ts=8 expandtab
+*/