The QB64 IDE shell
#1
Find attached the QB64 shell program.

Installed in this package is Qb64shell.bas which is the source..

The file contents are as follows:

Code: (Select All)
Information file for:

  QB64SHELL - command line prompt shell windows program for QB64

Purpose:

  Provides a low level DOS-like command shell program similar to the one
  used by Windows CMD.EXE prompt. Tries to improve on most DOS functions,
  such as: DIR, COPY, DELETE, MKDIR, etc. Also supports standard I/O
  between commands and a full screen editor.

Installation:

  Copy the QB64shell archive to C:\QB64 and extract contents there.

  Load/Start or make .EXE then enter the shell at the command line.

  Since QB64shell starts with user profiles activated, enter SYSOP
  and PASSWORD to logon.

Files used:

  QB64shell attempts to create the folder QB64shell in the \program files
  group. The files in the folder are:

    filemenu.cfg  -  config data for the file menu box
    profiles.dat  -  user profiles data file
    qb64shell.cfg  -  current state of QB64shell after exit

  filename.cfg is written the first time QB64shell starts.

  profiles.dat is written with SYSOP the first time QB64shell starts.

  qb64shell.cfg is written every time the QB64shell exits and contains
  such variables as the windows coordinates, statusbar setting, etc.

  Any of these files may be safely deleted.

Compiling QB64shell:

  The following files are required to make the QB64shell.exe program:

    QB64shell.bas  --  main QB64shell code
    QB64shell.inc  --  the QB64shell include file
    QB64shell.ico  --  the QB64shell icon file
    QB64shell.new  --  new version list file
    QB64shell.txt  --  readme file
    Mem.h        --  memory and cpu usage include file

    THX_Sound_Effect.mp3  -  intro sound
      (only plays the first time QB64shell starts)

Author notes:

  Program is published 11/30/2022 and is public domain BASIC source code.

  Written and maintained by Erik Jon Oredson who can be reached at:

    eoredson@gmail.com

-end-

The QBshell commands are:
Code: (Select All)
QB64shell commands:

Basic commands:
  CLS    CPU      KEY      MEM      VER      TOGGLE
  CLOCK  DATE      TIME      MENU      HELP    EDIT
  DEBUG  COLOR    PROMPT    STATUS    SYSTEM  QUIT
  ASCII  HEXCHART  HEXCALC  REDRAW    WHATIS  COUNT
  MONITOR PROFILES  SCREENSAVER

Filters:  FIND      MORE      SORT      TYPE

Filename commands:
  COMPFILE COPY    DELETE    DIR      MKFILE    RENAME
  ENCRYPT  DECRYPT  GETATTR  SETATTR  LISTFILE  TOUCH

Directory commands: COMPDIR  LISTDIR  PUSHD    POPD
  TREE    TREEDEL  TOUCHDIR  CHDIR    MKDIR    RMDIR

Volume commands:
  DRIVES  LABEL    VOL      LISTDRIVE

