Playing with timer interrupts in real mode, how?
Posted: Sun Jul 30, 2006 5:11 pm
Hi, this is my first post,
It's been a long time since I started reading various books and tutorials on OSdev, but I am still afraid going in protected mode, and doing all of the nice tricks described in the how-tos. And besides I am interested in playing with low level hardware more than writing an entire, useful OS. The thing is I would like to play a little more with the BIOS before I make the next step. As I understand to program an OS capable of switching between processes a couple of times in a second, you need to set the system timer to issue an interrupt. The queston is: is there a mechanism of setting a timer alarm which makes the BIOS redirect the execution flow to another location in the memory? I know I am not using the correct terms, and I apologize for that. I would like to write a simple os, that can do (or mimic) a basic process scheduling and multitasking without going in protected mode. Kindly asking for your advice Thanks!
It's been a long time since I started reading various books and tutorials on OSdev, but I am still afraid going in protected mode, and doing all of the nice tricks described in the how-tos. And besides I am interested in playing with low level hardware more than writing an entire, useful OS. The thing is I would like to play a little more with the BIOS before I make the next step. As I understand to program an OS capable of switching between processes a couple of times in a second, you need to set the system timer to issue an interrupt. The queston is: is there a mechanism of setting a timer alarm which makes the BIOS redirect the execution flow to another location in the memory? I know I am not using the correct terms, and I apologize for that. I would like to write a simple os, that can do (or mimic) a basic process scheduling and multitasking without going in protected mode. Kindly asking for your advice Thanks!