buttons in ms-dos using C - Programmers Heaven

Howdy, Stranger!

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

Categories

buttons in ms-dos using C

mr. Jmr. J Posts: 18Member
How do I create buttons in ms-dos using C?

Comments

  • stoberstober Posts: 9,765Member ✭✭✭
    : How do I create buttons in ms-dos using C?
    :
    [blue]You don't. You need a graphics OS for that, like Windows[/blue]
  • WaltPWaltP Posts: 335Member
    : How do I create buttons in ms-dos using C?
    :
    You have to draw/create the buttons within your program using graphic calls for lines, rectangles, colors. I have a DOS program at http://wpattinson.com/bombsrch.zip you can download to see this technique in operation.

    Walt


  • PharabeePharabee Posts: 84Member
    : : How do I create buttons in ms-dos using C?
    : :
    : You have to draw/create the buttons within your program using graphic calls for lines, rectangles, colors. I have a DOS program at http://wpattinson.com/bombsrch.zip you can download to see this technique in operation.
    :
    : Walt
    :
    :
    :
    Hi, I Build a Graphic lib for the VESA mode 0x118 (1024x768x24Bit) here. I will upload it as soon as Posible to my website. You can download my assembler and compile a file named Pmode2, there is a sample code how to made a button, you have to Run it from MS-DOS realmode since it entering to Pmode. http://city.boleh.com/~vampire_strikes/DownLoad/DownLoad.htm.
  • blipblip Posts: 756Member
    Pharabee, VBE 2.0+ doesn't require OEMs to support the pre-defined mode resolutions so you'd have to search for them at runtime using the API for maximum compatibility. I'm writing a 16-bit Pascal SVGA library that uses 386 instructions and sadly it's not as easy anymore as setting up mode 13h and drawing to one segment, but it allows for a great many resolutions without them having to be initially defined by VESA. This is my reference: http://www.vesa.org/vbe3.pdf
Sign In or Register to comment.