Anonymous user
Printing To Screen: Difference between revisions
m
→Printing strings: strings should be constants
[unchecked revision] | [unchecked revision] |
No edit summary |
m (→Printing strings: strings should be constants) |
||
Line 32:
/* note this example will always write to the top
line of the screen */
void write_string(int colour, const char *string)
{
volatile char *video=(volatile char*)0xB8000;
while(*string!=0)
{
|