X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=direct.h;h=88fdab0d5852c910981fb7bab0eaaed8aaba3377;hp=6ce7d4519c3efd8518a4520d24099e2737723f7a;hb=c38505ee4b2a0de59926107e52fb8bb84041a0e4;hpb=60f204cb9e3905100da0d89f14bb40db764acd9e diff --git a/direct.h b/direct.h index 6ce7d45..88fdab0 100644 --- a/direct.h +++ b/direct.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 // DIRECT.H - Directive Handling -// Copyright (C) 199x Landon Dyer, 2017 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2020 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // Source utilised with the kind permission of Landon Dyer // @@ -10,66 +10,46 @@ #define __DIRECT_H__ #include "rmac.h" +#include "token.h" -// Globals, Externals etc +// Imported variables + +extern char * label_defined; + +// Exported variables extern TOKEN exprbuf[]; extern SYM * symbolPtr[]; extern int (* dirtab[])(); +extern int largestAlign[]; -// Prototypes -int d_even(void); +// Exported functions void auto_even(void); -int dep_block(VALUE, WORD, VALUE, WORD, TOKEN *); -int d_unimpl(void); -int d_even(void); -int d_6502(void); -int d_68000(void); -int d_bss(void); -int d_data(void); -int d_text(void); -int d_abs(void); -int d_comm(void); -int d_dc(WORD); -int d_ds(WORD); -int d_dcb(WORD); -int d_globl(void); -int d_gpu(void); -int d_dsp(void); -int d_assert(void); -int d_if(void); -int d_endif(void); -int d_include(void); -int ExitMacro(void); -int d_list(void); -int d_nlist(void); -int d_title(void); -int d_subttl(void); +int dep_block(uint32_t, WORD, uint32_t, WORD, TOKEN *); int eject(void); -int d_error(char *); -int d_warn(char *); -int d_org(void); -int d_init(WORD); -int d_cargs(void); -int d_undmac(void); -int d_regbank0(void); -int d_regbank1(void); +int abs_expr(uint64_t *); +int symlist(int(*)()); + +int d_even(void); int d_long(void); int d_phrase(void); int d_dphrase(void); int d_qphrase(void); -int d_incbin(void); -int d_noclear(void); -int d_equrundef(void); -int d_ccundef(void); -int d_print(void); -int d_gpumain(void); -int d_jpad(void); -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); + +int d_if(void); +int d_else(void); +int d_endif(void); + +int d_68000(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_gpu(void); +int d_dsp(void); #endif // __DIRECT_H__ +