Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
## Set video mode to 80x25 for basic console.
movw $0x1202, %ax #set the scan rate to 400
mov $0x30, %bl
int $0x10
mov $3,%ax # Video mode 80x25x16
int $0x10 # Interrupt (set video mode)
mov $0x1104,%ax # smaller text = more lines
mov $0,%bx #
int $0x10 # Interrupt (set video mode)
mov $0x1003,%ax # Toggle blinking
int $0x10 # Interrupt (set video mode)
If i make the smaller text line = 1112, the text is squished and fits on screen, but if i try the larger character set in the code above the lines just scroll out of view and if you hit return enough the terminal appears. So it's there, I just can't seem to find the correct command to tell bochs to resize the window.
That's because you never change the resolution because the height is already 400 for mode 3, you're only changing the font. Use different AH=0x00 or AH=0x4F calls to get the resolution you want.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]