PDA

View Full Version : Linux equivalent of int 10h



Chicken Dinner
May 10th, 2008, 10:19 PM
I have a quick question regarding assembly programming and Linux.

Is there a similar system call, in Linux, to Windows'/DOS' interrupt 10h, or VIDEO service?
Thank you.

stroyan
May 10th, 2008, 10:59 PM
The closest match is writing characters to stdout, (file descriptor 1).
See http://asm.sourceforge.net/articles/linasm.html and the
"hello world" example in that page.

slavik
May 11th, 2008, 09:02 AM
DOS has 21h and 10h, Linux has only 80h.

There are also guides out that list all kernel calls, how to put arguments in and such.