Search found 387 matches
- Fri Nov 11, 2011 2:38 am
- Forum: Graphics Programming
- Topic: OS Development: GPU Drivers?
- Replies: 3
- Views: 84497
Re: OS Development: GPU Drivers?
Just to add my comments: 1) And also play "guess what cryptic assumptions the driver makes about memory layout etc" which is arguably an order of magnitude harder than the already challenging "write an OS shim" so the driver thinks it is running on 1 operating system while it is actually running on ...
- Sun Nov 06, 2011 7:28 pm
- Forum: Beginning OS Development
- Topic: Floppy IRQ wont fire
- Replies: 4
- Views: 36553
Re: Floppy IRQ wont fire
That almost certainly will be the problem. During boot, the BIOS will emulate access to the floppy drive via int 0x13. However, when you jump into protected mode, you loose the BIOS support and your USB floppy drive will be a plain regular USB device rather than a floppy device. Therefore, you will ...
- Sun Nov 06, 2011 6:41 pm
- Forum: Beginning OS Development
- Topic: Floppy IRQ wont fire
- Replies: 4
- Views: 36553
Re: Floppy IRQ wont fire
What real hardware are you using to test on?
If it is very old hardware, it might have non-standard floppy controler, and if it is very new hardware, it might not have a floppy controller at all.
~Andrew
If it is very old hardware, it might have non-standard floppy controler, and if it is very new hardware, it might not have a floppy controller at all.
~Andrew
- Sun Oct 16, 2011 9:40 pm
- Forum: C and C++
- Topic: OT: Dennis Ritchie, Creator of C, Dies
- Replies: 3
- Views: 36653
Re: OT: Dennis Ritchie, Creator of C, Dies
The sad fact is that most of the world wont know that one of the founders of modern computers is gone.
RIP.
RIP.
- Thu Sep 29, 2011 6:19 pm
- Forum: Beginning OS Development
- Topic: Using the VMM & Kernel load trouble
- Replies: 9
- Views: 52962
Re: Using the VMM & Kernel load trouble
Have you checked how many times the bootloader loops to load your kernel? This doesnt sound like a coincidence that it fails at a power of 2. Perhaps have your bootloader print out how many blocks of 512 bytes it has copied, and assert that it is the same size as what you are expecting for the kerne...
- Thu Sep 29, 2011 1:24 am
- Forum: Beginning OS Development
- Topic: Using the VMM & Kernel load trouble
- Replies: 9
- Views: 52962
Re: Using the VMM
Also, i can't seem to load my kernel to other addresses that isn't in the 0000:0000-FFFF range, if i try loading it at , lets say, 1000:0000 It triple faults on kernel entry. (Actually, at first it gets a divide_by_zero exception, then it page faults). How large is your kernel? The chances are that...
- Sat Sep 10, 2011 11:33 am
- Forum: Assembly Language
- Topic: nasm as assembler in visual studio 6
- Replies: 1
- Views: 31247
Re: nasm as assembler in visual studio 6
Why does it matter to you? They are basically the same
~Andrew
~Andrew
- Sun Sep 04, 2011 7:52 pm
- Forum: Assembly Language
- Topic: how to use GRUB as boot loader
- Replies: 5
- Views: 40336
Re: how to use GRUB as boot loader
then ./configure is not working
the whole point of automake is to make you a makefile which knows the standard commands - build and install being the key ones.
~Andrew
the whole point of automake is to make you a makefile which knows the standard commands - build and install being the key ones.
~Andrew
- Sun Sep 04, 2011 7:12 pm
- Forum: Assembly Language
- Topic: how to use GRUB as boot loader
- Replies: 5
- Views: 40336
Re: how to use GRUB as boot loader
This is not so much OS dev knowledge than basic UNIX knowledge.
The directory you ran "./configure" and "make build" should have a subdirectory called bin.
~Andrew
The directory you ran "./configure" and "make build" should have a subdirectory called bin.
~Andrew
- Sun Sep 04, 2011 5:58 pm
- Forum: Assembly Language
- Topic: how to use GRUB as boot loader
- Replies: 5
- Views: 40336
Re: how to use GRUB as boot loader
You will get the relevant binary files in /bin/ in your build dir.
~Andrew
~Andrew
- Sat Sep 03, 2011 6:16 pm
- Forum: Beginners
- Topic: problems in tutorial 4
- Replies: 3
- Views: 36065
Re: problems in tutorial 4
"call" and "ret" requires the use of the stack.
Therefore, you need to set up ss and sp before you try to print your message.
I suggest something like:
~Andrew
Therefore, you need to set up ss and sp before you try to print your message.
I suggest something like:
Code: Select all
mov ax,00h
mov ds,ax
mov es,ax
mov ss,ax
mov sp, 0x7bf0
- Thu Sep 01, 2011 9:45 pm
- Forum: Advanced OS Development
- Topic: WiFi support
- Replies: 3
- Views: 35290
Re: WiFi support
Because it is all proprietry hardware and it is in the hardware manufacturers best interests to not make it easy for someone else to make drivers.
~Andrew
~Andrew
- Thu Sep 01, 2011 8:25 pm
- Forum: Advanced OS Development
- Topic: WiFi support
- Replies: 3
- Views: 35290
Re: WiFi support
It is quite easy in principle. You need to write yourself a device driver. However, things like that are far more advanced than these tutorials, and will be very hardware specific to your computer, so not practical to write yourself. Take Linux for example - it has hundreds of man-years of work to s...
- Sun Aug 28, 2011 10:13 pm
- Forum: Beginning OS Development
- Topic: Stage2
- Replies: 1
- Views: 29304
Re: Stage2
What's the problem with my code I have half a mind to delete this post. Are you expecting us to be psychic? You give no explanaion of what you are expecting to happen, and what is not happening? As a result, I am giving you a reading assignment: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html...
- Tue Aug 23, 2011 6:04 pm
- Forum: Beginning OS Development
- Topic: GDT
- Replies: 4
- Views: 36159
Re: GDT
There is no relation between the text in the %include and the %define inside the file. Why would there be?
the %include just has to be the filename of the code you want to include
~Andrew
the %include just has to be the filename of the code you want to include
~Andrew