| It is currently Sat May 18, 2013 1:41 pm |
|
All times are UTC |
Moderator: Moderators
|
Page 2 of 2 |
[ 22 posts ] | Go to page Previous 1, 2 |
| Print view | Previous topic | Next topic |
| Author | Message |
|---|---|
|
Site Admin Joined: Sat Oct 20, 2007 7:58 pm Posts: 454 |
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 |
|
|
Joined: Wed Jul 22, 2009 6:44 am Posts: 63 |
Thanks man...
_________________ _____________ Think it, build it, bit by bit... |
| Mon Oct 11, 2010 10:53 pm |
|
|
Joined: Wed Jul 22, 2009 6:44 am Posts: 63 |
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 |
|
|
Joined: Sun Feb 15, 2009 8:49 pm Posts: 30 Location: Kyiv, Ukraine |
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 |
|
|
Joined: Wed Jul 22, 2009 6:44 am Posts: 63 |
It was what I did!
_________________ _____________ Think it, build it, bit by bit... |
| Wed Oct 27, 2010 8:12 am |
|
|
Joined: Sun Feb 15, 2009 8:49 pm Posts: 30 Location: Kyiv, Ukraine |
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 |
|
|
Joined: Wed Jul 22, 2009 6:44 am Posts: 63 |
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 |
|
|
Page 2 of 2 |
[ 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 |