mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFC: revision 200776
Move cursor position after putting a character.
This commit is contained in:
parent
58caa1cc76
commit
eaf52f2239
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue