Mail Archives: djgpp-workers/1997/10/24/06:56:16
On Thu, 23 Oct 1997, Vik Heyndrickx wrote:
> -void dosmemget(int offset, int length, void *buffer);
> +void dosmemget(unsigned long offset, size_t length, void *buffer);
> -void dosmemput(const void *buffer, int length, int offset);
> +void dosmemput(const void *buffer, size_t length, unsigned long offset);
Since `dosmemXXX' functions are for accessing the 1st MB of memory,
why is there a need to go to unsigned long for offsets? To let people
mess with more bits when they have their offsets wrong?
I would go to 16 bits if it were at all possible, but unfortunately
the offset needs 20 bits.
- Raw text -