hi mike
why you initialize vmmngr before pmmngr? (in vmmngr initialize routine you use pmmngr alloc function)
-------
i use old kernel loader for loading kernel and initialize vmmngr after pmmngr then i doesn't have any problem with memory!!!
Search found 15 matches
- Mon Feb 15, 2010 7:48 am
- Forum: Beginning OS Development
- Topic: vmmgr initialization questions
- Replies: 2
- Views: 16433
- Sat Feb 06, 2010 11:18 am
- Forum: Beginning OS Development
- Topic: vesa programming in pmode
- Replies: 2
- Views: 17419
vesa programming in pmode
hi
how can i use vesa in pmode?
and have anybody tutorials or articles for working with it?
how can i use vesa in pmode?
and have anybody tutorials or articles for working with it?
- Fri Dec 04, 2009 11:20 am
- Forum: Beginning OS Development
- Topic: negative used blocks with vmware in demo 11
- Replies: 11
- Views: 49560
Re: negative used blocks with vmware in demo 11
i found problem:
vmware return wrong amount of memory, it's always 2MB less than real memory, for ex:
64MB --> returned 62MB
vmware return wrong amount of memory, it's always 2MB less than real memory, for ex:
64MB --> returned 62MB
- Sun Nov 22, 2009 7:54 am
- Forum: Beginning OS Development
- Topic: negative used blocks with vmware in demo 11
- Replies: 11
- Views: 49560
Re: negative used blocks with vmware in demo 11
man, the problem could be in you printf. see, itoas function returns signed numbers, you may change it (or create copy of that) just for unsigned values. I had the same problem when number of blocks was negative, but solving of that problem is changing printf function and some changes in memory bas...
- Thu Oct 15, 2009 9:03 pm
- Forum: Beginning OS Development
- Topic: Demo 11 -wrong memory size
- Replies: 1
- Views: 13204
Re: Demo 11 -wrong memory size
problem is only in the vmware,
in bochs, returned memory is true
in bochs, returned memory is true
- Thu Oct 15, 2009 6:43 pm
- Forum: Beginning OS Development
- Topic: Demo 11 -wrong memory size
- Replies: 1
- Views: 13204
Demo 11 -wrong memory size
hi
in demo 11, memory size is alway 2MB less than real memory size. for example:
System Memory is : 512
returned memory size: 510
in demo 11, memory size is alway 2MB less than real memory size. for example:
System Memory is : 512
returned memory size: 510
- Thu Aug 06, 2009 2:57 pm
- Forum: Beginning OS Development
- Topic: problem in demo 8
- Replies: 14
- Views: 62174
Re: problem in demo 8
how can i solve it?A side effect of this is that you can't have any local variables in a naked function.
- Thu Aug 06, 2009 9:39 am
- Forum: Beginning OS Development
- Topic: %s and printf
- Replies: 2
- Views: 16633
Re: %s and printf
i am workin on Demo6 and i use it for other tutors( like as pic and pit). and i cant get cpu vendor. it test it with another char* but it dosnt work
- Wed Aug 05, 2009 4:22 pm
- Forum: Beginning OS Development
- Topic: %s and printf
- Replies: 2
- Views: 16633
%s and printf
hi
%s dont work in printf function
%s dont work in printf function
- Wed Aug 05, 2009 4:18 pm
- Forum: Beginning OS Development
- Topic: problem in demo 8
- Replies: 14
- Views: 62174
Re: problem in demo 8
Andyhhp:
thanks, how can i resolve this problem
thanks, how can i resolve this problem
- Sat Jul 25, 2009 7:23 am
- Forum: Beginning OS Development
- Topic: problem in demo 8
- Replies: 14
- Views: 62174
Re: problem in demo 8
The problem is solved! I modified the code to void _declspec (naked) i86_pit_irq () { _asm pushad //! increment tick count _pit_ticks++; //! tell hal we are done interruptdone(0); _asm popad _asm iretd } this is very good. how can i get extra information in this method? what is "_declspec (naked)" ...
- Sat Jul 25, 2009 7:00 am
- Forum: Beginning OS Development
- Topic: problem in demo 8
- Replies: 14
- Views: 62174
Re: problem in demo 8
my soulition for pic and pit interrupts: void _cdecl pit_irq () { _asm add esp, 16 _asm pushad //! increment tick count g_uPitTicks++; //! tell hal we are done ahalInterruptDone(0); _asm popad _asm iretd } and for software interrupts: void vec34(void) { _asm add esp, 12 _asm pushad printf("interrupt...
- Sun Jul 12, 2009 2:45 am
- Forum: Beginning OS Development
- Topic: compailing tutorials in linux
- Replies: 5
- Views: 28370
Re: compailing tutorials in linux
hi
tnx for ur helps
can u show me how to do it?
for example:
gcc ......
and how can i simulate floopy drive in linux ( like as vfd in windows)
tnx for ur helps
can u show me how to do it?
for example:
gcc ......
and how can i simulate floopy drive in linux ( like as vfd in windows)
- Wed Jun 24, 2009 9:09 am
- Forum: Beginning OS Development
- Topic: compailing tutorials in linux
- Replies: 5
- Views: 28370
compailing tutorials in linux
hi
how can i compaile tutorials in linux and execute them, i haven't floppy disk, under windows i am using VFDWin but in linux i cant find a program like that.
how can i compaile tutorials in linux and execute them, i haven't floppy disk, under windows i am using VFDWin but in linux i cant find a program like that.
- Mon Jun 22, 2009 5:36 pm
- Forum: Beginning OS Development
- Topic: loading fonts in text mode
- Replies: 1
- Views: 14138
loading fonts in text mode
hi
how can i load my own fonts in text mode? (for example i want change font of a char )
how can i load my own fonts in text mode? (for example i want change font of a char )