diff options
author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-09-24 02:17:13 +0000 |
---|---|---|
committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-09-24 02:17:13 +0000 |
commit | 60c2f19bc5a047f3998ef001fd5a87b2e4879f2f (patch) | |
tree | ad9b6ad88d1764ef27417a8ba7f0abfee09cc3e9 /sys/boot | |
parent | d07090a88025eaf8187b170dba0fb8c27c177f42 (diff) | |
download | src-60c2f19bc5a047f3998ef001fd5a87b2e4879f2f.tar.gz src-60c2f19bc5a047f3998ef001fd5a87b2e4879f2f.zip |
Fixed to build after removing a.out suppot.
Notes
Notes:
svn path=/head/; revision=103877
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/pc98/kgzldr/crt.s | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/boot/pc98/kgzldr/crt.s b/sys/boot/pc98/kgzldr/crt.s index a1d37a4ff9f7..1435435e6792 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 |