osckhar
God Member
Offline
www.3Dfx.es
Posts: 812
SPAIN
Gender:
|
Hi Dominik,
Yes, it would be more or less.
I need to boot in DOS and set the VGA model 13h.
The idea is starts and write to a000:0000 segment and see which bits are not responding. Locate the bits and look for shorts.
How memory is organised in mode 13h One of the greatest advantages of mode 13h for the programmer is the way the video memory is organised. Each pixel takes one byte of memory, and as we move horizontally across each line, we are moving one byte forward in memory. That is, mode 13h has a linear memory structure. The first pixel on the mode 13h screen (the one in the top left hand corner) is at memory address A000:0000. This is called the 'screen base address'.
Each 'box' represents one pixel. The pixel in the top left-hand corner is considered to have co-ordinates (0,0) and it exists at memory location A000:0000. The next pixel has co-ordinates (1,0) at it exists at memory location A000:0001. Continuing to the end of the line, we see that the pixel at (319,0) lives at memory location A000:013F.
The first pixel on the following line (0,1) lives at A000:0140, which is exactly one byte past the last pixel on the previous line. You should now understand what is meant by linear memory!
This pattern continues right down to the last pixel of the last line (319,199) which lives at A000:F9FF. "One of the greatest advantages of mode 13h is ... that it has a linear memory structure."
Another story will be once find the bit gives short to find at what memory bank makes reference but I think it is not bad idea to detetec problem on memory.
Regards, Oscar.
|