PDA

Click to See Complete Forum and Search --> : Assembler in General


schnarf283
Oct 29th, 2000, 05:21 PM
Hello. I have been learning assembler, and can do most character input and output:

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!

Paul282
Oct 29th, 2000, 09:16 PM
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.

schnarf283
Oct 30th, 2000, 06:30 PM
Well, I only know how to assemble in DOS. Any web sites regarding assembler in windows?

Paul282
Oct 31st, 2000, 05:35 AM
have a look through the other assembler threads, there are links to MASM32 which is a 32bit assember for windows