VirtualBox

Changeset 94450 in vbox


Ignore:
Timestamp:
Apr 4, 2022 8:20:58 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150780
Message:

DevVGA: Added split screen functionality for text modes (not quite accurate).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r94360 r94450  
    17861786        height = (height + 1) / cheight;
    17871787    }
     1788    /** @todo r=michaln This conditional is questionable; we should be able
     1789     * to draw whatver the guest asks for. */
    17881790    if ((height * width) > CH_ATTR_SIZE) {
    17891791        /* better than nothing: exit if transient size is too big */
     
    19681970
    19691971        /* Line compare works in text modes, too. */
    1970         if ((uint32_t)cy == pThis->line_compare)
    1971             s1 = 0;
    1972   }
     1972        /** @todo r=michaln This is inaccurate; text should be rendered line by line
     1973         * and line compare checked after every line. */
     1974        if ((uint32_t)cy == (pThis->line_compare / cheight))
     1975            s1 = pThisCC->pbVRam;
     1976    }
    19731977    if (cy_start >= 0)
    19741978        /* Flush any remaining changes to display. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette