mirror of
https://github.com/uffejakobsen/acme.git
synced 2024-09-28 22:55:06 +00:00
more minor comment changes
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@93 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
parent
47f09e9804
commit
e1683b1e28
14
src/output.h
14
src/output.h
@ -35,10 +35,14 @@ extern struct vcpu CPU_state; // current CPU state FIXME - restrict visibility t
|
|||||||
|
|
||||||
// Prototypes
|
// Prototypes
|
||||||
|
|
||||||
|
// clear segment list and disable output
|
||||||
|
//TODO - does this belong to outbuf stuff?
|
||||||
|
extern void Output_passinit(void);
|
||||||
|
|
||||||
|
// outbuf stuff:
|
||||||
|
|
||||||
// alloc and init mem buffer (done later)
|
// alloc and init mem buffer (done later)
|
||||||
extern void Output_init(signed long fill_value);
|
extern void Output_init(signed long fill_value);
|
||||||
// clear segment list and disable output
|
|
||||||
extern void Output_passinit(void);
|
|
||||||
// skip over some bytes in output buffer without starting a new segment
|
// skip over some bytes in output buffer without starting a new segment
|
||||||
// (used by "!skip", and also called by "!binary" if really calling
|
// (used by "!skip", and also called by "!binary" if really calling
|
||||||
// Output_byte would be a waste of time)
|
// Output_byte would be a waste of time)
|
||||||
@ -49,6 +53,9 @@ extern void (*Output_byte)(intval_t);
|
|||||||
// define default value for empty memory ("!initmem" pseudo opcode)
|
// define default value for empty memory ("!initmem" pseudo opcode)
|
||||||
// returns zero if ok, nonzero if already set
|
// returns zero if ok, nonzero if already set
|
||||||
extern int output_initmem(char content);
|
extern int output_initmem(char content);
|
||||||
|
|
||||||
|
// move elsewhere:
|
||||||
|
|
||||||
// Output 8-bit value with range check
|
// Output 8-bit value with range check
|
||||||
extern void output_8(intval_t);
|
extern void output_8(intval_t);
|
||||||
// Output 16-bit value with range check big-endian
|
// Output 16-bit value with range check big-endian
|
||||||
@ -63,6 +70,9 @@ extern void output_le24(intval_t);
|
|||||||
extern void output_be32(intval_t);
|
extern void output_be32(intval_t);
|
||||||
// Output 32-bit value (without range check) little-endian
|
// Output 32-bit value (without range check) little-endian
|
||||||
extern void output_le32(intval_t);
|
extern void output_le32(intval_t);
|
||||||
|
|
||||||
|
// outfile stuff:
|
||||||
|
|
||||||
// try to set output format held in DynaBuf. Returns zero on success.
|
// try to set output format held in DynaBuf. Returns zero on success.
|
||||||
extern int outputfile_set_format(void);
|
extern int outputfile_set_format(void);
|
||||||
extern const char outputfile_formats[]; // string to show if outputfile_set_format() returns nonzero
|
extern const char outputfile_formats[]; // string to show if outputfile_set_format() returns nonzero
|
||||||
|
@ -618,7 +618,7 @@ static enum eos po_enum(void) // now GotByte = illegal char
|
|||||||
intval_t step = 1;
|
intval_t step = 1;
|
||||||
|
|
||||||
ALU_optional_defined_int(&step);
|
ALU_optional_defined_int(&step);
|
||||||
Throw_serious_error("Not yet"); // FIXME
|
Throw_serious_error("Not yet"); // FIXME
|
||||||
return ENSURE_EOS;
|
return ENSURE_EOS;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user