#Opps!
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
On the Amiga there is some disagreement between C compilers about the length
of an int (may be 16 or 32 bits), but no disagreement about the length of a
short (always 16 bits) or a long (always 32 bits). Accordingly,
short peekw(address)
and
void pokew(address,value) long address; short value;
will tend to be more portable.
Also, can't you just say for poke(),
void poke(address,value)
long address;
char value;
{ *address = value;
}