flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > VGA - 80x25 Text Mode Scroll Screen in protected mode? |
Author |
|
newport 11 Jan 2016, 05:14
I've gotten my keyboard 'driver' working - so I can type on the screen, however once I reach the bottom of the screen, I need it to scroll up one line so I can see what I continue to type. I've searched all over, but all the examples on the net are in C code which i'm not interested in at this time. Could someone explain how this works in protected mode without using the bios? Thanks!
|
|||||||||||
11 Jan 2016, 05:14 |
|
cod3b453 13 Jan 2016, 21:39
As revolution says - simply write directly to the video buffer but you'll want to have a set of screen buffer and print functions that maintain the state (cursor colours scrolling/line wrap etc) so you can continue to coherently display text. I personally found it easier to do this right from the start in 16bit so that switching to 32/64 wasn't a problem.
|
|||
13 Jan 2016, 21:39 |
|
newport 14 Jan 2016, 12:38
thanks for the replies! think i got it figured out..
|
|||
14 Jan 2016, 12:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.