hi
does any one has the code for scrolling the screen
down .. i mean when we are printing on the scree..
thanx
scrolling the screen
Re:scrolling the screen
Just copy everything one line up and clear the last one:
video_memory is, of course, 0xb8000
Code: Select all
memcpy(video_memory, (void*) (0xb8000+(80*2)), 24*80*2);
memset((void*) (0xb8000+(24*80*2)), 0, 80);