System32 Function 38 (26h) - Write to alternate output.

Description
Let's you output text to a screen other that the terminal screen. You should not be using this to output to the terminal screen for compatibility reasons, but you could use it to output to the debug screen for example.
Input

AL

38d (26h)

DL

Screen number

DS

Selector of the text string

EDI

Offset to the text string
Output

None

None
Errorcodes

None

None
Notes
*Text strings should be 0 terminated.
*Control characters like 13(Cariage return), 10 (Linefeed) etc. are all supported.
Screen numbers currently available are:
0 = Terminal Screen
1 = Debug Screen
2 = Bootup Screen
3 = Modload Screen
4 = Crash Screen
Development Status
Complete

Back