Search found 34 matches
- Fri Jan 14, 2011 2:19 am
- Forum: Beginning OS Development
- Topic: 0xFFFFF
- Replies: 2
- Views: 10238
Re: 0xFFFFF
You will need to understand both the hexidecimal system and the binary system before you can do really any kind of programming. The hexidecimal system is popular because of how every two digits equals another byte. (For example 0xFF is 255, the maximum value of a byte) The hexidecimal (and the binar...
Re: NASM
Try using a full address (starting with the drive ID). That should make it more 'fool proof'.
- Sat Jan 08, 2011 1:35 am
- Forum: General Questions
- Topic: Using code from the series in a P.D. OS
- Replies: 2
- Views: 39203
Re: Using code from the series in a P.D. OS
Try making your own bootloader. It is a good learning experiance and not too difficult. Then you wouldn't have to worry about legal issues.
- Wed Jan 05, 2011 10:51 pm
- Forum: Beginners
- Topic: simple question
- Replies: 3
- Views: 36676
Re: simple question
Instead of virtualization, try fomatting a usb device as a floppy disk. My emulator recognizes it as a floppy disk. It is very easy and no problems.
- Sat Jan 01, 2011 3:57 pm
- Forum: Beginning OS Development
- Topic: User mode not working--Please HELP!!--
- Replies: 4
- Views: 14227
Re: User mode not working--Please HELP!!--
I'm sure Mike's code has this but here are a few things to look for:
Is the ring 3 code running in a user page?
Is the RPL 3?
Are you executing any privileged instructions?
If these aren't the problems, post the code that causes the fault.
Is the ring 3 code running in a user page?
Is the RPL 3?
Are you executing any privileged instructions?
If these aren't the problems, post the code that causes the fault.
- Tue Dec 28, 2010 3:44 pm
- Forum: Beginning OS Development
- Topic: PIT frequency problem
- Replies: 5
- Views: 14331
Re: PIT frequency problem
I was for some reason thinking that 1hz was faster than 100hz.
- Tue Dec 28, 2010 3:42 pm
- Forum: Beginning OS Development
- Topic: PIT frequency problem
- Replies: 5
- Views: 14331
Re: PIT frequency problem
The hardware is limited. I completely forgot about that. I checked and my code runs at 100hz and works at 1000hz fine. I got the numbers backwards.
- Tue Dec 28, 2010 2:28 am
- Forum: Beginning OS Development
- Topic: PIT frequency problem
- Replies: 5
- Views: 14331
Re: PIT frequency problem
I am not very familiar with Bochs (I use an actual computer for testing) but it may be that the emulated timer is limited to 100hz. Remember that the processor is time-multiplexed so Bochs only has a small fraction of the total processor time. The timer could be limited because of that and only reci...
- Thu Dec 23, 2010 4:01 pm
- Forum: General Questions
- Topic: Graphics 2
- Replies: 1
- Views: 36555
Graphics 2
When will the next graphics chapter be released. The first one was good and I am looking forward to VBE and high resolutions.
- Tue Dec 21, 2010 6:22 pm
- Forum: General Questions
- Topic: The Visual Studio file
- Replies: 2
- Views: 39964
Re: The Visual Studio file
I orginally started in VS2008 which is more or less the same as VS2005. When I decided to move everything to VS2010 (using the built-in converter) everything worked the exact same. Not a single glitch. 2010 works better so it is worth-while to use that over the previous versions.
- Wed Dec 15, 2010 11:31 pm
- Forum: C and C++
- Topic: Irritating Error...
- Replies: 11
- Views: 68272
Re: Irritating Error...
You need to back up your code after every coding session. I have my OS backed up in several different locations so it is safe.
The routine looks nice, good job. It would be great for a start-up screen. For a great effect, try having it put out block letters for a title.
The routine looks nice, good job. It would be great for a start-up screen. For a great effect, try having it put out block letters for a title.
- Wed Dec 08, 2010 1:16 am
- Forum: News Discussion
- Topic: This site has been discontinued?
- Replies: 10
- Views: 92835
Re: This site has been discontinued?
Without this site, my kernel would still be a big messy pile of assembly. I never even thought it was possible to have MSVC compile to straight binary.
- Sun Nov 21, 2010 7:36 pm
- Forum: Beginning OS Development
- Topic: saving a file in fat12
- Replies: 1
- Views: 8491
Re: saving a file in fat12
I can't give you a procedure but a fairly simple way to do it would be to on saving: 1. Compute the size of the file (this should be easy) 2. Set all of the FAT entries that the file currently occupies and clean out the equivelent entries in the Data Region 3. Search through the FAT and reserve any ...
- Sun Nov 21, 2010 7:15 pm
- Forum: Beginning OS Development
- Topic: which operations need "motor on" at floppy disk device?
- Replies: 2
- Views: 10248
Re: which operations need "motor on" at floppy disk device?
Anything that moves something on the floppy disk.
- Sun Nov 21, 2010 7:14 pm
- Forum: Beginning OS Development
- Topic: whats the difference between 0xFF8 - 0xFFF in FAT12
- Replies: 4
- Views: 13513
Re: whats the difference between 0xFF8 - 0xFFF in FAT12
It all has to do with horrible planning in the past. Its like having the A20 gate in the keyboard controller.