OSDev.org

The Place to Start for Operating System Developers
It is currently Fri May 03, 2024 3:32 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: text mode
PostPosted: Tue Jun 03, 2003 1:14 pm 
is is possible to write to a000:0000 in text mode and have the pixel change color or can you only write to the screen with the address b800:0000?

can you do both at the same time?


Top
  
 
 Post subject: Re:text mode
PostPosted: Tue Jun 03, 2003 1:30 pm 
Offline
Member
Member
User avatar

Joined: Fri Oct 22, 2004 11:00 pm
Posts: 1076
slacker wrote:
is is possible to write to a000:0000 in text mode and have the pixel change color or can you only write to the screen with the address b800:0000?

can you do both at the same time?


you cant write to A000:0000 in text mode (the memory is locked, you can with tricks unlock it and make it useable. my bootloader used a trick to unlock the extra 128kb memory and store itself there so all base memory was free to load a kernel anywher!)

basically if your in text mode its 0xB800, if your in a graphic mode its 0xA000

_________________
-- Stu --


Top
 Profile  
 
 Post subject: Re:text mode
PostPosted: Tue Jun 03, 2003 1:35 pm 
you can access that memory only if you set graphic mode, just then you will put graphic pixel there...


Top
  
 
 Post subject: Re:text mode
PostPosted: Wed Jun 04, 2003 1:23 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
note that you can also do some very curious things like splitting your screen (horizontally only, though) and have a half in graphic mode and another half in text mode. This has been used in some PC demo ages ago ... not very clean, not very standard (just tricks around the VGA architecture) and sometimes doesn't work on some screens ... but possible nonetheless...

_________________
Image May the source be with you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: 8infy, Bing [Bot], Google [Bot], SemrushBot [Bot] and 44 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