Screwed Display

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
pskyboy

Screwed Display

Post by pskyboy »

[attachment deleted by admin]
pskyboy

Re:Screwed Display

Post 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
jrfritz

Re:Screwed Display

Post by jrfritz »

Can't help without code ;)
pskyboy

Re:Screwed Display

Post 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
jrfritz

Re:Screwed Display

Post by jrfritz »

Your stack or something, maybe your MM ( memory manager ) must be writing to the wrong memory...the video card.
DynatOS

Re:Screwed Display

Post by DynatOS »

I'm thinking his video write/print function is mixed up or he used it incorrectly.
pskyboy

Re:Screwed Display

Post 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
jrfritz

Re:Screwed Display

Post by jrfritz »

Maybe you ran out of room somewhere.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Screwed Display

Post 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.
jrfritz

Re:Screwed Display

Post by jrfritz »

I'd sure like to know what hex that nice light blue text color is...though...
pskyboy

Re:Screwed Display

Post 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
Post Reply