Thread: LFB extraction failure under XP

  1. #1
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607

    LFB extraction failure under XP

    Anyone else have trouble retrieving a pointer to the LFB from 32-bit DJGPP?

    It used to work and now it doesn't.

    I know its possible under XP.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Probably another restriction imposed on the dos virtual machine...yet another good reason to delete all that tiresome old dos software and pretend it never existed

  3. #3
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    *enters wearing a dark hooded robe that says "DOS r0x0rz" on the back*

    *flames Fordy*

    *leaves*
    My Website

    "Circular logic is good because it is."

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Actually, Fordy, it was because I was using the near-pointer hack to get the LFB. I was trying to access the linear frame buffer as if it were in my address space...which 98SE allowed, but XP and NT do not appreciate.

    So in order to do this in XP I must use _farnspokeb(), _movedatal() etc. Of course if I did some digging around in assembly I might be able to alter that somewhat....but I'm too lazy.

    But yeah, DOS just doesn't cut it anymore.

    I just wanted to refresh my asm skills and the only place I can do that is in DOS using NASM and DJGPP. I really don't need asm in Direct3D....yet, and I stress yet.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 05-07-2009, 11:31 AM
  2. Trying to Install XP over Vista with SATA HD
    By Shamino in forum Tech Board
    Replies: 2
    Last Post: 12-13-2008, 06:56 PM
  3. Need help with program
    By HAssan in forum C Programming
    Replies: 8
    Last Post: 06-10-2007, 08:05 PM
  4. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  5. Windows XP regression over time
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 12-17-2002, 10:49 AM