Page 1 of 1

Screwed Display

Posted: Mon Dec 23, 2002 4:14 pm
by pskyboy
[attachment deleted by admin]

Re:Screwed Display

Posted: Mon Dec 23, 2002 4:15 pm
by pskyboy
Okay it doesn't look like that, looks like it got corrupted whne uploaded. Basically the whole thing looks like the top part.

Peter

Re:Screwed Display

Posted: Mon Dec 23, 2002 4:20 pm
by jrfritz
Can't help without code ;)

Re:Screwed Display

Posted: Tue Dec 24, 2002 7:12 am
by pskyboy
Thats the biggest problem im not quite sure where its happenign so can't give you the relevant code. I was just looking for suggestions for what it could be. Im guessing im just writing into the video memory or something.

Peter

Re:Screwed Display

Posted: Tue Dec 24, 2002 12:19 pm
by jrfritz
Your stack or something, maybe your MM ( memory manager ) must be writing to the wrong memory...the video card.

Re:Screwed Display

Posted: Tue Dec 24, 2002 2:37 pm
by DynatOS
I'm thinking his video write/print function is mixed up or he used it incorrectly.

Re:Screwed Display

Posted: Tue Dec 24, 2002 5:11 pm
by pskyboy
I found out what it was. If i declared a variable in one of my classes it caused this but when i declared the variable in the header it stopped this. The weirdest error i have seen in a long time.

Peter

Re:Screwed Display

Posted: Tue Dec 24, 2002 5:24 pm
by jrfritz
Maybe you ran out of room somewhere.

Re:Screwed Display

Posted: Thu Dec 26, 2002 5:52 pm
by Pype.Clicker
in early times, i had similar problems with a loop on some memcpy that was writing to memory at some address under 0xa0000 and which didn't stop because of a wrong loop condition ...
So the writing goes over 0xA0000, overwrote the video area and goes on until it finally wrapped back to address 0000 and overwrote the writing code itself ... then the CPU finally crashed.

Re:Screwed Display

Posted: Thu Dec 26, 2002 8:27 pm
by jrfritz
I'd sure like to know what hex that nice light blue text color is...though...

Re:Screwed Display

Posted: Fri Dec 27, 2002 2:12 am
by pskyboy
I can tell you that im using it for my text. The only problem is it comes out dark blue in Bochs and light blue on my machine i guess its probably the vid card code in bochs. Its 0x09 for light/dark blue.


Peter