Jump to content
jedimatt42

Force Command ver 1.31 : kinda like command.com from 1985 (no TIPI required!)

Recommended Posts

I am getting the error "failed to configure XB" when attempting to load XB programs.

 

image.png.8932b49e143a33b2d50b67cee3021fca.png

 

Seemingly regardless of all other configuration considerations.  The same error is produced regardless of whether a file by that name exists (and exists in the current path), regardless of whether XBMOD and XBADDR are set (and set to valid values).  The XB command does not seem to attempt to load an XB image via the FinalGROM at all, under my present circumstances. 

 

FG99 TIXB_G does successfully load TI Extended BASIC version 110 (or a few other versions of Extended BASIC I have there, likewise). 

 

But with XBADDR set to 25458 and XBMOD set to TIXB_G any attempt to load a BASIC/XB file results (invariably) in "failed to configure XB".

 

Any ideas?

 

  • Thanks 1
  • Sad 1

Share this post


Link to post
Share on other sites
45 minutes ago, pixelpedant said:

I am getting the error "failed to configure XB" when attempting to load XB programs.

 

image.png.8932b49e143a33b2d50b67cee3021fca.png

 

Seemingly regardless of all other configuration considerations.  The same error is produced regardless of whether a file by that name exists (and exists in the current path), regardless of whether XBMOD and XBADDR are set (and set to valid values).  The XB command does not seem to attempt to load an XB image via the FinalGROM at all, under my present circumstances. 

 

FG99 TIXB_G does successfully load TI Extended BASIC version 110 (or a few other versions of Extended BASIC I have there, likewise). 

 

But with XBADDR set to 25458 and XBMOD set to TIXB_G any attempt to load a BASIC/XB file results (invariably) in "failed to configure XB".

 

Any ideas?

 

It's working OK on my setup.    I don't have any storage devices but the TIPI and SAMs on this computer.   Latest Force Command.  My FinalGrom99 XB name is TIXBG.

 

 

 img1a.jpg.e42f326ff7c9c98829a479ea5f7213fa.jpg img2a.jpg.62b72bdb1e757882ebf1b3b2dfdf4856.jpg

 

  • Like 3

Share this post


Link to post
Share on other sites

@pixelpedant that error comes from not being able to open for write TIPI.FC.FC/XB

 

There are a few support files to get the XB command to work and they have to live in the TIPI.FC. directory.. 

 

https://github.com/jedimatt42/fcmd#installation

 

It has been a while since I have (looked at) this... I should make that easier/stand out more ..  

 

(edit: I've just updated the wiki reference for the XB command to point this requirement out, and tie in that error message)

  • Like 3

Share this post


Link to post
Share on other sites

I found a bug in forward references to labels... somewhere along the line I removed 'goto' from the set of commands that allow the script file to remain open.. but it requires that it remain open if it is a forward reference so it can scan ahead from where we are... anyway... 

 

I discovered this 'cause @pixelpedant asked about adding something like an ONKEY A,B,C WALK,RUN,JUMP sort of command that cuts down on the if statements. 

 

I started thinking you should be able to do something close already with the variable substitution:  

 


INPUT:
READKEY K
GOTO MENU$(K)
GOTO INPUT

MENUA:
echo A was pressed
goto END

MENUB:
echo B was pressed
goto END

END:
echo done

but I have to release the fix for the forward references first... 

 

if MENU$(K) doesn't match a label, an error will be printed, so you'd need to use the ANSI codes to make sure the READKEY happens somewhere other than the last line of the screen, or it'll scroll and screw up the pretty menu you might have built... 

 

I'd still entertain the ONKEY idea... but this might be a start ( once I release the goto fix - I have it (foreward references) fixed, but looking at another issue before releasing it... )

  • Like 3

Share this post


Link to post
Share on other sites

Update v1.29 - in post #1. 

 

Happy Halloween! 

 

FG99 and XB commands will uppercase your module name before sending it to the FinalGROM. 

Foreward references in GOTO statements work again. This should allow the scheme in my previous post to work... 

 

update to fix/enable api for color handling... cleaned up a bunch of the color code... 

  • Like 7

Share this post


Link to post
Share on other sites

Printing files from within Force Command.

 

I had been looking for an easy way to print DV80 text/script files to the TIPI's "PI.PIO" printer.  "ED" and "TYPE" work well to view a these files.  Most Editors have a "Print" menu item. 

 

Thought it would be nice to have a DOS style redirection  as "TYPE filename > lpt1:".  (Think that is the format?  Been a while since I used it.)

 

jedimatt42's "ED" command provides the mechanisms.  Open a file, example:  ED MYFILE.  After it opens press CTRL+W to write the file.    Erase the current file name and substitute PI.PIO for the filename and when the cursor comes back the printed PDF is available in the TIPI pdfs directory.  Use CTRL+Q to exit and continue working.

 

All this is done from the TI console.   Pretty slick!

  • Like 4

Share this post


Link to post
Share on other sites

Update 1.31 - 

 

an input routine stopped accepting characters at <= 'z'... so you couldn't enter URLs into VIRGIL99 that contain '~'   

 

Update FCMENU to understand the environment variable 'FCM'   if FCM=QUIT, (case sensitive I believe) then FCMENU will quit upon resuming (or entering) - The purpose of this is so you can launch a script from FCMENU that sets up your environment, device mappings, and current directory or whatever else, and then exits the menu in the command line with all that setup preserved... FCMENU will clean up this variable when it consumes it. 

 

https://github.com/jedimatt42/fcmd/wiki/fcmenu#environment-variables

  • Like 5

Share this post


Link to post
Share on other sites
5 hours ago, jedimatt42 said:

Update 1.31 - 

 

...

 

Update FCMENU to understand the environment variable 'FCM'   if FCM=QUIT, (case sensitive I believe) then FCMENU will quit upon resuming (or entering) - The purpose of this is so you can launch a script from FCMENU that sets up your environment, device mappings, and current directory or whatever else, and then exits the menu in the command line with all that setup preserved... FCMENU will clean up this variable when it consumes it. 

 

https://github.com/jedimatt42/fcmd/wiki/fcmenu#environment-variables

Slick!  Works well for me!

  • Like 2

Share this post


Link to post
Share on other sites
On 5/6/2019 at 9:13 PM, jedimatt42 said:

Force Command - a command line OS in progress by Jedimatt42 for the TI-99/4A.   You can informally call it Jedimatt42's DOS, or Matt's DOS. However its name is 'Force Command

I'd shower you with praise for this kick-ass set of tools, but providing real "game-changers" to the TI community has kinda been your thing for a while...

So I'll just say "Kudos and Thanks"

  • Like 4
  • Thanks 1

Share this post


Link to post
Share on other sites
1 hour ago, PeBo said:

I'd shower you with praise for this kick-ass set of tools, but providing real "game-changers" to the TI community has kinda been your thing for a while...

So I'll just say "Kudos and Thanks"

I think he will take "thanks" in the form of beer, wings, or some combination of both at gatherings.

  • Like 3
  • Haha 3

Share this post


Link to post
Share on other sites

Wow! Have been inactive on the TI front for some months as I was concentrating on Commodore 128 projects, and seems this project has been skyrocketing meanwhile. See I have much catching up to do.

 

As I now also joined the SAMS bandwagon, will start back reading this thread carefully soon. Already started with compiling the latest FCMD build and installing it on my TIPI and FinalGROM99.

Good stuff, thanks!

364FD12D-FA2E-464A-B35F-AE0A82318651.jpeg

  • Like 3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...