Thread: How do I refresh the screen in Mode X(unchained)?

  1. #1

    How do I refresh the screen in Mode X(unchained)?

    How do I refresh the screen in 320,240 Unchained mode?

  2. #2
    surely someone knows

  3. #3
    Registered User alex's Avatar
    Join Date
    Sep 2001
    Posts
    132
    Hi,

    I think your question is unclear.
    What does "refresh" mean in your question?
    The screen information is "automatically" refreshed at least 60 times per second...
    Or do you mean how to clear the screen in tweaked modes?
    Or how to switch the active page?
    Or...

    Please be more specific.

    Happy coding

  4. #4
    I mean to clear the screen.

  5. #5
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    I'm not too familiar with unchained modes, but I'm guessing you'd just write a black pixel (or any other color) to every pixel on the screen... Or is there some reason why this can't be done?

  6. #6
    I'll try it.

  7. #7
    The screen clears everywhere except the sprites. It doesnt do anything to the sprites.

  8. #8
    Registered User alex's Avatar
    Join Date
    Sep 2001
    Posts
    132
    Sprites?

    You must be using some graphics library. In that case you should first disable each sprite, and then clear the screen. I expect there is a function to clear the screen in the library too.

    Happy coding...

  9. #9
    No I am not using a graphics library. You don't comprehendo. You do not have to have a graphics library to have sprites dufus

    A sprite is just an image that is used in the game. I made my own map making algorithm and picture displaying algorithm. All I need is to clear the "images" okay? Or bitmaps, or graphics whatever you want to call it.

  10. #10
    Please do not turn this into a flaming post because of that reply. I didn't try to be rude if that's what you think, I was j/k.

    Just answer my question plz

  11. #11
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    I don't know detail, but here's where I would start
    http://www.google.com/search?q=mode+x+graphics
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Feedback: Functional Specification Wording
    By Ragsdale85 in forum C++ Programming
    Replies: 0
    Last Post: 01-18-2006, 04:56 PM
  2. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  3. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 02:41 AM
  4. Running in full screen mode!
    By Skute in forum Game Programming
    Replies: 0
    Last Post: 12-10-2001, 03:56 AM
  5. How do I refresh the screen in Mode X(unchained)?
    By frenchfry164 in forum C++ Programming
    Replies: 1
    Last Post: 10-22-2001, 01:58 AM