LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-20-2005, 12:31 PM   #1
Orkie
Member
 
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.

Thanks

Last edited by Orkie; 04-20-2005 at 12:39 PM.
 
Old 04-22-2005, 02:16 AM   #2
Orkie
Member
 
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
cyu021
Member
 
Registered: Oct 2004
Posts: 43

Rep: Reputation: 15
Hi,

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


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

Rep: Reputation: 30
http://www.uv.tietgen.dk/staff/mlha/PC/Prog/ASM/INT/
 
  


Reply



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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:00 AM.

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