Quote:
>In pascal I could do this : var i : integer absolute $B800:0
>to acces the vga memory, can this be done in c in some manner.
As far as I am aware there is no such feature in standard Pascal, what
you are probably referring to is some extension provided by the
particluar Pascal compiler you are using. The situation is similar in C,
compilers in environments where this sort of operation is useful will
probably provide some means to do it. A common approach is to use
C's standard feature of casting an integer value to a pointer (C doesn't
specify what the reslt will be but a particualr compiler can). Some
provide macros, e.g. _MK_FP(). You'll need to check your compiler
documentation to find out the particular form of support it provides
or ask in a newsgroup relating to your particular compiler.
--
-----------------------------------------
-----------------------------------------