after setting AL=13H, and a INT 10H (I know that this will set the VGA Mode),
How can I do somethting to display something on the screen?
Someone says use STOSB, but can anyone tell me WHY? and is there any other ways
to this?
How can I do somethting to display something on the screen?
Someone says use STOSB, but can anyone tell me WHY? and is there any other ways
to this?
You will have a linear framebuffer of 320x200 pixels at segment A000h in mode 13h (8 bit indexed).
Just write to it to draw pixels.
Just write to it to draw pixels.
after setting AL=13H, and a INT 10H (I know that this will set the VGA Mode),
We must be discussing different interrupts/functions.
Int 10h, function 13h = Write string
Calling registers:
AH 13h
AL Write mode
BH Video page
BL Attribute
CX string length
DH row to write string
DL column to write string
ES:BP pointer to string
Return registers: Nothing
If you trying to set video mode try Int 10h, function 00h. There are other methods for writing string such as Int 21, function 09h; Int 10h, functions 09h or 0Ah.
hope this is helpful, best regards,
czDrillard
He set al to 13h, not ah, ah was most probably 00h, so that is "Set video mode 13h", as he also said :)
You're probably right Scali, :o my mistake. I better follow my own advice and check the brain gears :)
best regards,
czDrillard
best regards,
czDrillard