BrokenThorn Entertainment - View topic - OSDev Series Chapter 23
It is currently Sat May 18, 2013 1:41 pm




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
OSDev Series Chapter 23 
Author Message
Site Admin
User avatar

Joined: Sat Oct 20, 2007 7:58 pm
Posts: 454
Post Re: OSDev Series Chapter 23
Hello,

You are correct - it should be 0xff not 0xf. You are also correct that the series PMM initialization does not take into consideration data areas between 0-1MB in RAM (IVT,BDA,etc) that can cause possible issues depending on your design and feature set. This is also a bug -- pmmngr_init would prevent this (disregarding the 0xf bug) however main() never takes it into account.

The kernel region is marked as "in use" because it is in use by the kernel itself.

_________________
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com


Mon Oct 11, 2010 10:08 pm
Profile E-mail WWW

Joined: Wed Jul 22, 2009 6:44 am
Posts: 63
Post Re: OSDev Series Chapter 23
Thanks man...

_________________
_____________
Think it, build it, bit by bit...


Mon Oct 11, 2010 10:53 pm
Profile E-mail

Joined: Wed Jul 22, 2009 6:44 am
Posts: 63
Post Re: OSDev Series Chapter 23
Hi Mike,

We need to improve this:

Code:
file: DebugDisplay.cpp
context code: void DebugUpdateCur(int x, int y)
code: #if 0 .... #end if


Code:
Impact:  is causing a malfunction of that function... it never/or sometimes  runs the code inside the IF 0 statement... so the cursor update is not working properly...


Tell me something, please...

_________________
_____________
Think it, build it, bit by bit...


Tue Oct 26, 2010 9:23 pm
Profile E-mail
User avatar

Joined: Sun Feb 15, 2009 8:49 pm
Posts: 30
Location: Kyiv, Ukraine
Post Re: OSDev Series Chapter 23
Just delete that #if 0 ...#endif statement, and the cursor moving will work properly.

_________________
Thinking of great - thinking of little, thinking of little - thinking of great.


Wed Oct 27, 2010 5:28 am
Profile E-mail WWW

Joined: Wed Jul 22, 2009 6:44 am
Posts: 63
Post Re: OSDev Series Chapter 23
It was what I did!

_________________
_____________
Think it, build it, bit by bit...


Wed Oct 27, 2010 8:12 am
Profile E-mail
User avatar

Joined: Sun Feb 15, 2009 8:49 pm
Posts: 30
Location: Kyiv, Ukraine
Post Re: OSDev Series Chapter 23
You mean you have this:
Code:
//! Updates hardware cursor
void DebugUpdateCur (int x, int y)
{
    // get location
    uint16_t cursorLocation = y * 80 + x;

   // send location to vga controller to set cursor
   disable();
    outportb(0x3D4, 14);
    outportb(0x3D5, cursorLocation >> 8); // Send the high byte.
    outportb(0x3D4, 15);
    outportb(0x3D5, cursorLocation);      // Send the low byte.
   enable();


and cursor movement doesn't work properly for you??

_________________
Thinking of great - thinking of little, thinking of little - thinking of great.


Wed Oct 27, 2010 6:36 pm
Profile E-mail WWW

Joined: Wed Jul 22, 2009 6:44 am
Posts: 63
Post Re: OSDev Series Chapter 23
I solved my problem, right from the beginning...
I posted this problem to help other who faces this problem...
(maybe changing master project)

_________________
_____________
Think it, build it, bit by bit...


Wed Oct 27, 2010 11:18 pm
Profile E-mail
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron

Powered by phpBB © phpBB Group.
Original Design by Vjacheslav Trushkin for Free Forums/DivisionCore.
Theme and forum modified by BrokenThorn Entertainment, Co.