Hi there,
It looks like it's not possible to declare a pointer to char and
initialise it to the video memory, e.g.
type
VideoMemory: ^char;
var
VideoMemory := 0x80000;
Excuse the syntax if its wrong, I'm new to Pascal. :-)
I'd like to know if it's not possible to get a pointer to the video
memory region on PCs will I need to modify the compiler to allow it? Or
would it be easier to just write a helper routine in C or assembler and
link to it instead? Also what is the calling convention used and what
does the procedure activation record look like?
Is it fairly easy to use an alternative standalone runtime library with
GNU Pascal? I'd like to use GCC's -fstandalone and -nostdinc -nostdlib
(IIRC) options to link to my own standalone runtime so I can use Pascal
for low level system programming.
Thanks very much.
James