The version history is:
Code: (Select All)
QB64shell - command line prompt shell windows program for QB64

  First release:

    Version v.0001 Release r.001
      Build 11-21-2017.01

  New release:
    Build 11-24-2017.01
      Edits TREE to reflect TREEDIR

  New release:
    Build 11-29-2017.01
      Copyit v9.0a r4.0a updates:
        Adds quit option to disk full error.
        Now copies ambiguated unicode filenames.
        Fixes switches in moreprompt.

  New release:
    Build 12-02-2017.01
      Copyit v9.0a r5.0a updates:
        Now preserves unicode filenames.
        Now also preserves unicode directories.
        Adds break option to break trap.

  New release:
    Build 12-05-2017.01
      Adds Unicode to rename.

  New release:
    Build 12-15-2017.01
      Fixes recursive loop in Stree.
      Adds more Unicode to recursive searches.
      Repairs Stdout in Getattr.

  New release:
    Build 12-16-2017.01
      Fixes missing toolbar.
      Adds features to ScrnEdit:
        Adds Control-Break during fileload,
        Adds percent file loaded in title.
      Forces alternate filename in redirection.

  New release:
    Build 12-30-2017.01
      Adds switches to detect compressed/encrypted files.

  New release:
    Build 01-01-2018.01
      Modifies attribute to _unsigned long.

  New release:
    Build 04-20-2022.01
      Fixes syntax errors in GetDateTime and FormatX$

  New release:
    Build 12-10-2022.01
      Adds dialog box to file menu.
      Removes file menu box.

  New release:
    Build 12-17-2022.01
      Edits SendMessage for screensaver.
      Removes LocateF, PrintF, ColorF, ColorF2.
      Adds (C)ount to Sub Menu.
      Fixes problem with displaytoolbar in dropdown file menu.

  New release:
    Build 12-20-2022.01
      Write critical error to error log file.
      Adds some userprofile reserved values.
      Add help copy stats.
      Fixes recursive clock$ function.

  New release:
    Build 12-24-2022.01
      Removes 150 lines of unused code.
      Edits prompt $W[<exp$>] parsing.

  New release:
    Build 02-20-2023.01
      Adds parameter to GetOpenFileName$
      Adds keypad-5 trap.

  New release: (qbshell8.zip)
    Build 03-20-2023.01
      Adds Serial and Fattype displays to volume commands.
      Fixes setting/displaying volume in Sub Label.
      Adds /A, /B, /1:d to Sub Label.
      Wrote documentation files:
        QB64shell.doc and QB64shell.cmd

  New release: (qbshell9.zip)
    Build 03-28-2023.01
      Modifies titlebar icon.

-end-


[Image: qbshell.png]


[Image: qbshell2.png]

Code: (Select All)
  (QbshellA.zip);
  New release:
    Build 04-28-2023.01
      Fixes Inkeyx$ function.
      Updates ReadConfig and WriteConfig removing GetConfigFilename$
      Replaces CreateFile and CreateFileA library function calls with
        custom Sub CreateFileA function.
      Removes call to GrabURL.
      Moves _Limit calls to Function Inkeyx$
      Adds Inkeyz$ and Keypad-5 centering to all boxes.

  New release:
    Build 05-04-2023.01
      Removes _DirExists when directory semantics flag could be used
        with Sub CreateFileA instead.
      Removes all f$=keyboardline$ and g$=keyboardline$ when using
        dialog box instead.
      Adds more keyboard scancodes to Sub HexCalc.

  New release:
    Build 05-05-2023.01
      Adds chdir to Sub NewDir to store in DriveTable.
      Fixes SwitchDrive with C: declared without path.

  New release:
    Build 05-15-2023.01
      Edits critical error trap.
      Adds "debug errorlog" to display error log file.
      Fixes blank line when <down> is at end of history array.

  New release:
    Build 05-20-2023.01
      Fixes history array when up/down selected.

  New release: (qbshellb)
    Build 05-23-2023.01
      Adds up/down scancodes to some message boxes.

  New release: (qbshellc)
    Build 05-26-2023.01
      Adds WhatisBox to enter equations.
      Adds CheckAlarms timer trap and AlarmMenu.
        Adds KeyboardLine$ function support for AlarmMenu.

  New release: (qbshelld)
    Build 06-03-2023.01
      Adds Table command to list drivetable/netpathtable.
        Adds search string option to Table command.
        (may contain ? and * characters).
        Adjusts NetPathHistory in KeyboardLine$

  New release: (qbshelle)
    Build 06-20-2023.01
      Fixes problem when started from netpath/cdrom.
      Adds filename entry to GrabURL in debug.
      Fixes problem when started from netpath.

  New release: (qbshellf)
    Build 07-01-2023.01
      Fixes retracting multidots in CD/RD/MD.
      Fixes possible cascade in error.routine trap.

  New release: (qbshellg)
    Build 07-07-2023.01
      Remove Cls from GetOpenFilename$
      Adds percent display in VerifyFiles2.
      Adds /F"file" and /G"file" to compfile.
      Adds /F"path" and /G"path" to compdir.
      Fixes some display in compdir.

  New release: (qbshellh)
    Build 07-15-2023.01
      Adds more titlebar display in Compfile and Conpdir.
      Adds MouseWheel and WheelReverse to all 16 boxes.
      Adds <test> <function> to DebugFunc:
      Adds $X and $Z and $A[<n>] to DisplayPrompt.
      Adds "debug mouse" to test mouse functions.
      Adds ViewFile function to simple array.
      Fixes attribute assignment in ListFiles.

  New release: (qbshellh)
    Build 07-20-2023.01
      Converts sound effect file to 8-bit stored as 88KB.
        Compresses qbshellh.zip from 880K to 330K.
      Fixes Strip.Blanks in More function.

  New release: (qbshelli)
    Build 08-03-2023.01
      Fixes display in Sub FindY during streaming.
      Fixes [Removable] drive in Sub ListDrives.
        Adds MediaExists in Sub FreeSpace and Sub TotalSpace.
      Improves drive display in Volume in Sub Menu.
      Now allws multiple filenames in ListFile.

