Oh, this is just exaggeration, sorry. I can display text as usual.neon wrote:Hi,
You mentioned that all you see is a blank screen. Are you able to display any text at all? I.e. implement a quick function to print a string to 0xb8000 and verify if it works or not.
Err... Text cursor doesn't appear in long mode?
-
- Member
- Posts: 102
- Joined: Wed Oct 20, 2021 6:00 pm
- Location: Paraguay
Re: Err... Text cursor doesn't appear in long mode?
Re: Err... Text cursor doesn't appear in long mode?
I meant the actual sources, like a link to Github or something.NeonLightions wrote:Here is my source tree:
As neon said, I just meant are you successfully displaying text.NeonLightions wrote:I'm sorry but what is that?
Another thing to look at is - where are you putting the cursor? The cursor is generally displayed as an inverted cell - if you've placed it in a cell that has been, say, zero'd, it may be inverting black-on-black to black-on-black and not appearing.
-
- Member
- Posts: 102
- Joined: Wed Oct 20, 2021 6:00 pm
- Location: Paraguay
Re: Err... Text cursor doesn't appear in long mode?
Okay, here is my repo: https://github.com/NeonLightions/NewOSklange wrote:I meant the actual sources, like a link to Github or something.NeonLightions wrote:Here is my source tree:As neon said, I just meant are you successfully displaying text.NeonLightions wrote:I'm sorry but what is that?
Another thing to look at is - where are you putting the cursor? The cursor is generally displayed as an inverted cell - if you've placed it in a cell that has been, say, zero'd, it may be inverting black-on-black to black-on-black and not appearing.
Please help me (don't mind the i386 folder, it's just a test)
Re: Err... Text cursor doesn't appear in long mode?
https://github.com/NeonLightions/NewOS/ ... minal.c#L7NeonLightions wrote:Okay, here is my repo: https://github.com/NeonLightions/NewOS
Please help me (don't mind the i386 folder, it's just a test)
Try setting the foreground to white when you clear?
-
- Member
- Posts: 102
- Joined: Wed Oct 20, 2021 6:00 pm
- Location: Paraguay
Re: Err... Text cursor doesn't appear in long mode?
Nope, it's uselessklange wrote:https://github.com/NeonLightions/NewOS/ ... minal.c#L7NeonLightions wrote:Okay, here is my repo: https://github.com/NeonLightions/NewOS
Please help me (don't mind the i386 folder, it's just a test)
Try setting the foreground to white when you clear?
-
- Member
- Posts: 102
- Joined: Wed Oct 20, 2021 6:00 pm
- Location: Paraguay
Re: Err... Text cursor doesn't appear in long mode?
It's working right now. I just realized that the text cursor didn't show because of clrscr() function. Thank you for your help.klange wrote:https://github.com/NeonLightions/NewOS/ ... minal.c#L7NeonLightions wrote:Okay, here is my repo: https://github.com/NeonLightions/NewOS
Please help me (don't mind the i386 folder, it's just a test)
Try setting the foreground to white when you clear?