Search found 63 matches
- Thu Jun 09, 2011 1:22 am
- Forum: Beginning OS Development
- Topic: Kernel size problem
- Replies: 23
- Views: 101173
Re: Kernel size problem
I found what seems to be the problem... Here is the instruction line: this one works fine: small kernel (0) [0x0000000000103e29] 0008:00000000c0003e29 (unk. ctxt): mov dword ptr ds:0xc000d140, 0x00005000 ; c70540d100c000500000 this one don't works: bigger kernel (0) [0x0000000000105fd9] 0008:0000000...
- Tue Jun 07, 2011 12:22 pm
- Forum: Beginning OS Development
- Topic: tut23 - User Land
- Replies: 2
- Views: 13533
tut23 - User Land
Hi, I need a small explanation about this chapter... more about your insight about running code on user land.. on machine point of view 01) user type 'user' 02) -There is GDT entry 5, pointing to TSS structure 03) -TSS: some fields are pointing to kernel (code and data) with rpl=3 04) -TSS: ss0 and ...
- Thu Jun 02, 2011 8:26 pm
- Forum: Beginning OS Development
- Topic: Kernel size problem
- Replies: 23
- Views: 101173
Re: Kernel size problem
There is no such implementation! this randon behaviour come out with simple inclusion of a simple function (any kind)??? If you reduce the code, it works.... if add a simple function, for example, to print one byte on screen... void printA() { _mov es:[0xb8000], 'a' } its enough to make it crash...
- Thu Jun 02, 2011 9:05 am
- Forum: Beginning OS Development
- Topic: Kernel size problem
- Replies: 23
- Views: 101173
Re: Kernel size problem
I can't get anything from here... (0) [0x00000000fffffff0] f000:fff0 (unk. ctxt): jmp far f000:e05b ; ea5be000f0 <bochs:1> c 00000003305i[BIOS ] $Revision: 1.257 $ $Date: 2011/01/26 09:52:02 $ 00000200000i[WGUI ] dimension update x=720 y=400 fontheight=16 fontwidth=9 bpp=8 00000318042i[KBD ] reset-d...
- Wed Jun 01, 2011 2:53 pm
- Forum: Beginning OS Development
- Topic: Kernel size problem
- Replies: 23
- Views: 101173
Re: Kernel size problem
in line "(here)"...
...but the real problem is here:
...but the real problem is here:
Code: Select all
void _cdecl InitializeConstructors()
{
_atexit_uint32_t();
_uint32_tterm(__xc_a, __xc_z); (here)
}
- Mon May 30, 2011 10:23 pm
- Forum: Beginning OS Development
- Topic: Kernel size problem
- Replies: 23
- Views: 101173
Re: Kernel size problem
remember that with 53248 bytes (104 sectors of 512 bytes) the same code works just fine...
I'm trying to figure out the reason is crashing...
I'm trying to figure out the reason is crashing...
- Mon May 30, 2011 7:21 pm
- Forum: Beginning OS Development
- Topic: Kernel size problem
- Replies: 23
- Views: 101173
Re: Kernel size problem
it crash exactly here: void fsysFatMount () { //! Boot sector info PBOOTSECTOR bootsector; //! read boot sector bootsector = (PBOOTSECTOR) flpydsk_read_sector (0); //! store mount info _MountInfo.numSectors = bootsector->Bpb.NumSectors; _MountInfo.fatOffset = 1; _MountInfo.fatSize = bootsector->Bpb....
- Mon May 30, 2011 1:00 am
- Forum: Beginning OS Development
- Topic: Kernel size problem
- Replies: 23
- Views: 101173
Re: Kernel size problem
you are right. sorry about that... (something failed pasting the value)
But, as you can see, it is loaded at the free space...
But, as you can see, it is loaded at the free space...
- Sun May 29, 2011 11:26 pm
- Forum: Beginning OS Development
- Topic: Kernel size problem
- Replies: 23
- Views: 101173
Re: Kernel size problem
I see... ...but is not the case (I hope), since I load it to 0x0300:0000 (0x000003000) 0x3000 + 53760 Bytes long (0300:D200) = 0x5D00 (I think this range is free) 0x00000-----> 0x003FF (0000:0000----->0000:03FF) ( 1.024 bytes) - BIOS Data Area (BDA) - IVT 0x00400-----> 0x006FF (xxxx:xxxx----->xxxx:x...
- Sun May 29, 2011 2:11 am
- Forum: Beginning OS Development
- Topic: Kernel size problem
- Replies: 23
- Views: 101173
Re: Kernel size problem
That was what i did... the kernel is fully load into the memory... On disk file, I've changed the very last two bytes... then, after being loaded, this two bytes were found in memory (as expected)! (so, kernel fully loaded)... I'm wondering if is not about the "InitializeConstructors"... I realy don...
- Thu May 26, 2011 8:28 pm
- Forum: Beginning OS Development
- Topic: Kernel size problem
- Replies: 23
- Views: 101173
Re: Kernel size problem
Yap...
- Wed May 25, 2011 6:10 pm
- Forum: Beginning OS Development
- Topic: Kernel size problem
- Replies: 23
- Views: 101173
Kernel size problem
Hi, Following the 'Operating System Development Series', and adding some functions to debug and testing while running... makes, as expected, increase the kernel size... but I verified that at: - 53248 bytes (104 sectors of 512 bytes) - it works! - 53760 bytes (105 sectors of 512 bytes) - it crash! A...
- Sat May 21, 2011 8:07 pm
- Forum: Beginning OS Development
- Topic: Problems/Virtual PC
- Replies: 6
- Views: 43611
Problems/Virtual PC
Hi, I'm facing a little problem... On Bocsh, VMWare (Fusion and Player), Parallels, etc it works just fine... but in Virtual PC generates a 'bad parameters sent to the driver'... Here is a little background: -Loading ROOT works fine in all (including Virtual PC) -When I try to load FAT works fine in...
- Sat Apr 30, 2011 4:40 pm
- Forum: General Questions
- Topic: Is there anybody in there?
- Replies: 3
- Views: 43328
Re: Is there anybody in there?
Ok, Mike
thanks...
thanks...
- Sat Apr 30, 2011 11:11 am
- Forum: General Questions
- Topic: Is there anybody in there?
- Replies: 3
- Views: 43328
Is there anybody in there?
Hello?
Is there anybody in there?
Just nod if you can hear me.
Is there anyone at home?
Come on, now....
Relax, relax, relax
I need some information first.
Just the basic facts.
I miss you, Mike!!!!
How I wish, how I wish you were here.
Is there anybody in there?
Just nod if you can hear me.
Is there anyone at home?
Come on, now....
Relax, relax, relax
I need some information first.
Just the basic facts.
I miss you, Mike!!!!
How I wish, how I wish you were here.