]> Shamusworld >> Repos - rmac/blobdiff - listing.h
Partial fix for bug #108 (Fixup cleanups).
[rmac] / listing.h
index e447f35a41059aed1b1ea6ad789e82e73ac6559d..d60793be9d3a8bdcb5205c5bc12fe528a0dfef80 100644 (file)
--- a/listing.h
+++ b/listing.h
@@ -1,7 +1,7 @@
 //
 //
-// RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System
+// RMAC - Reboot's Macro Assembler for all Atari computers
 // LISTING.H - Listing Output
 // LISTING.H - Listing Output
-// Copyright (C) 199x Landon Dyer, 2017 Reboot and Friends
+// Copyright (C) 199x Landon Dyer, 2011-2018 Reboot and Friends
 // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
 // Source utilised with the kind permission of Landon Dyer
 //
 // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
 // Source utilised with the kind permission of Landon Dyer
 //
@@ -13,8 +13,8 @@
 #include "rmac.h"
 
 #define BOT_MAR         1                              // #blank lines on bottom of page
 #include "rmac.h"
 
 #define BOT_MAR         1                              // #blank lines on bottom of page
-#define IMAGESIZ        200                            // Max size of a line of text
-#define TITLESIZ        200                            // Max size of a title
+#define IMAGESIZ        1024                   // Max size of a line of text
+#define TITLESIZ        1024                   // Max size of a title
 #define LN_COL          0                              // Column for line numbers
 #define LOC_COL         7                              // Location ptr
 #define DATA_COL        17                             // Data start (for 20 chars, usually 16)
 #define LN_COL          0                              // Column for line numbers
 #define LOC_COL         7                              // Location ptr
 #define DATA_COL        17                             // Data start (for 20 chars, usually 16)
 #define TAG_COL         38                             // Tag character
 #define SRC_COL         40                             // Source start
 
 #define TAG_COL         38                             // Tag character
 #define SRC_COL         40                             // Source start
 
-// Globals, externals etc
+// Exported variables
 extern char * list_fname;
 extern int listing;
 extern int pagelen;
 extern int nlines;
 extern LONG lsloc;
 extern char * list_fname;
 extern int listing;
 extern int pagelen;
 extern int nlines;
 extern LONG lsloc;
+extern uint8_t subttl[];
 
 
-// Prototypes
-void InitListing(void);
+// Exported functions
 int eject(void);
 int eject(void);
-void ship_ln(const char *);
+uint32_t dos_date(void);
+uint32_t dos_time(void);
 void taglist(char);
 void println(const char *);
 void taglist(char);
 void println(const char *);
+void ship_ln(const char *);
+void InitListing(void);
 void listeol(void);
 void listeol(void);
-VALUE dos_date(void);
-VALUE dos_time(void);
 void lstout(char);
 void lstout(char);
-int listvalue(VALUE);
+int listvalue(uint32_t);
 int d_subttl(void);
 int d_title(void);
 
 #endif // __LISTING_H__
 int d_subttl(void);
 int d_title(void);
 
 #endif // __LISTING_H__
+