943,765 Members | Top Members by Rank

Ad:
  • Assembly Discussion Thread
  • Unsolved
  • Views: 1686
  • Assembly RSS
Apr 10th, 2009
0

About BIOS interrupt 10h? Video?

Expand Post »
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???
Similar Threads
Reputation Points: 17
Solved Threads: 1
Junior Poster in Training
destruct0 is offline Offline
50 posts
since Apr 2009
Apr 14th, 2009
0

Re: About BIOS interrupt 10h? Video?

Click to Expand / Collapse  Quote originally posted by destruct0 ...
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???
The problem seems to stem on the 16 bit intruction set.

By default, the OS will use the 32 bit schema.
Reputation Points: 21
Solved Threads: 1
Newbie Poster
DavidOsorno is offline Offline
14 posts
since Apr 2009
Apr 15th, 2009
0

Re: About BIOS interrupt 10h? Video?

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?
Reputation Points: 17
Solved Threads: 1
Junior Poster in Training
destruct0 is offline Offline
50 posts
since Apr 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Assembly Forum Timeline: 16-bit assembaly on a 64-bit system
Next Thread in Assembly Forum Timeline: Memory interface Problem!!!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC