resize bochs vga screen
Posted: Thu Mar 14, 2013 4:02 pm
I can't seem to get the vga options to display qutie right:
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.
Code: Select all
## 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)