DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Assembly (http://www.daniweb.com/forums/forum125.html)
-   -   About interrupt 10h? Set video mode? (http://www.daniweb.com/forums/thread185922.html)

destruct0 Apr 9th, 2009 6:48 am
About interrupt 10h? Set video mode?
 
Hi!!!
I have little problem. When i try to execute my program:

section .data

section .text
global _start
_start:
mov ah,00h
mov al,45h ;('45h' is just example)
int 10h

I get the message "Segmentation fault".
I suppose I get this message because my video card it's new model. Ati Radeon 3870hd.
I suppose this function and interrupt it's for video card models old 10 years maybe.
I use OS: LINUX and compilation with NASM.

Sorry for my English.


All times are GMT -4. The time now is 10:13 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC