Search found 92 matches
- Sun Jun 20, 2010 8:57 pm
- Forum: General Programming
- Topic: OS Development Series code question
- Replies: 34
- Views: 159332
Re: OS Development Series code question
In don't know if it's a common error, but trying to read a txt file from the floppy hangs my test system, while the tutorial works flawlessly in VPC. This is with chapter 22. I thought; maybe I did something wrong, I.E. modified the wrong section of code, so I took an unmodified chapter 21 (yes, the...
- Fri Jun 18, 2010 12:10 pm
- Forum: Software Engineering
- Topic: Software
- Replies: 7
- Views: 58639
Re: Software
I use:
Cygwin (To compile OpenXDK apps)
NASM (assembly)
NDisasm (disassembly)
Microsoft Visual Studio Professional 2005-2008
Crimson Editor (now Emerald Editor, search on Sourceforge if you'd like to know more)
Notepad (yes, I use that one too)
VirtualPC
Cygwin (To compile OpenXDK apps)
NASM (assembly)
NDisasm (disassembly)
Microsoft Visual Studio Professional 2005-2008
Crimson Editor (now Emerald Editor, search on Sourceforge if you'd like to know more)
Notepad (yes, I use that one too)
VirtualPC
- Fri Jun 18, 2010 12:01 pm
- Forum: Beginning OS Development
- Topic: How many people are working on the Neptune OS project?
- Replies: 7
- Views: 23092
Re: How many people are working on the Neptune OS project?
This may be a silly question, but, why do you want to know this?
Sure, the same thought has crossed my mind, but I didn't feel like asking, since it would be none of my business anyway.
Sure, the same thought has crossed my mind, but I didn't feel like asking, since it would be none of my business anyway.
- Tue Jun 15, 2010 10:58 pm
- Forum: Beginning OS Development
- Topic: IRQ question
- Replies: 7
- Views: 20826
Re: IRQ question
no the interrupt doesn't need to be set. to simulate a clock you could read from the RTC at startup, then use the PIT to increment the value. I've decided to ditch the irq handler for the RTC and read the values directly whenever I need. Also, I check for the BCD flag and modify the returned variab...
- Tue Jun 15, 2010 9:22 am
- Forum: General Programming
- Topic: OS Development Series code question
- Replies: 34
- Views: 159332
OS Development Series code question
I've been going through the code provided in the tutorials, not only to learn, but also to eliminate those pesky warnings (I like warnings as much as errors) and I can't help but wonder why functions like isascii() are defined twice, with a different body.
- Wed Jun 09, 2010 11:11 pm
- Forum: C and C++
- Topic: Visual C++ compiling help
- Replies: 22
- Views: 105564
Re: Visual C++ compiling help
That's weird, I don't recall being forced to define a size for an array at compile time while declaring it like, for example char array[]; Though, if I'm correct, variable length arrays are a language extension that needs to be enabled if you want to use it. Seems I have them enabled by default, sin...
- Wed Jun 09, 2010 6:36 pm
- Forum: C and C++
- Topic: Visual C++ compiling help
- Replies: 22
- Views: 105564
Re: Visual C++ compiling help
Correct me if I'm wrong, but under normal circumstances, an array is a pointer to a range of contiguous memory, so the notion of a pointer in the error message is correct. As such, if you want to return an array from a function, you should write it as returning a pointer. And you don't necessarily n...
- Wed Jun 09, 2010 6:13 pm
- Forum: Beginning OS Development
- Topic: IRQ question
- Replies: 7
- Views: 20826
Re: IRQ question
I've been reading through the articles, and I have a question; do I need to set an interrupt to use the RTC? Or would it be sufficient to read the RTC once, and increment the recieved data to simulate a clock? Also, I've read about the NMI's and I'm thinking of designing a handler for those, since i...
- Tue Jun 08, 2010 3:38 pm
- Forum: Beginning OS Development
- Topic: Is there any general list with CPU registers?
- Replies: 2
- Views: 11747
Re: Is there any general list with CPU registers?
http://www.jegerlehner.ch/intel/IntelCodeTable.pdf Has a large list of ASM commands and registers. I personally use it as a reference whenever I need to code something in ASM. About the registers... they are only shown for reference, they aren't really explained in the file, so I'll do that here. Th...
- Mon Jun 07, 2010 9:56 pm
- Forum: Beginning OS Development
- Topic: IRQ question
- Replies: 7
- Views: 20826
IRQ question
Hi, I've been searching around the web for some method to read from the RealTime Clock. The code I found uses the RTC IRQ, which is 8, or 40, after remapping. Anyways, I set a handler for it using setvect, and it simply won't fire. I've read somewhere that I might be required to unmask the IRQ, or s...
- Sun Jun 06, 2010 9:20 pm
- Forum: Beginning OS Development
- Topic: How do you really get started with OS development?
- Replies: 24
- Views: 54710
Re: How do you really get started with OS development?
Did you use PartCopy to copy the boot1.bin file to the first sectorn of the ISO file as Andyhhp asked?
Like Andy said, you need your boot1.bin to be in the first sector of the ISO for it to work.
Like Andy said, you need your boot1.bin to be in the first sector of the ISO for it to work.
- Fri Jun 04, 2010 7:10 pm
- Forum: Beginning OS Development
- Topic: Understanding the loading of stage2
- Replies: 5
- Views: 17723
Re: Understanding the loading of stage2
Try and open the boot1.bin file on your floppy with a hex editor, and see if you can find the "My OS " and the "MOS FLOPPY " strings. If you can't find those and only see some gibberish, it means the bootloader was not copied to the floppy correctly. My bootloader boots fine on real hardware as well...
- Mon May 31, 2010 5:34 pm
- Forum: Beginning OS Development
- Topic: How do you really get started with OS development?
- Replies: 24
- Views: 54710
Re: How do you really get started with OS development?
I guess you want a more in-depth explanation of the functions used? If so, tell us which function you'd like to know more about, and we'll try to explain it. However, most functions are self explanatory; their name says it all, in most cases. Assembly, and the code in the bootloaders is rather compl...
- Fri May 28, 2010 10:49 pm
- Forum: Beginners
- Topic: virtual memory
- Replies: 33
- Views: 192770
Re: virtual memory
Yay! It's alive
Thanks for the fix, Mike.
Thanks for the fix, Mike.
- Fri May 28, 2010 9:19 am
- Forum: Beginners
- Topic: virtual memory
- Replies: 33
- Views: 192770
Re: virtual memory
Hi, pathos , A bit of calculating tells me that 0x1000 is 4KB in memory. Now, I'm not quite sure about this, but, can we freely access the memory below where the kernel is mapped? (1 MB) If we can't, it immediately explains why the DMA doesn't work. In that case we need to remap the DMA buffer to so...