• Please review our updated Terms and Rules here

color mode on Turbo Pascal 3.0

gnallkoff

Member
Joined
Dec 5, 2014
Messages
11
Location
Oldenburg
Hi Folks
I am programming with Turbo Pascal 3.0 in MS/DOS 6.2 and I try to bring Color into it. I am working with Interrupt Requests. I have a western digital VGA Card so I choose Interrupt 10h Function 00 to select Video mode 18.
Every Thing works fine, except the Cursor. I am working on page 0 (Register BH) but as soon as I choose a Background Color by Function 0Bh the Cursor is not more visible. Asking for the values by Interrupt 10h Function 03h I get a posive answer by the Registers DH, DL, CH & CL but still no Cursor is visible. As soon as I work without Background Color I am able to set the Cursor (Funktion 02h). But that is only half of fun. Does anybody of you have a solution ?

Best regards Joachim
 
Back
Top