very little problem on real hardware

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
shainer
Posts: 3
Joined: Sun Mar 19, 2006 12:00 am

very little problem on real hardware

Post by shainer »

Hi to all.

I've got a little problem with an OS i'm programming with some friends. When I emulate it on Bochs/VmWare, I get no errors. I tried it on real hardware (my CPU is AMD Athlon XP), and when I press the first key, all the previous characters are canceled, but I can continue typing the command and the shell recognizes it. When I press Enter, the prompt is restored normally.

I think it's a problem of video memory management, but I don't know how to find it.

[Sorry for my english, but i'm italian :)]

Thanks for any help
Lisa
darktemplar
Posts: 17
Joined: Mon Jan 16, 2006 12:00 am
Location: Poland
Contact:

Re: very little problem on real hardware

Post by darktemplar »

Could you give some code? It's hard to say what is the source of the error, without having any code.
<a href="http://miaexokernel.sourceforge.net">Mia Exokernel</a>
If you want to map 16 EB using 4kb pages in IA-64, these structures will require 33619968 GB 131328 MB.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: very little problem on real hardware

Post by earlz »

probably a problem in your gets command i had that kinda problem,
1. try sending it the pointer to a buffer NOT allocated on the stack(global)
2.make sure your advancing the curor
shainer
Posts: 3
Joined: Sun Mar 19, 2006 12:00 am

Re: very little problem on real hardware

Post by shainer »

If you want to see some code:

cvs -d:pserver:[email protected]/cvs/dreamos co dreamos

Well, actually it has to be reviewed, we can code it better :) Unfortunately for you, most of comments are in Italian, if you want some explanation, please ask me :)

Lisa
shainer
Posts: 3
Joined: Sun Mar 19, 2006 12:00 am

Re: very little problem on real hardware

Post by shainer »

Stop :) we have resolved...it's a problem in text scrolling!

Thanks for all and sorry for the disturb :)

Lisa
Post Reply