ansicon: allow to pass page # to write functions
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Tue, 11 Aug 2009 15:58:19 +0000 (08:58 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Tue, 11 Aug 2009 16:20:45 +0000 (09:20 -0700)
commite9b317fd0dc87dc93a49bc40520f4bdd0264d746
treeae7300f70799f0b1b217c14422ce4faea461053e
parent77632adf09dbf7d4d72ce3763566f1dade3bb0e2
ansicon: allow to pass page # to write functions

Some video modes support up to 8 different pages, the current one being
stored at 0x462.

The display page value is passed in BH when invoking the INT 10h Video
Service routines. This patch changes the interface of ansicon_write_char
and ansicon_set_cursor to allow the caller to specify the page.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/lib/sys/ansi.c
com32/lib/sys/ansi.h
com32/lib/sys/ansicon_write.c