quote: -michalson wrote
Also, to use assembly in DJGPP do this (this is a conversion of the assembly code I posted on the previous page):
union REGS regs;regs.h.ax = 0x1202; regs.h.bl = 0x30; int86(0x10,®s,®s);regs.h.ax = 0x3; int86(0x10,®s,®s);regs.h.ax = 0x1110; regs.h.bx = 0x800; regs.h.cx = 0xA; regs.h.dx = 0x0; int86(0x10,®s,®s);
Um, lets not confuse the guy anymore than he already is. That is not assembly. It''s a software interrupt function. they are not even close to being the same thing.
-= Twisted Matrix =-