Announcement

Collapse
No announcement yet.

PBVISION DEMO GRAPHICS

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

  • PBVISION DEMO GRAPHICS

    Running the program

    VISNDEMO.EXE

    there is a very nice graphics example on the page

    "GRAPHICS WINDOWS IN TEXT MODE" with the subtitle
    "GRAPHICS DISPLAY IN TEXT MODE"

    Does anyone know how to recreate the example?--how to open a
    graphics file to display in PBVISION etc??

    Stephen

    PS
    I have had a look at the tutorials and PBWORKSHOP examples and
    there appears to be only examples of drawing balls etc-plus I
    have not been able to get any of the WORKSHOP examples to run--I
    keep getting the error message "not enough memory available to
    run in the IDE". running a PIII??? [Pentium 3]

  • #2
    The most likely question is probably "how much *conventional* memory does PB/DOS have available on your PC"? If you have not done so, make sure PB.EXE has EMS and XMS memory available.

    How you do this will depend on your O/S. Foe example, you may only need to edit your PB.PIF file. Under Windows 2000, you may need to edit CONFIG.NT and AUTOEXEC.NT and REM out all the unnecessary device drivers, etc. If you are using plain DOS, then you'l probably need to add HIMEM.SYS and EMM386.EXE to your CONFIG.SYS file, etc.

    Regardless, you should still be able to compile the examples, but run them from the command-line rather than run them from within the IDE. If you need to debug the files for any reason, then you should be able to use PBD.EXE (the command-line debugger).

    Finally, the tutorials that come with PB/Vision should give you more than enough information to create your own GUI displays...

    I hope this helps!

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      [QUOTE]Originally posted by Stephen Buckley:
      [B]Running the program

      VISNDEMO.EXE

      there is a very nice graphics example on the page

      "GRAPHICS WINDOWS IN TEXT MODE" with the subtitle
      "GRAPHICS DISPLAY IN TEXT MODE"

      Does anyone know how to recreate the example?--how to open a
      graphics file to display in PBVISION etc??

      Stephen - having used Vision extensively I can tell you that you will
      not be able to do complex graphics! You are limited to monochrome
      2 bit images which are treated as a string. I remember reading
      in the original product before PowerBasic took over marketing of
      the product, that the author offered a much better graphic
      extension library. But, to try and contact the author is another
      problem.

      Anton

      ------------------

      Comment


      • #4
        Humble apologies--I have found the bitmap bmp example program in
        my c:\vision\examples directory [I must have been only looking
        at the workshop examples].

        Stephen

        Comment


        • #5
          [quote]Originally posted by Anton Lasich:
          [b]
          Originally posted by Stephen Buckley:
          Running the program

          VISNDEMO.EXE

          there is a very nice graphics example on the page

          "GRAPHICS WINDOWS IN TEXT MODE" with the subtitle
          "GRAPHICS DISPLAY IN TEXT MODE"

          Does anyone know how to recreate the example?--how to open a
          graphics file to display in PBVISION etc??

          Stephen - having used Vision extensively I can tell you that you will
          not be able to do complex graphics! You are limited to monochrome
          2 bit images which are treated as a string. I remember reading
          in the original product before PowerBasic took over marketing of
          the product, that the author offered a much better graphic
          extension library. But, to try and contact the author is another
          problem.

          Anton

          to Anton...

          Now that is very interesting. I just tried a standard bmp and
          it shows rubbish. So I'm going to look for a graphics viewer
          that will convert a standard bmp file to the sort you mentioned
          is necessary. Any clues??

          Stephen

          Comment


          • #6
            Under DOS: NeoPaint

            Under Windows: Paint Shop Pro, or ACDSee work nicely.

            It would be nice if the PB String buffer was expandable into XMS.



            ------------------
            Amos

            Comment


            • #7
              before PowerBasic took over marketing of the product, that
              the author offered a much better graphic extension library.
              But, to try and contact the author is another problem.
              It's pretty easy to get in touch with me directly, but please
              note that after a half decade of obsolesce, my interest in
              PowerBASIC is purely nostalgic. I lost all the source code
              for PB/VISION long ago.

              Still, friendly inquires may be directed to [email protected]
              and if I can help, I will do my best.

              Daniel P. Stasinski http://www.disabilities-r-us.com

              ------------------

              Comment

              Working...
              X