Announcement

Collapse
No announcement yet.

Getting 256 colors in PowerBasic

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting 256 colors in PowerBasic

    How would I get the 256 colors as does the Quickbasic language. That compiler has screen 13 and has the 256 colors. What about powerbasic?

  • #2
    PowerBASIC for DOS does not offer 256 color mode. I believe there are one or more third-party libraries which might be used. You could check the download and third-party sections.

    Best regards,

    Bob Zale
    PowerBASIC Inc.

    Comment


    • #3
      I remember GRAV game written in Pascal/PBDOS used 256 colors even on PB side, and it ran smoothly on my 486SX25 laptop at the time.

      You can download GRAV from here:
      http://www.powerbasic.com/support/downloads/games.htm


      Petr
      [email protected]

      Comment


      • #4
        IIRC (which I probably don't): The grey matter in my head seems to recall you can fill up some registers then use a CALL INTERRUPT to set colors.

        It's been so long since I used PB/DOS, I may be confusing this with something else. Don't even have a clue as to where to begin looking for this.
        There are no atheists in a fox hole or the morning of a math test.
        If my flag offends you, I'll help you pack.

        Comment


        • #5
          This would be a good place to start: http://www.ctyme.com/rbrown.htm
          Scott Slater
          Summit Computer Networks, Inc.
          www.summitcn.com

          Comment


          • #6
            There is/was a commercial package available:
            http://www.zephyrsoftware.com/

            James

            Comment


            • #7
              Thanks everyone

              Thank you every one for posting a quick response to my message.

              Russ

              Comment


              • #8
                You might want to look into VESA graphics modes, they allow high resolution and up
                to 32-bit color modes. I wrote some routines several years back that could be useful.
                you can download them here.

                http://web.highland.net/~hhuffman/pbvesa.zip

                have a look, they might be helpful

                Comment

                Working...
                X