Results 1 to 2 of 2

Thread: Is it possible to point a segment to another segment?

  1. #1

    Thread Starter
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963

    Is it possible to point a segment to another segment?

    Say, I have a picture in segment ABCD, offset 0, now, I want to display it on the screen. That is segment A000h, I don't want to copy wd by wd nor dw by dw, instead i want it to point to ABCD, that means A000 equals to ABCD's contents so that it will display it instantly, how can I do that?
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

  2. #2
    Knight_Vision
    Guest
    Uhh, no... sorry.. SEGMENTS are nothing but space in memory.. You cannot tell the memory stick that it must fold in on itself.. LOL

    In otherwords, You cannot talk directly to memory segments. They do not recieve instructions. They are nothing but space that you put your code into. You MUST copy it from one to another.

    If you look at RALPH BROWN'S INTurrupt list, you will see INT 10. Look through it. It shows you that you can setup PAGES. Then you could copy from one page to another. But that's all.

    I hope this helps...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width