summaryrefslogtreecommitdiffstats
path: root/sys/boot/pc98/kgzldr
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2002-09-24 02:17:13 +0000
committernyan <nyan@FreeBSD.org>2002-09-24 02:17:13 +0000
commit4c0646543e05681708c023162edae39298876d88 (patch)
treead9b6ad88d1764ef27417a8ba7f0abfee09cc3e9 /sys/boot/pc98/kgzldr
parent530831782a8c7fcb2cec83d815bc05fc887f7d00 (diff)
downloadFreeBSD-src-4c0646543e05681708c023162edae39298876d88.zip
FreeBSD-src-4c0646543e05681708c023162edae39298876d88.tar.gz
Fixed to build after removing a.out suppot.
Diffstat (limited to 'sys/boot/pc98/kgzldr')
-rw-r--r--sys/boot/pc98/kgzldr/crt.s12
1 files changed, 6 insertions, 6 deletions
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
OpenPOWER on IntegriCloud