x86 Assembly

Moderators: None (Apply to moderate this forum)
Number of threads: 4563
Number of posts: 16029

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
A video segment descriptor Posted by bogdanul2003 on 26 Sept 2005 at 3:20 AM
I try to make a segment that has the base at B8000 and a size of 4000 bytes.Here is my descriptor but it dosen't work.Please tell me what is the mistake

sys_video: dw 0x0FA0
dw 0x8000
db 0x0B
db 0x92
db 0x40
Report
Re: A video segment descriptor Posted by lateef on 1 Oct 2005 at 5:44 AM
: I try to make a segment that has the base at B8000 and a size of 4000 bytes.Here is my descriptor but it dosen't work.Please tell me what is the mistake
:
: sys_video: dw 0x0FA0
: dw 0x8000
: db 0x0B
: db 0x92
: db 0x40
:

//You leftout the highest descriptor byte
//Compare
: sys_video: dw 0x0FA0
: dw 0x8000
: db 0x0B
: db 0x92
: db 0x40
: db 0x00




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.