Mail Archives: djgpp/1995/05/13/23:10:24
> Don't worry about pointer types like 'near' or 'far' or 'huge' etc.
> when you use djgpp. Memory space is 32-bit linear with djgpp, and
> you can write programs without headache of memory segment.
But, under dpmi, the linear memory space doesn't include the first MB of
memory. So if you want access to video memory, you have to use library
function calls, sys/farptr.h, assembly language or similar. This makes your
life a little more difficult if you are porting from DOS to djgpp, but it's
not bad if all your screen output gets routed through a small number of
routines.
- Raw text -