X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=listing.h;h=e447f35a41059aed1b1ea6ad789e82e73ac6559d;hp=f674ea6d763b2ae5b48a61de6bf25f8880b58952;hb=60f204cb9e3905100da0d89f14bb40db764acd9e;hpb=d16b8ea0ee65b2ad901ca6b0624c07e6e4930cc4 diff --git a/listing.h b/listing.h index f674ea6..e447f35 100644 --- a/listing.h +++ b/listing.h @@ -1,9 +1,9 @@ // // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System // LISTING.H - Listing Output -// Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2017 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 -// Source Utilised with the Kind Permission of Landon Dyer +// Source utilised with the kind permission of Landon Dyer // #ifndef __LISTING_H__ @@ -12,25 +12,26 @@ #include #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 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 DATA_END (DATA_COL+20) // End+1th data column -#define TAG_COL 38 // Tag character -#define SRC_COL 40 // Source start +#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 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 DATA_END (DATA_COL+20) // End+1th data column +#define TAG_COL 38 // Tag character +#define SRC_COL 40 // Source start // Globals, externals etc -extern char *list_fname; +extern char * list_fname; extern int listing; extern int pagelen; extern int nlines; extern LONG lsloc; // Prototypes -void init_list(void); +void InitListing(void); +int eject(void); void ship_ln(const char *); void taglist(char); void println(const char *);