Markian
Markian

Reputation: 342

How to print new line in 32 bit protected mode

How would I print a new line in 32 bit protected text mode (using assembly)?

I tried setting the address 0xb8000 to 0, but it just started printing at the beginning of the current line.

Upvotes: 1

Views: 229

Answers (1)

Kolodez
Kolodez

Reputation: 635

If you want to directly manipulate the video buffer (as I understand your question), you just need to start writing your subsequent text at the address that corresponds to the first column of the second line.

Upvotes: 3

Related Questions