Announcement

Collapse
No announcement yet.

DOS Screen Mode

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

  • DOS Screen Mode

    Is there another way to change a text screen (screen 0) to 50 lines, other than
    shelling to DOS with SHELL"mode con:lines=50"?
    TIA

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

  • #2
    Have you looked at the Width statement

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

    Comment


    • #3
      I haven't worked with PB/DOS in a couple of years, but something about this hit me:

      Why would I look for a WIDTH statement to increase the number of lines? Shouldn't there be a HEIGHT function to do that?
      Michael Mattias
      Tal Systems Inc. (retired)
      Racine WI USA
      [email protected]
      http://www.talsystems.com

      Comment


      • #4
        Tim,

        Look at the DOS INT 10h, service 00h (i.e., AH = 00h). I decided
        not to come up with the code for you because, from what I briefly
        read in Ralf Brown's Interrupt List, SOME BIOS's/adaptor's might
        require special settings, and I would not want my code to trash
        other people's programs/systems.


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

        Comment


        • #5
          Correction! I just re-read Ralf's List for that DOS service, and it
          might RETURN special information for SOME BIOS's/adaptor's. Apparently,
          setting up the service to CALL it is pretty straightforward.


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

          Comment


          • #6
            Hmmmm...been experimenting with that DOS service, and it might not be
            as helpful as I thought...

            Maybe Mr. Hanlin will jump in...he's pretty darned knowledgeable
            about the DOS INT stuff. Mr. Edmonds is, also.


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


            [This message has been edited by Clay Clear (edited June 06, 2004).]

            Comment


            • #7
              Originally posted by Michael Mattias:
              I haven't worked with PB/DOS in a couple of years, but something about this hit me:

              Why would I look for a WIDTH statement to increase the number of lines? Shouldn't there be a
              HEIGHT function to do that?
              I've had no problems getting 50 line with.....WIDTH 80, 50

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

              Comment


              • #8
                Thanks, Jerry! I am woefully ignorant of the PB/DOS builtin
                capabilities, but am reasonably familiar with using DOS INT's.
                That's why I posted my replies. Rather than doing that, I should've
                gone to the IDE and looked up the WIDTH statement in the Help, since
                you mentioned it. Tim, I'd suggest looking at the WIDTH statement,
                rather than using my replies about DOS services.


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

                Comment


                • #9
                  I know WIDTH works. It's just that 'WIDTH' would not be my first 'guess' for the name of a command which would affect HEIGHT.

                  Michael Mattias
                  Tal Systems Inc. (retired)
                  Racine WI USA
                  [email protected]
                  http://www.talsystems.com

                  Comment


                  • #10
                    Thats right..I could use the WIDTH statement.

                    Thanks to all for the help, and taking time to investigate this.

                    Tim



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

                    Comment

                    Working...
                    X