Search found 92 matches

by halofreak1990
Tue Mar 04, 2014 9:49 pm
Forum: Beginning OS Development
Topic: MS VPC Issue
Replies: 8
Views: 12044

Re: MS VPC Issue

include but may not be limited to scheduling, multi-threading, introduction to MP systems, init and idle process, shared resources, mutual exclusion, concurrent programming, security, and kernel shared data.

Sounds good, mike. Nice to hear you're still working on this great series.
by halofreak1990
Sun Dec 22, 2013 6:36 pm
Forum: Beginning OS Development
Topic: MS VPC Issue
Replies: 8
Views: 12044

Re: MS VPC Issue

I guess everyone's kind of waiting for mike to put up the next chapter and doesn't want to 'pollute' the forums with random discussions.
by halofreak1990
Tue Nov 26, 2013 8:21 pm
Forum: General Questions
Topic: Access byte in GDT - chapter 8
Replies: 2
Views: 7836

Re: Access byte in GDT - chapter 8

utsav_popli wrote:access bit 7 (bit 47 of descriptor ) says: it should be set to 0 if we are not using virtual mode
But we are setting this bit, why ?

db 10011010b ; access

You basically answered your own question; We're going to run in virtual mode, so the bit needs to be set.
by halofreak1990
Tue Nov 26, 2013 8:20 pm
Forum: Beginners
Topic: replacement for vfd and partcopy on vista x64
Replies: 5
Views: 28484

Re: replacement for vfd and partcopy on vista x64

Personally, I use a hex editor to put the bootsector on a floppy disk.
Gives me total control over what's written and what not.

A good, free hex editor is HxD, which I personally use for, among others, the aforementioned purpose.
by halofreak1990
Mon Feb 25, 2013 10:04 pm
Forum: News Discussion
Topic: Chapter 24: Process Management Initial Release
Replies: 16
Views: 94749

Re: Chapter 24: Process Management Initial Release

Sorry to just repeat the others, but... Any E.T.A. on the next chapter, or the current chapter's demo?
by halofreak1990
Mon Oct 29, 2012 2:25 pm
Forum: Beginning OS Development
Topic: Bootloader instructions help
Replies: 3
Views: 8436

Re: Bootloader instructions help

Hello i don't understand why we need to disable interrupts(with cli), i thought using hlt(to halt the cpu would be enough). In addition why do we need to null ds and es? hlt halts the processor until the next interrupt See why we need to disable interrupts? If we wouldn't use cli, then the cpu woul...
by halofreak1990
Tue Aug 14, 2012 6:13 pm
Forum: Beginning OS Development
Topic: Some silly FAT32 question
Replies: 7
Views: 12710

Re: Some silly FAT32 question

Well, I haven't done any FAT32 programming either, but as far as I've read it, FAT12, FAT16 and FAT32 all share the same directory/file structures.
The (optional) FAT32 long file names are implemented using specially crafted directory entries. Wikipedia has some info on that, too.
by halofreak1990
Tue Aug 14, 2012 10:01 am
Forum: Beginning OS Development
Topic: Some silly FAT32 question
Replies: 7
Views: 12710

Re: Some silly FAT32 question

Your assumption for the FAT offset in the tutorials is correct. Most floppies have only one reserved sector. But to be certain, you could, of course assign fatOffset to be the value of bootsector->Bpb.ReservedSectors As for FAT32, I believe http://en.wikipedia.org/wiki/File_Allocation_Table#BPB has ...
by halofreak1990
Sat Aug 11, 2012 10:24 am
Forum: News Discussion
Topic: Chapter 24: Process Management Initial Release
Replies: 16
Views: 94749

Re: Chapter 24: Process Management Initial Release

I recently migrated my code from Visual Studio 2005 to Visual Studio 2010, and now I get these undefined references: unresolved external symbol _exit referenced in function "void __cdecl kernel_entry(struct multiboot_info *)" (?kernel_entry@@YAXPAUmultiboot_info@@@Z) SysCore\Kernel\entry.o...
by halofreak1990
Tue Jul 10, 2012 3:00 pm
Forum: Beginning OS Development
Topic: using a non-tutorial bootloader?
Replies: 4
Views: 9556

Re: using a non-tutorial bootloader?

Well now the problem is that I am getting an invalid instruction error? And I am using Visual Studio 2008 professional edition. The switch /align:512 is not recognized by the compiler but im not sure why? Where did you try and put the /ALIGN:512 command? It's supposed to be in the LINKER command-li...
by halofreak1990
Thu Jul 05, 2012 2:20 pm
Forum: Beginning OS Development
Topic: Software to use for windows 7 64 bit OS
Replies: 10
Views: 16695

Re: Software to use for windows 7 64 bit OS

After having some issues with PartCopy on my (32-bit) development PC, I decided to use a Hex Editor to directly write the bootsector to my floppy disk. The hex editor I use is called HxD and is free to download at http://mh-nexus.de/en/hxd/ . An advantage of using the hex editor is that I can see ex...
by halofreak1990
Wed Jun 27, 2012 2:49 pm
Forum: News Discussion
Topic: This site has been discontinued?
Replies: 10
Views: 48658

Re: This site has been discontinued?

No, it's not. Although activity has been exceptionally low in the past few months.

The last post in this thread was, indeed, in 2010, but other threads have seen more recent activity.
It's just that we're basically all waiting for Mike to add the next chapter.
by halofreak1990
Tue May 29, 2012 2:06 pm
Forum: C and C++
Topic: "int," regarding room for optimization
Replies: 3
Views: 22339

Re: "int," regarding room for optimization

I have yet to come across a compiler that looks at variable usage to determine the optimal storage size. However, more often than not, you'll be looking at a Speed/Size trade-off. For example, on a 32-bit processor, 32-bit reads/write are the fastest memory operations- even faster if the addresses a...
by halofreak1990
Sat Apr 21, 2012 11:48 pm
Forum: Beginning OS Development
Topic: higher half kernel and identity-mapping
Replies: 6
Views: 11914

Re: higher half kernel and identity-mapping

Hi, I have queries about memory management and higher half kernels which have been troubling me for quite some time. 1. The tutorial mentions - A Higher Half Kernel is a kernel that has a virtual base address of 2GB or above. My understanding is that if the kernel has virtual addresses V then all t...
by halofreak1990
Fri Apr 13, 2012 8:40 pm
Forum: Beginning OS Development
Topic: Physical Memory Manger
Replies: 4
Views: 9762

Re: Physical Memory Manger

Could you please tell how the kernel size is calculated and why is it multiplied by 512 when passing it to pmm_deinit_region . When the bootloader is reading the kernel into memory, it does that one sector (512 bytes) at a time. It keeps track of the amount of sectors that it read, and passes that ...