System32 Function 04 (04h) - Send text to standard output device.
| Description |
| A real usefull and easy service to print text. Currently only the textmode-screen can be used as a standard output device, but the mechanism to support other oututdevices is already implemented. Therefor it is recommended to use this service instead of poking to the 0xb8000 area yourself. |
| Input |
AL |
04h |
|---|---|
DS |
Selector of the text string |
EDI |
Offset to the text string |
| Output |
None |
Always successful |
|---|
| Errorcodes |
None |
Always successfu |
|---|
| Notes |
| *Text strings should be 0 terminated. *Control characters like 13(Cariage return), 10 (Linefeed) etc. are all supported. |
| Development Status |
| *Color can now only be set by System32, maybe something in
the textstring could be defined as a 'color-set' command. Like: 0xFFh, 1Fh, 'Hello World',13,10, 0xFFh, 07h, 'Hi',0 This would print the text 'Hello World' in white(f) on blue(1), and on the next line 'Hi', in grey(7) on black(0) |