Search found 63 matches
- Tue Oct 26, 2010 9:23 pm
- Forum: News Discussion
- Topic: OSDev Series Chapter 23
- Replies: 21
- Views: 128016
Re: OSDev Series Chapter 23
Hi Mike, We need to improve this: file: DebugDisplay.cpp context code: void DebugUpdateCur(int x, int y) code: #if 0 .... #end if 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...
- Tue Oct 26, 2010 6:11 pm
- Forum: C and C++
- Topic: Getting PA of a structure/inside a class
- Replies: 4
- Views: 38475
Getting PA of a structure/inside a class
I have implemented the following code with a ASM file inside my project... but I would like to use your way... it is more easy to keep track... The Case: I'm building my own OS with C++, based in "classes"/not linear C... however, when I need to some low-level instructions, I have included "in proje...
- Mon Oct 11, 2010 10:53 pm
- Forum: News Discussion
- Topic: OSDev Series Chapter 23
- Replies: 21
- Views: 128016
Re: OSDev Series Chapter 23
Thanks man...
- Mon Oct 11, 2010 3:29 pm
- Forum: News Discussion
- Topic: OSDev Series Chapter 23
- Replies: 21
- Views: 128016
Re: OSDev Series Chapter 23
I guess we don't need IVT anymore, while we are in protected mode. (And it is [0x00 - 0x3FF] region of memory). You can set it as in use, but think before: will you use it? The only BIOS area that lefts untouchable - Extra Bios Data Region and ROM area (because type of that regions is Reserved, so ...
- Mon Oct 11, 2010 11:26 am
- Forum: News Discussion
- Topic: OSDev Series Chapter 23
- Replies: 21
- Views: 128016
Re: OSDev Series Chapter 23
its seems to me that is a bug, since a 8 block is represented by a byte... and it works fine in any fashion because we haven't much use of memory. But it seems that you are right and should be 0xFF On dealing with BIOS region, why Mike sets it as a free blocks of memory? it's not supposed to be mark...
- Sun Oct 10, 2010 10:44 pm
- Forum: News Discussion
- Topic: OSDev Series Chapter 23
- Replies: 21
- Views: 128016
Re: OSDev Series Chapter 23
Hi, Mike (again) ---input--- my system has 128 Mb ---/input--- About your "pmmngr_init" -1. You set table 768 to point to 0x100000 (phys); -2. You copy the kernel to the very first byte of that table (let's call it head) down to len(kernel) (let's call it tail) and 16896 bytes long... -3. Jump to Ke...
- Fri Oct 08, 2010 12:45 am
- Forum: News Discussion
- Topic: OSDev Series Chapter 23
- Replies: 21
- Views: 128016
Re: OSDev Series Chapter 23
You mean, the descriptor bit (GDT), right? (am I right?) You set it to 1, then the indexes are multiplied by 4k Thus, Available for System =0 Global Page=0 Page Table Attribute Index=0 Dirty=0 Accessed=0 Cache Disabled=0 Write-through=0 User/Supervisor=0 R/W=1 present=1 address * 4k (it makes sense....
- Thu Oct 07, 2010 8:52 am
- Forum: News Discussion
- Topic: OSDev Series Chapter 23
- Replies: 21
- Views: 128016
Re: OSDev Series Chapter 23
You are absolutely right... (I was doing the calculation visually, and tired, I did it badly ...)
...and what about the index. Are they multiplied by 4k?
...and what about the index. Are they multiplied by 4k?
- Wed Oct 06, 2010 8:05 pm
- Forum: News Discussion
- Topic: OSDev Series Chapter 23
- Replies: 21
- Views: 128016
Re: OSDev Series Chapter 23
++-----------------------------Address || || +-----------------Available for System || | +---------------Global Page ++ | | / \ | |+--------------Page Table Attribute Index / \ | ||+-------------Dirty / \ | |||+------------Accessed / \ | ||||+-----------Cache Disabled / \ | |||||+----------Write-th...
- Sat May 01, 2010 8:44 pm
- Forum: News Discussion
- Topic: Chapter 22: File Systems and the VFS
- Replies: 12
- Views: 86171
Re: Chapter 22: File Systems and the VFS
Hello my hero!
Please, consider this:
On demo22; in project=Fat12; mouse right-click; choose "Properties"; in Configuration Properties->C/C++->Additional Include Directory; change from physical to relational paths;
From: c:\xx\yy\kernel; to ..\kernel; ..\include
Please, consider this:
On demo22; in project=Fat12; mouse right-click; choose "Properties"; in Configuration Properties->C/C++->Additional Include Directory; change from physical to relational paths;
From: c:\xx\yy\kernel; to ..\kernel; ..\include
- Wed Apr 14, 2010 4:06 pm
- Forum: Beginning OS Development
- Topic: Demo 15 Problem
- Replies: 25
- Views: 71039
Re: Demo 15 Problem
Oops, is asking me for the upgrade...
...and on the first compilation (just after the upgrade) it works fine
...then, on second compilation, and without any change, it crash!!!
I'm using the Visual Studio 2008 with Visual C++ 2008 Professional Edition...
...and on the first compilation (just after the upgrade) it works fine
...then, on second compilation, and without any change, it crash!!!
I'm using the Visual Studio 2008 with Visual C++ 2008 Professional Edition...
- Sun Oct 11, 2009 9:00 pm
- Forum: News Discussion
- Topic: OSDev Series Chapter 21
- Replies: 3
- Views: 46615
Re: OSDev Series Chapter 21
Thanks. As you know, I'm checking your website, precisely, every single day!!! (and this is, absolutely, a huge achievement)
One question: Your example codes are incremental projects?
One question: Your example codes are incremental projects?
- Fri Oct 09, 2009 5:48 pm
- Forum: Beginning OS Development
- Topic: Demo 15 Problem
- Replies: 25
- Views: 71039
Re: Demo 15 Problem
No. Only this 3 line of NOP... just to find a way to freeze at this precisely location...
(And, this simple change was a reaction to the problem)
(And, this simple change was a reaction to the problem)
- Fri Oct 09, 2009 10:00 am
- Forum: Beginning OS Development
- Topic: Demo 15 Problem
- Replies: 25
- Views: 71039
Re: Demo 15 Problem
I have found a way to examine exactly what is wrong. I realize that the compilation of second time is completely different... I used my FileMerge.app to see the differences of the dump files (just from the 3 nop added) I will try to exposed some of the differences... This is equal: (0).[8928562] [0x...
- Fri Oct 09, 2009 9:24 am
- Forum: Beginning OS Development
- Topic: Demo 15 Problem
- Replies: 25
- Views: 71039
Re: Demo 15 Problem
... _asm nop ;just to freeze from here... _asm nop _asm nop kkybrd_install(33); //! install the keyboard to IR 33, uses IRQ 1 flpydsk_set_working_drive(0); //! set drive 0 as current drive flpydsk_install(38); //! install floppy disk to IR 38, uses IRQ 6 } I add this 3 NOP just to freeze the bochs ...