-
Hello. I have been learning assembler, and can do most character input and output:
Code:
mov ah, 2
mov dl, 65
int 21
int 20
And know how to do loops, and several other things. Anyone got tips on drawing stuff? A line? I also cannot figure out how to do colored text. Thanks!
-
Depends on the OS,
If you're in DOS then you use call the 21h interupt with the appropriate video variable (I know this is vague but I can't remember off the top of my head)
Or in windows then you have to use the API, get a handle on a device context etc.
-
Well, I only know how to assemble in DOS. Any web sites regarding assembler in windows?
-
have a look through the other assembler threads, there are links to MASM32 which is a 32bit assember for windows