Search found 34 matches
- Sun Nov 21, 2010 7:10 pm
- Forum: Beginning OS Development
- Topic: compute next cluster
- Replies: 9
- Views: 53953
Re: compute next cluster
Basically, consider each cluster to be 1 byte (because according to the code it is). Each cluster is 1.5 bytes. To get from 1 to 1.5, multiply by 1.5. The only problem is that this involves decimals in which there is no support for. So, by multiplying by three and dividing by two, the same result is...
- Sun Nov 21, 2010 7:06 pm
- Forum: Beginning OS Development
- Topic: help needed - routine for reading product string from cpuid
- Replies: 3
- Views: 11757
Re: help needed - routine for reading product string from cpuid
Your problem is actually a lot more complex than you may think. It has to do with the stack. You are returning a pointer to a string declared on the method stack. When you return from this method, the string is deleted from the stack and the pointer points to nothing. To solve this issue (it's actua...
- Sun Nov 21, 2010 6:56 pm
- Forum: News Discussion
- Topic: Graphics 1 Chapter has been released
- Replies: 6
- Views: 56205
Re: Graphics 1 Chapter has been released
Ecoboy, what I did for filesystems is base off of the Windows file system method. So I have CD and DIR. OS DEV WIKI has some good references to the FAT filesystem (the main series has good ones too). For sound, I would look into PCI first. It is actually fairly simple. There are only two registers f...
- Sun Nov 21, 2010 6:46 pm
- Forum: News Discussion
- Topic: Graphics 1 Chapter has been released
- Replies: 6
- Views: 56205
Re: Graphics 1 Chapter has been released
This is a little off topic but how do you enter V86 mode. I want to implement automatic shutdown but in order to do so, I want to us the real mode APM interface (accessible through APM). I have tried before but it has always resulted in an immediate triple fault.