Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

A video segment descriptor

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

Comments

  • lateeflateef Posts: 22Member
    : 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

Sign In or Register to comment.