Jump to content
--- Ω ---

FORCE COMMAND: By Jedimatt42 (Disk Operating System)

Recommended Posts

With Force Command you can load up the TI Extended BASIC cartridge directly from DOS by typing: FG99 BASICG. 

(I have the program in my FinalGROM root directory.)

 

At any rate, I was wondering if any of you gurus out there could figure a way to tweak the Extended BASIC to bypass the cartridge menu screen and have it go directly to the XB command prompt?  If we could do that...  icon_surprised.gif

 

pretty sure Tursi has a patched version, he used to use for a bbs.. memory may be wrong

Share this post


Link to post
Share on other sites

I have heatwave's XB cartridge dump set up like this. I believe it is as simple as editing the power-up address to match the cartridge start address, though it has been some time (8 years?) since I set things up.

 

I don't know what happens during these cart loads but seems to me a if there is a way to modify the cart header during the load process (either by FC or FG software) a command line flag to auto-start the cart would be a better, generic solution.   (this would be similar to how the beta-test version of the TI interpreter for the Geneve handles it)

Share this post


Link to post
Share on other sites

That would be so neat, simply typing "LOAD BASIC" from the Force Command DOS prompt and instantly being in XB!

The trick (probably not gonna happen) would be having it pop directly back to DOS upon exiting BASIC.

 

If anyone turns up a copy of said version of XB, PLEASE  send it my way!  :thumbsup:

Share this post


Link to post
Share on other sites

 

pretty sure Tursi has a patched version, he used to use for a bbs.. memory may be wrong

 

Tursi?  Tursi?  Are you reading this thread?

Share this post


Link to post
Share on other sites

pretty sure Tursi has a patched version, he used to use for a bbs.. memory may be wrong


Nope, I had a patched BOOT for the Horizon RAMDISK that auto-ran an EA#5 program. I was not a fan of XB loaders back in the day ;)

But we know the steps to auto-boot a cartridge these days, especially one that already has GROM, nobody else can do it?

Share this post


Link to post
Share on other sites
Well, based on Tim's suggestion, here's the patched XB to autostart. Seems to work at least in emulation. ;) It's just patching two bytes in the GROM file (make bytes 4-5 match bytes 6-7, and the first program will autostart).

[attachment=637564:autobootXB.zip]

As for returning to Force Command on exit, I have not had a chance to see how Force Command is loaded, but you'd basically replace the BYE function. (It might be possible to also catch FCTN-= with a clever interrupt hook, but that's more iffy). That one WOULD be a little trickier. ;)

Share this post


Link to post
Share on other sites

Well, based on Tim's suggestion, here's the patched XB to autostart. Seems to work at least in emulation. ;) It's just patching two bytes in the GROM file (make bytes 4-5 match bytes 6-7, and the first program will autostart).

attachicon.gifautobootXB.zip

As for returning to Force Command on exit, I have not had a chance to see how Force Command is loaded, but you'd basically replace the BYE function. (It might be possible to also catch FCTN-= with a clever interrupt hook, but that's more iffy). That one WOULD be a little trickier. ;)

 

So cool Tursi!  THANKS!  On 'Real Iron' it loads just fine by typing,  'FG99 TIXBG'  (I shortened the name for testing).  We're 1/2 way there!

When typing BYE in XB or even doing a hard reset  FCTN = or ALT F12 if just restarts BASIC and takes you back to the command prompt, so a power cycle on the console is required.

Share this post


Link to post
Share on other sites

That would be so neat, simply typing "LOAD BASIC" from the Force Command DOS prompt and instantly being in XB!

The trick (probably not gonna happen) would be having it pop directly back to DOS upon exiting BASIC.

 

If anyone turns up a copy of said version of XB, PLEASE  send it my way!  :thumbsup:

LOL RXB has CALL BASIC or CALL XB or CALL EA

 

By the way as they are GPL DSR based you can used them from any prompt too.

 

OLD BASIC or OLD XB or OLD EA

 

At any EA prompt you can type XB or BASIC or EA 

 

Wish granted since RXB 2000

Edited by RXB

Share this post


Link to post
Share on other sites

As for returning to Force Command on exit, I have not had a chance to see how Force Command is loaded, but you'd basically replace the BYE function. (It might be possible to also catch FCTN-= with a clever interrupt hook, but that's more iffy). That one WOULD be a little trickier. ;)

 

Replacing the BYE command would certainly work for me.  I'm actually starting to get excited again.  The past few days on the TI have been like a dream come true, I can almost taste the success on this.  Being able to jump in and out of BASIC and the DOS environment was always something we took for granted on a PC and the TRS-80, on the TI is like a luxury.  

Share this post


Link to post
Share on other sites
Force Command isn't loaded. It runs out of cartridge space. I've planned to write an EA5 loadable tool to trigger the FinalGROM99 to switch to the FCMDG image.

As for switching right into XB or another cartridge, I can read cart headers and go there after instructing the FG99 to do the cart load. My code that interacts with the FG99 is hoisted up into expansion RAM.

Saving 2 keypresses, and the 2 that trigger the most 4A nostalgia, is low on my priority list.

-M@

Share this post


Link to post
Share on other sites

Saving 2 keypresses, and the 2 that trigger the most 4A nostalgia, is low on my priority list.
 

 

:-D I understand, but I actually am going somewhere PRACTICAL and USEFUL with this, if the IN and OUT can be accomplished seamlessly.

Share this post


Link to post
Share on other sites

 

So cool Tursi!  THANKS!  On 'Real Iron' it loads just fine by typing,  'FG99 TIXBG'  (I shortened the name for testing).  We're 1/2 way there!

When typing BYE in XB or even doing a hard reset  FCTN = or ALT F12 if just restarts BASIC and takes you back to the command prompt, so a power cycle on the console is required.

Ah, so the cartridge is persistent when loaded from (into?) the FG99?  I was thinking it was a one-time shot until a restart.  Can you load an alternative cartridge or flush the cart from the XB command line? Just a thought.

Share this post


Link to post
Share on other sites

Ah, so the cartridge is persistent when loaded from (into?) the FG99?  I was thinking it was a one-time shot until a restart.  Can you load an alternative cartridge or flush the cart from the XB command line? Just a thought.

 

Yeah, it's only a one time shot until a power cycle or another cartridge is loaded over it.  If you load EA/5 programs, and quit them, you'll be back in FC/DOS if you load a cartridge with the FG99 command it'll take over.

Share this post


Link to post
Share on other sites

Ah, so the cartridge is persistent when loaded from (into?) the FG99?  I was thinking it was a one-time shot until a restart.  Can you load an alternative cartridge or flush the cart from the XB command line? Just a thought.

 

search hear for the heading 'Reloading'   https://endlos99.github.io/finalgrom99/  - you can write assembly code that (re)loads an alterative or dumps back to sd card.

 

-M@

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.

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...