[comp.lang.pascal] thanks for the memories

woody@eos.UUCP (Wayne Wood) (03/11/90)

okay, heres two questions.

1]  how can i access memory outside of the current program CS at run time?
    i have a data array that exceeds 64K so i need to be able to manipulate
    memory on my own.  
    
    system : COMPAQ 386/25
    memory : 5 meg.
    vga card in 640x480 mode.

2] this ties in with question #1... how can i reliably READ the video memory
   on a VGA?  i have no trouble writing to it directly, but i need to
   read from it directly.  the problem is one of speed.

any pointers on this problem in C, assembler or pascal would be appreciated.
i'm using borland products for all three languages.


/***   woody   ****************************************************************
*** ...tongue tied and twisted, just an earth bound misfit, I...            ***
*** -- David Gilmour, Pink Floyd                                            ***
****** woody@eos.arc.nasa.gov *** my opinions, like my mind, are my own ******/

woody@eos.UUCP (Wayne Wood) (03/12/90)

okay folks, i have two questions.

[1] i need to access memory outside the 64k segment my program uses
    at runtime.  in other words, i would like to be able to use ALL
    MEMORY if possible.  i have a large datastructure that requires
    the use of more than 64k.

[2] i need a method to reliably read the vga video memory by individual
    bitplanes.  i have been able to write directly tothe video memory
    but have not been able to reliably write to it.  any pointers?

i have a compag 386/25 with 5meg of memory.  source code examples in
pascal,c,or assembler would be greatly appreciated. i am using
borland languages for all three.

thanx in advance,


/***   woody   ****************************************************************
*** ...tongue tied and twisted, just an earth bound misfit, I...            ***
*** -- David Gilmour, Pink Floyd                                            ***
****** woody@eos.arc.nasa.gov *** my opinions, like my mind, are my own ******/