| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
#ifndef output_H |
| 7 |
#define output_H |
| 8 |
|
| 9 |
|
| 10 |
#include "config.h" |
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
#define SEGMENT_FLAG_OVERLAY (1u << 0) // do not warn about this segment overwriting another one |
| 17 |
#define SEGMENT_FLAG_INVISIBLE (1u << 1) // do not warn about other segments overwriting this one |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
extern void output_init(void); |
| 24 |
|
| 25 |
|
| 26 |
extern void output_passinit(void); |
| 27 |
|
| 28 |
|
| 29 |
extern void output_endofpass(void); |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
extern void output_skip(int size); |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
extern void (*output_byte)(intval_t); |
| 38 |
|
| 39 |
|
| 40 |
extern void outbuf_set_outfile_start(void); |
| 41 |
extern void outbuf_set_outfile_limit(void); |
| 42 |
|
| 43 |
|
| 44 |
extern char output_get_xor(void); |
| 45 |
extern void output_set_xor(char xor); |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
extern void programcounter_set(intval_t new_pc, bits segment_flags); |
| 50 |
|
| 51 |
|
| 52 |
extern void programcounter_read_pc(struct number *target); |
| 53 |
|
| 54 |
extern void programcounter_read_asterisk(struct number *target); |
| 55 |
|
| 56 |
|
| 57 |
extern int output_get_statement_size(void); |
| 58 |
|
| 59 |
|
| 60 |
extern void output_end_statement(void); |
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
extern void output_get_result(const char **ptr, intval_t *size, intval_t *loadaddr); |
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
struct pseudopc; |
| 69 |
|
| 70 |
|
| 71 |
extern void pseudopc_start(struct number *new_pc); |
| 72 |
|
| 73 |
|
| 74 |
extern void pseudopc_end(void); |
| 75 |
|
| 76 |
|
| 77 |
extern void pseudopc_unpseudo(struct number *target, struct pseudopc *context, unsigned int levels); |
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
extern struct pseudopc *pseudopc_get_context(void); |
| 82 |
|
| 83 |
|
| 84 |
extern int pseudopc_isactive(void); |
| 85 |
|
| 86 |
|
| 87 |
#endif |