www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/10/04:29:07

Newsgroups: comp.os.msdos.djgpp
From: Peter Berdeklis <peter AT atmosp DOT physics DOT utoronto DOT ca>
Subject: Viewing Physical Addresses in gdb or fsdb?
Message-ID: <Pine.SGI.3.91.970208095004.17818A-100000@chinook.physics.utoronto.ca>
Nntp-Posting-Host: chinook.physics.utoronto.ca
Sender: news AT info DOT physics DOT utoronto DOT ca (System Administrator)
Mime-Version: 1.0
Organization: University of Toronto - Dept. of Physics
Date: Sat, 8 Feb 1997 14:58:00 GMT
Lines: 20
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I've got a set of memory buffers in DOS memory for using with DMA.  
Instead of copying them into my linear addr space then writing them out 
through the transfer buffer, I modified the _dos_write routine to 
accept a physical addr to write the buffers to disk.  As a result the 
buffers are never in my linear address space.

Is there a way that I can reference a physical address in gdb or fsdb?  
Of course I have selectors for each of the buffers, so can I pass a 
selector:offset pair to gdb or fsdb?  

If I temporarily load the selector into fs (say) can I use a segment 
override in the addr?

As always, thanks in advance.

---------------
Peter Berdeklis
Dept. of Physics, Univ. of Toronto

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019