-end-


Attached Files
.zip   QBSHELLI.ZIP (Size: 330.48 KB / Downloads: 8)
Reply
#2
Thumbs Up 
Hi Erik. Thank you for this program and for the Erik's Dungeon.
Reply
#3
I'll second that!
Reply
#4
I'm sorry to go off-topic a bit about which program. I need Turbo Assembler to be able to create "Erik's Dungeon". Forgot about that while going into Windows to use QB64PE 32-bit. Sadly the OBJ files from that program won't work in this case. The "gas" that comes with MinGW would inevitably require changes to your assembly source code. Maybe we might have to ask you to create the EXE file for MS-DOS, and provide it so we could run it on DOSBOX or something like that.

Ummmm... never mind. Made this post and then noticed the links were removed except for QB64 Shell.
Reply
#5
(12-07-2022, 03:11 AM)mnrvovrfc Wrote: I'm sorry to go off-topic a bit about which program. I need Turbo Assembler to be able to create "Erik's Dungeon". Forgot about that while going into Windows to use QB64PE 32-bit. Sadly the OBJ files from that program won't work in this case. The "gas" that comes with MinGW would inevitably require changes to your assembly source code. Maybe we might have to ask you to create the EXE file for MS-DOS, and provide it so we could run it on DOSBOX or something like that.

Ummmm... never mind. Made this post and then noticed the links were removed except for QB64 Shell.

The link to The Dungeon still remains at:

https://bit.ly/EriksDungeon

For Dngeon12.zip the following is:

   Note: Tasm 4.1 can be found on vetusware

   The Dungeon contains assembly to trap ctrl-break and can be removed from the source by deleting Call Setint/Call Restint.

   This program and source are completely 16-bit and won't load in QB64 because it contains arrays in UDTs..

For Dungeon_v12_QB64.zip it contains no assembly.

Attached is:

   Dngeon12.zip for VB10.
   Dungeon_v12_QB64.zip for QB64.


Attached Files
.zip   DUNGEON_v12_QB64.zip (Size: 354.78 KB / Downloads: 28)
.zip   DNGEON12.ZIP (Size: 305.37 KB / Downloads: 28)
Reply
#6
(12-01-2022, 03:56 PM)Pete Wrote: I'll second that!

When I said I replaced the file menu box with a dialog box I am serious:

The file menu box never worked and after installing 45 lines of dialog box it literally replaced 6,000 lines of code
including all references to and from the file menu box.

Thus there were 150 lines of leftover unused code to delete..

Erik.
Reply
#7
This old version of QB64shell contains:

Code: (Select All)
  Old release: (qbshella)
    Build 05-20-2023.01
      Fixes history array when up/down selected.


Attached Files
.zip   QBSHELLA.ZIP (Size: 850.88 KB / Downloads: 9)
Reply
#8
New! Improved QB64Shell for QB64pe:

Code: (Select All)
  New release: (qbshellb)
    Build 05-23-2023.01
      Adds up/down scancodes to some message boxes.

  New release: (qbshellc)
    Build 05-26-2023.01
      Adds WhatisBox to enter equations.
      Adds CheckAlarms timer trap and AlarmMenu.
        Adds KeyboardLine$ function support for AlarmMenu.

