Announcement

Collapse
No announcement yet.

ROM BASIC, yes you can !

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

  • #21
    Someday I'll understand and master sub- and super-classing controls.
    It's pretty straightforward if you think of it as "I want a control which acts just like a <insert type of control> EXCEPT FOR. <some behavior>."

    subclassing = Modify standard behavior of an individual control after it is created.
    superclass = create registered Window class as copy of "just like' base control with desired modifications BEFORE controls are created.

    You'd usually create a superclass if you have multiple controls to create with the modified behavior., although you can accomplish the same thing using subclassing simply by sharing the subclass procedure.

    MCM
    .

    Comment


    • #22
      Brice,

      It had to be something like that, I noticed that the package contained mingw binaries but I am surprised by how poor the actual performance is. Recently I wrote an interface for a GPL app that I use with video but my interface writes and runs a batch file that runs the GPL software so there is no way that GPL can access or control my interface. What I did find funny was still being familiar with how the old QB45 editor worked. I think the last time I used it was back in the early 1990s and while it was not as sophisticated as the PWB (Programmers Work Bench) that came with MASM, PDS7 Basic or C, it was well thought out at the time.

      Its a shame that the authors did not go another route and use Tomas Grystar's FASM as the asm back end as they would have been free of GPL and made a better package.
      hutch at movsd dot com
      The MASM Forum

      www.masm32.com

      Comment


      • #23
        Steve Hutchesson

        Many years back, I used QB64 in the classroom for teaching BASIC. It wasn't the best, but also not the worst. At that time, the author had put together a raycasting engine which was actually more advanced than what Wallenstein 3D used and it provided playable speeds which is probably the most taxing thing written in it at that time, as that was all software rendered.

        If you miss the old QB45 editor, Ken Silverman wrote a windows editor that is very similar to DOS Edit and QB's editor:

        http://www.advsys.net/ken/util/kc.exe
        http://www.advsys.net/ken/util/kc_guide.txt


        I agree with you about FASM. There are reasons so many indie languages use it.


        I am legally blind. Please forgive any typos. I do try and catch as many as I can.

        Comment


        • #24
          Recently I wrote an nterface ...... my interface writes and runs a batch file ..
          I'd be real careful about admitting you recently wrote an application which relies on a batch (now called 'command' ) file.

          Some of us might start thinking you wrote this twenty years ago or more and/or have an 'enhanced' sense of "recent."

          After all, who writes 'batch/command' file applications ever since the calendar rolled over to the twenty-first century?

          MCM

          Comment


          • #25


            > After all, who writes 'batch/command' file applications ever since the calendar rolled over to the twenty-first century?

            I do. I build PB, 32 and 64 bit MASM all from the command line using batch files. You know that funny looking old thing that some people actually know how to use, the console. Actually it achieves full isolation from the GPL software via the batch file and is itself a 64 bit dialog interface written in MASM. The GPL app it runs is "ffmpeg" and if you have some grasp of the range of options in "ffmpeg" you will understand why it bloated out to just under 20k complete with an icon, manifest and version control block.
            hutch at movsd dot com
            The MASM Forum

            www.masm32.com

            Comment


            • #26
              Originally posted by Michael Mattias View Post


              After all, who writes 'batch/command' file applications ever since the calendar rolled over to the twenty-first century?

              MCM
              Me - I do.

              Careful Michael. Do not judge the usefulness of modern batch files (command files, wizards) using the old standards and terminology and techniques. PBCC is ideally placed to develop quite useful techniques. And I am doing that as we speak.

              [I]I made a coding error once - but fortunately I fixed it before anyone noticed[/I]
              Kerry Farmer

              Comment


              • #27
                I do.
                I do, too. And will always call them batch files, just as I always use "directories" and not the Apple name "folders" which MS introduced when they hired away Apple's programmers to design Windows 95 and not only implemented an Apple clone down to the icons used, but also the terminology used.

                I am legally blind. Please forgive any typos. I do try and catch as many as I can.

                Comment


                • #28
                  After all, who writes 'batch/command' file applications ever since the calendar rolled over to the twenty-first century?
                  Literally anybody doing network/system administration. What is that like 95% of the programming jobs today? It is why Windows 10 now has native support for Linux built in. Admins no longer need to buy Macbooks or Linux laptops for normal sysadmin work and run Windows virtualized. Now Windows 10 can actually be used for and serve most purposes needed.
                  I am legally blind. Please forgive any typos. I do try and catch as many as I can.

                  Comment


                  • #29
                    Batch file? OK, the current buzz word is "script file", but us "old timers" still call then batch files, even though we are likely to use an extension other than ".bat".

                    So: me too!

                    And there are a lot of us. I guess that's why MS have just recently issued the PDF linked in another thread here.

                    "Use this PDF to find the documentation resources and other technical information that you need to learn about the
                    command shell, and to automate command-line tasks by using scripts or scripting tools."


                    https://forum.powerbasic.com/forum/u...-documentation

                    Comment


                    • #30
                      Some thing keep returning back into fashion, back in the middle 90s everything was going to turn into a UI and ultra high level languages were going to take over the world but the result was a big slow sloppy pile of trash that did not do the job. Ever faster hardware covered up the junk for a while but eventually the push for visual garbage started to run out of puff. As the internet era started to kick in we started to see geeks using a Unix console as there was little point to using a UI for just about pure technical data. Even in the movie industry you saw stuff like the Matrix where all the smart stuff was bashed away at a console.(bashed was a pun on the born again shell) Various television series that have a resident geek in the cast also show console use so if you really want to look hip and up to date you make the geeky stuff for the console.

                      Now given that the vast majority of PC users are Windows Icon Mouse Pointers, UI application will have their place as the majority form of consumer software but when it comes to technical tasks, there are so many things that are done far better using a console. With Win 10 64 bit, the console actually improved a lot and not only will it run properly at full screen but it seems to be a fair bit faster than even the version in Win7 64. You can actually shut down explorer and use the console as the interface and from memory there are Windows server version where you can do just that.

                      Being able to stream sequences of console apps together with a batch file gives you the capacity to do very complicated things and while you must know what you are doing with the binaries and the batch file, you can make very complex tasks available by calling one batch file.




                      hutch at movsd dot com
                      The MASM Forum

                      www.masm32.com

                      Comment

                      Working...
                      X