]> Shamusworld >> Repos - rmac/blobdiff - direct.h
Initial commit for 68020/30/40/60/68881/68882/68851 support.
[rmac] / direct.h
index d88ab24390670cc3825064bc0b3f5ef10be04433..8eb169073b9971079ded19b7eb45341cb6900c30 100644 (file)
--- a/direct.h
+++ b/direct.h
@@ -1,27 +1,39 @@
-////////////////////////////////////////////////////////////////////////////////////////////////////
+//
 // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System
 // DIRECT.H - Directive Handling
-// 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 __DIRECT_H__
 #define __DIRECT_H__
 
 #include "rmac.h"
 
-// Globals, Externals etc
+// Exported variables
 extern TOKEN exprbuf[];
-extern int (*dirtab[])();
+extern SYM * symbolPtr[];
+extern int (* dirtab[])();
 
-// Prototypes
-int d_even(void);
+// Exported functions
 void auto_even(void);
 int dep_block(VALUE, WORD, VALUE, WORD, TOKEN *);
-int d_unimpl(void);
+int eject(void);
+int abs_expr(VALUE *);
+int symlist(int(*)());
+
 int d_even(void);
 int d_6502(void);
 int d_68000(void);
+int d_68020(void);
+int d_68030(void);
+int d_68040(void);
+int d_68060(void);
+int d_68881(void);
+int d_68882(void);
+int d_56001(void);
+int d_nofpu(void);
 int d_bss(void);
 int d_data(void);
 int d_text(void);
@@ -37,7 +49,7 @@ int d_assert(void);
 int d_if(void);
 int d_endif(void);
 int d_include(void);
-int exitmac(void);
+int ExitMacro(void);
 int d_list(void);
 int d_nlist(void);
 int d_title(void);
@@ -66,5 +78,9 @@ int d_nojpad(void);
 int d_fail(void);
 int symlist(int(*)());
 int abs_expr(VALUE *);
+int d_cstruct(void);
+int d_prgflags(void);
+int d_opt(void);
 
 #endif // __DIRECT_H__
+