Find the attached file:


Attached Files
.zip   QBSHELLC.ZIP (Size: 857.9 KB / Downloads: 12)
.zip   QBSHELLB.ZIP (Size: 851.35 KB / Downloads: 9)
Reply
#9
New! Improved QB64Shell for QB64pe:

Code: (Select All)
  New release: (qbshelld)
    Build 06-03-2023.01
      Adds Table command to list drivetable/netpathtable.
        Adds search string option to Table command.
        (may contain ? and * characters).
      Adjusts NetPathHistory in KeyboardLine$

  New release: (qbshelle)
    Build 06-20-2023.01
      Fixes problem when started from netpath/cdrom.
      Adds filename entry to GrabURL in debug.

  New release: (qbshellf)
    Build 07-01-2023.01
      Fixes retracting multidots in CD/RD/MD.
      Fixes possible cascade in error.routine trap.

  New release: (qbshellg)
    Build 07-07-2023.01
      Remove Cls from GetOpenFilename$
      Adds percent display in VerifyFiles2.
      Adds /F"file" and /G"file" to compfile.
      Adds /F"path" and /G"path" to compdir.
      Fixes some display in compdir.

  New release: (qbshellh)
    Build 07-15-2023.01
      Adds more titlebar display in Compfile and Conpdir.
      Adds MouseWheel and WheelReverse to all 16 boxes.
      Adds <test> <function> to DebugFunc:
      Adds $X and $Z and $A[<n>] to DisplayPrompt.
      Adds "debug mouse" to test mouse functions.
      Adds ViewFile function to simple array.
      Fixes attribute assignment in ListFiles.

  New release: (qbshellh)
    Build 07-20-2023.01
      Converts sound effect file to 8-bit stored as 88KB.
        Compresses qbshellh.zip from 880K to 330K.
      Fixes Strip.Blanks in More function.

  New release: (qbshelli)
    Build 08-03-2023.01
      Fixes display in Sub FindY during streaming.
      Fixes [Removable] drive in Sub ListDrives.
        Adds MediaExists in Sub FreeSpace and Sub TotalSpace.
      Improves drive display in Volume in Sub Menu.
      Now allws multiple filenames in ListFile.


Attached Files
.zip   QBSHELLI.ZIP (Size: 330.48 KB / Downloads: 5)
Reply
#10
Hello into the exciting realm of chess! Even if you’re a newbie just starting out & an experienced competitor aiming to improve your competencies, there is continuously something novel to discover also uncover within this timeless game. Chess is not just an activity; it is a training for your mind what improves issue-solving competencies, improves recall, and boosts evaluative thinking. Plus, it is a superb method to make new friends also challenge your skills.

If you are new to chess, start by understanding the essentials. Comprehend the way each figure operates and get used with the board. Don't fret if it feels daunting at first; every player begins at some point. There are plenty virtual lessons and apps to aid you get the hang of things. The key to getting better at chess is to play as much as you can. Find a local chess club or become part of digital networks to play against diverse rivals. The more often you play, the more you'll understand different strategies & improve your skills

Viewing competitions by chess pros is a great way to understand. Aim to comprehend the reason they make specific actions & the way they deal with diverse circumstances. A vital ability in the game is planning ahead—predict your rival’s actions and organize multiple moves ahead to stay ahead. Keep relaxed during tension, particularly in competitions. Keep in mind to enjoy; the game of chess meant to be enjoyed, and all failures are educational moments.

Participate in the dynamic chess group via clubs, forums, or functions to improve your adventure. Exchange your insights, gain knowledge from fellow players, and make new friends. The game of chess is an adventure with countless possibilities to learn and grow. So take your chessboard, find an opponent, and delight in the exciting realm of the chessboard! Keep playing, stay studying, and above all, keep enjoying!
Chessboard diet Upper West Side NYC

Chess Riddles to Hone One’s Capabilities and Everyday Tasks 4_79a4b


Attached Files Image(s)
   
Reply




Users browsing this thread: 1 Guest(s)