OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:33 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Err... Text cursor doesn't appear in long mode?
PostPosted: Thu Oct 21, 2021 1:44 am 
Offline
Member
Member

Joined: Wed Oct 20, 2021 6:00 pm
Posts: 102
Location: Paraguay
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.

Oh, this is just exaggeration, sorry. I can display text as usual.


Top
 Profile  
 
 Post subject: Re: Err... Text cursor doesn't appear in long mode?
PostPosted: Thu Oct 21, 2021 2:01 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
NeonLightions wrote:
Here is my source tree:

I meant the actual sources, like a link to Github or something.
NeonLightions wrote:
I'm sorry but what is that?

As neon said, I just meant are you successfully displaying text.

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.

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: Err... Text cursor doesn't appear in long mode?
PostPosted: Thu Oct 21, 2021 3:40 am 
Offline
Member
Member

Joined: Wed Oct 20, 2021 6:00 pm
Posts: 102
Location: Paraguay
klange wrote:
NeonLightions wrote:
Here is my source tree:

I meant the actual sources, like a link to Github or something.
NeonLightions wrote:
I'm sorry but what is that?

As neon said, I just meant are you successfully displaying text.

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.


Okay, here is my repo: https://github.com/NeonLightions/NewOS
Please help me (don't mind the i386 folder, it's just a test)


Top
 Profile  
 
 Post subject: Re: Err... Text cursor doesn't appear in long mode?
PostPosted: Thu Oct 21, 2021 3:45 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
NeonLightions 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)

https://github.com/NeonLightions/NewOS/ ... minal.c#L7
Try setting the foreground to white when you clear?

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: Err... Text cursor doesn't appear in long mode?
PostPosted: Thu Oct 21, 2021 6:32 am 
Offline
Member
Member

Joined: Wed Oct 20, 2021 6:00 pm
Posts: 102
Location: Paraguay
klange wrote:
NeonLightions 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)

https://github.com/NeonLightions/NewOS/ ... minal.c#L7
Try setting the foreground to white when you clear?

Nope, it's useless


Top
 Profile  
 
 Post subject: Re: Err... Text cursor doesn't appear in long mode?
PostPosted: Thu Oct 21, 2021 7:18 am 
Offline
Member
Member

Joined: Wed Oct 20, 2021 6:00 pm
Posts: 102
Location: Paraguay
klange wrote:
NeonLightions 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)

https://github.com/NeonLightions/NewOS/ ... minal.c#L7
Try setting the foreground to white when you clear?

It's working right now. I just realized that the text cursor didn't show because of clrscr() function. Thank you for your help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 73 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group