Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-20-2005, 12:31 PM   #1
Registered: Mar 2005
Distribution: Breezy Badger
Posts: 248

Rep: Reputation: 30
BIOS Interrupts

Does anybody know where I can get an OS independant C library (which I can compile into a flat binary file) that has a function for calling BIOS Interrupts (and changing the appropriate registers in order choose a function and to pass values to the interupt functions). I don't mind doing this in C but I have no idea how to call interrupts from within C and the same with modifying the register contents.


Last edited by Orkie; 04-20-2005 at 12:39 PM.
Old 04-22-2005, 02:16 AM   #2
Registered: Mar 2005
Distribution: Breezy Badger
Posts: 248

Original Poster
Rep: Reputation: 30
I eventually found an answer through my searching and it is no - there isn't one it would have to be done through inline asm or to link a separate file against it. I wanted to play around with INT 13h (which is the disk routines) but in my research I managed to find the memory addresses or the various devices including disk drives so I can do it through that instead of messing about with the interrupts.
Old 04-22-2005, 07:17 AM   #3
Registered: Oct 2004
Posts: 43

Rep: Reputation: 15

I am looking for an interrupt table, can anyone provide a useful link ?
int 0x10 = Video BIOS interrupt
and etc...

Old 04-22-2005, 09:23 AM   #4
Kdr Kane
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Bios? (floppy that boots and runs new bios) tearinox Linux - Hardware 5 10-12-2004 05:13 PM
need Bios driver to exec custom on board bios code wmain Linux - Software 0 09-03-2004 08:32 AM
old BIOS (1992) won't detect my cdrom drive; BIOS says: neither IDE prots enabled carbono Linux - Hardware 5 05-18-2004 11:07 AM
about interrupts eshwar_ind Programming 1 02-25-2004 12:38 AM
Mouse detected in bios but not assigned IRQ in /proc/interrupts Onyx^ Linux - Hardware 4 08-26-2003 09:43 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration