mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 06:39:25 +01:00 
			
		
		
		
	* Crt.CursorOn and CursorBig: use CX values that are CGA compatible, which makes them CGA/EGA/VGA compatible, because EGA/VGA bioses emulate CGA cursor values; as a side effect this also makes these functions work properly under EGA/VGA's 43- and 50-line text modes
git-svn-id: trunk@25484 -
This commit is contained in:
		
							parent
							
								
									e60c3ee740
								
							
						
					
					
						commit
						19d6d202cd
					
				@ -552,7 +552,7 @@ var
 | 
			
		||||
begin
 | 
			
		||||
  regs.ax:=$0100;
 | 
			
		||||
  If VidSeg=$b800 then
 | 
			
		||||
    regs.cx:=$90A
 | 
			
		||||
    regs.cx:=$0607
 | 
			
		||||
  else
 | 
			
		||||
    regs.cx:=$b0d;
 | 
			
		||||
  intr($10,regs);
 | 
			
		||||
@ -574,7 +574,7 @@ var
 | 
			
		||||
  regs : registers;
 | 
			
		||||
begin
 | 
			
		||||
  regs.ax:=$0100;
 | 
			
		||||
  regs.cx:=$10A;
 | 
			
		||||
  regs.cx:=$0007;
 | 
			
		||||
  intr($10,regs);
 | 
			
		||||
end;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user