diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2009-12-29 04:23:46 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2009-12-29 04:23:46 +0000 |
| commit | eaf52f2239e5cd254ea0b97f34a07e21c694c5e0 (patch) | |
| tree | db02ac8e54e2a695a7e14b896b62c464118b0f80 /sys/boot | |
| parent | 58caa1cc76e73c195e3d90d728ec70355be71de6 (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/pc98/kgzldr/crt.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/boot/pc98/kgzldr/crt.s b/sys/boot/pc98/kgzldr/crt.s index e028bc8e6722..35c1fc2dfe73 100644 --- a/sys/boot/pc98/kgzldr/crt.s +++ b/sys/boot/pc98/kgzldr/crt.s @@ -75,5 +75,15 @@ crt_putchr.3: cmpw $SCR_ROW*SCR_COL*2,%dx stosw # line movw $(SCR_ROW-1)*SCR_COL*2,%dx crt_putchr.4: movw %dx,(%ebx) # Update position + shrw $1,%dx +crt_putchr.5: inb $0x60,%al # Move cursor + testb $0x04,%al + jz crt_putchr.5 + movb $0x49,%al + outb %al,$0x62 + movb %dl,%al + outb %al,$0x60 + movb %dh,%al + outb %al,$0x60 popa # Restore ret # To caller |
