From 4c0646543e05681708c023162edae39298876d88 Mon Sep 17 00:00:00 2001 From: nyan Date: Tue, 24 Sep 2002 02:17:13 +0000 Subject: Fixed to build after removing a.out suppot. --- sys/boot/pc98/kgzldr/crt.s | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sys/boot/pc98') diff --git a/sys/boot/pc98/kgzldr/crt.s b/sys/boot/pc98/kgzldr/crt.s index a1d37a4..1435435 100644 --- a/sys/boot/pc98/kgzldr/crt.s +++ b/sys/boot/pc98/kgzldr/crt.s @@ -29,7 +29,7 @@ # Screen defaults and assumptions. -.`ifdef' PC98 +.ifdef PC98 .set SCR_MAT,0xe1 # Mode/attribute .else .set SCR_MAT,0x7 # Mode/attribute @@ -39,7 +39,7 @@ # BIOS Data Area locations. -.`ifdef' PC98 +.ifdef PC98 .set BDA_POS,0x53e # Cursor position .else .set BDA_SCR,0x449 # Video mode @@ -56,7 +56,7 @@ crt_putchr: movb 0x4(%esp,1),%al # Get character movb $SCR_MAT,%ah # Mode/attribute movl $BDA_POS,%ebx # BDA pointer movw (%ebx),%dx # Cursor position -.`ifdef' PC98 +.ifdef PC98 movl $0xa0000,%edi .else movl $0xb8000,%edi # Regen buffer (color) @@ -66,7 +66,7 @@ crt_putchr: movb 0x4(%esp,1),%al # Get character .endif crt_putchr.1: cmpb $0xa,%al # New line? je crt_putchr.2 # Yes -.`ifdef' PC98 +.ifdef PC98 movw %dx,%cx movb %al,(%edi,%ecx,1) # Write char addl $0x2000,%ecx @@ -102,13 +102,13 @@ crt_putchr.3: cmpb $SCR_ROW,%dh # Beyond screen? rep # Scroll movsl # screen movb $' ',%al # Space -.`ifdef' PC98 +.ifdef PC98 xorb %ah,%ah .endif movb $SCR_COL,%cl # Columns to clear rep # Clear stosw # line -.`ifdef' PC98 +.ifdef PC98 movw $(SCR_ROW-1)*SCR_COL*2,%dx .else movb $SCR_ROW-1,%dh # Bottom line -- cgit v1.1