About BIOS interrupt 10h? Video?
Hello!!! I would like to ask anybody can help me with "interrupt 10h". I do everything correct but every time I get a message "Segmentation fault". My code is:
section .text
global _start
_start:
mov ah,00h
mov al,45h
int 10h
When I compile the file into executable file and run it I get the message "Segmentation fault".
Can anybody help me? I use OS: LINUX and compiler: NASM.
Linux is 32 bit installation. If you can`t understand my problem please ask???
destruct0
Junior Poster in Training
50 posts since Apr 2009
Reputation Points: 17
Solved Threads: 1
The problem seems to stem on the 16 bit intruction set.
By default, the OS will use the 32 bit schema.
Ok. Do you know how can i use a 32 bit "video mode" on Linux OS?
destruct0
Junior Poster in Training
50 posts since Apr 2009
Reputation Points: 17
Solved Threads: 1