Image Map Image Map
Page 13 of 13 FirstFirst ... 3910111213
Results 121 to 122 of 122

Thread: EGA video corruption?

  1. #121



    I looked at unpacked keen4 and code looks similar to keen dreams. But I totally cannot understand what it's trying to do pre-crtc start. I've attached a dosbox tracelog of the area.

    Could someone explain it to me better? Thanks
    Attached Files Attached Files

  2. #122
    Join Date
    Aug 2009
    Bavaria / Germany


    Ok, they are using a three-way timing sensitive routine to determine the vertical blanking start. Using multiple I/O reads to determine if the display still generates visible scanlines.
    a) depending a bit on CPU speed
    b) depending on bus speed -> PCI card
    c) depending on the horizontal frequency of the display (VGA and EGA differ by factor 2 here)

    So it's not really related to differences in the register latching in the EGA/VGA.

    There would be a lot of room to use an own routine. My suggestion, if Keen doesn't reprogram it, to use the system timer 0 to wait and check for a defined timespan. EGA scanline is 64s, VGA 31s. I guess we should watch for like 20s...
    Attached Files Attached Files


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts