--- trunk/mkinitrd-magellan/isolinux/rawcon.inc 2010/08/19 08:27:19 1132 +++ trunk/mkinitrd-magellan/isolinux/rawcon.inc 2010/08/19 09:50:43 1133 @@ -8,11 +8,15 @@ %else writechr: %endif + pushfd push ds push cs pop ds + test byte [UsingVGA], 08h + jz .videook + call vgaclearmode +.videook: call write_serial ; write to serial port if needed - pushfd test byte [DisplayCon],01h ; Write to screen? jz .nothing @@ -44,11 +48,11 @@ ja .scroll .curxyok: mov bh,[BIOS_page] mov ah,02h ; Set cursor position - int 10h + int 10h .ret: popad .nothing: - popfd pop ds + popfd ret .scroll: dec dh mov bh,[BIOS_page] @@ -69,4 +73,3 @@ jnc .curxyok xor dh,dh jmp short .curxyok -