Re: int10 function write char xor' to current graphic screen
Posted on 2006-01-15, 16:01
> "if (CurMode->type==M_CGA2) attr=(attr&0x80)|1;" this work , but I can't figure out why both solution work ... if (CurMode->type==M_CGA2) attr=attr|1; if (CurMode->type==M_CGA2) attr=(attr&0x80)|1; In your version , It always get rid of xor_mask bit (0x80) ... It's an odd behavior.