Jump to content
jedimatt42

Force Command ver 0.9 : kinda like command.com from 1985

Recommended Posts

My design wants a GPIO pin to give an output pulse every time the PI's RTC advances 1 minute.:)

...Other uses envisioned as well(for more pins:lol:).

 

   P.S. 9901 pins are a pain to get at!:ponder:

  • Thanks 1

Share this post


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

I was hoping to be able to control one of the tipi gpio output pins.  Can force command cause a script to run on the Raspberry Pi (https://www.raspberrypi.org/documentation/usage/gpio/python/README.md)? 

 

A command like LED On/Off?  Then it could be incorporated into batch files/programs to toggle a notification led light.

 

 

This is a request to extend the TIPI services, not just Force Command... Force command does not run stuff on the PI... it is all TI 9900 side... 

 

An extension like the mouse extension or tcp socket extension would have to be added to the TIPI services, to allow controlling Raspberry PI GPIO pins with TIPI messages.  If you can play with GPIO, you should be able to learn enough python to author that extension.  This has to come first before Force Command can get involved... 

 

---

That aside, I do want to add the ability to author external assembled or C commands for Force Command, allowing authors access to all the routines in the ROM. It's in my list of desires.

 

[email protected]

  • Thanks 1

Share this post


Link to post
Share on other sites
15 minutes ago, HOME AUTOMATION said:

My design wants a GPIO pin to give an output pulse every time the PI's RTC advances 1 minute.:)

...Other uses envisioned as well(for more pins:lol:).

 

   P.S. 9901 pins are a pain to get at!:ponder:

 

If I assumed twoodland was talking about Raspberry PI GPIO pins, someone would give me carp for forgetting that many of the pins on a 9901 are general purpose input/output pins.  So I have to ask clarifying questions when people are not precise. 

 

------

 

Your design has zero overlap with Force Command from the information you have provided. I can only recommend that you put your own service on the Raspberry PI to accomplish your 1 minute trigger. https://www.raspberrypi.org/documentation/usage/gpio/ <--- lots of information available to do that. 

 

[email protected]

 

  • Thanks 2

Share this post


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

This is a request to extend the TIPI services, not just Force Command... Force command does not run stuff on the PI... it is all TI 9900 side... 

 

An extension like the mouse extension or tcp socket extension would have to be added to the TIPI services, to allow controlling Raspberry PI GPIO pins with TIPI messages.  If you can play with GPIO, you should be able to learn enough python to author that extension.  This has to come first before Force Command can get involved... 

 

---

That aside, I do want to add the ability to author external assembled or C commands for Force Command, allowing authors access to all the routines in the ROM. It's in my list of desires.

 

[email protected]

Thank you [email protected]  Sorry for the generic question.  I appreciate the clarification and apologize that I am not precise nor have enough knowledge or understanding about the TI, Force Command, Raspberry Pi and TIPI to be able to offer desired suggestions.  I do however, want to learn more about each of these system and hopefully be able to produce something usable to the community.

 

I thank you again for the time and effort to explore my request and for providing a clear response.  

 

  • Like 2

Share this post


Link to post
Share on other sites
On 7/20/2019 at 7:55 PM, twoodland said:

I was hoping to be able to control one of the tipi gpio output pins.  Can force command cause a script to run on the Raspberry Pi (https://www.raspberrypi.org/documentation/usage/gpio/python/README.md)? 

 

A command like LED On/Off?  Then it could be incorporated into batch files/programs to toggle a notification led light.

 

 

why not make a cron on the pi that checks for /home/tipi/tipidisk/flags/ledon and turns it on and then off if the files gone then you can create that file in the ti side with any program 

  • Like 1

Share this post


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

why not make a cron on the pi that checks for /home/tipi/tipidisk/flags/ledon and turns it on and then off if the files gone then you can create that file in the ti side with any program 

Thank you arcadeshopper, brilliant and simple!  Now to figure out how to check Chatti and Group Chat for notifications/msg's waiting.  That may be able to be integrated into the Pi program as well.   

  • Like 1

Share this post


Link to post
Share on other sites
38 minutes ago, twoodland said:

Thank you arcadeshopper, brilliant and simple!  Now to figure out how to check Chatti and Group Chat for notifications/msg's waiting.  That may be able to be integrated into the Pi program as well.   

NICE!  Since the RPi is always on, a little red LED would be fantastic!  In essence... "Hey, turn on your TI and play, you have a message waiting!"

  • Like 1

Share this post


Link to post
Share on other sites
Thank you arcadeshopper, brilliant and simple!  Now to figure out how to check Chatti and Group Chat for notifications/msg's waiting.  That may be able to be integrated into the Pi program as well.   
This has been discussed before and Corey would need to speak to any ability to access his site/data from outside chatti or the browser

Sent from my LM-G820 using Tapatalk

Share this post


Link to post
Share on other sites

Hmmm, if this comes to pass, I'll move my Flex Card Interface to slot #2 and then fix the LED behind the light pipe of slot #1.  This way everything would be contained within the P-Box and no drilling or additional boxes would be necessary.  This would be a very inexpensive, but also a very useful upgrade.

  • Like 1

Share this post


Link to post
Share on other sites

This is so very off topic

 

But just to recap :  The Raspberry PI in TIPI has no knowledge of if or if not you have a message waiting in Chatti. The 9900 based software called Chatti that you run on the TI-99/4A can ask this question, but it must poll the server. Previously, ElectricLab has said, no to writing software on the PI that does know. It would also have to poll his servers, that he pays money for. Every TIPI polling his servers even when users aren't using Chatti was not something he was interested in funding (last time we spoke about the topic).

 

Further more, using a PI to check your email or whatever in Linux land is not interesting to me, and so will not be funded by my time and effort. The TIPI stuff is open licensed and open source, but to my knowledge the Chatti stuff and server are not. Otherwise I'd say go for it, but don't be surprised if it leads to the Chatti server being shut down.

 

but, again, absolutely nothing to do with Force Command... If someone wants to continue to discuss this, please create a new topic to have a good title that draws like minded people into the same conversation. 

 

Am I trying to shut this conversation down: YES.

 

[email protected]

  • Like 1

Share this post


Link to post
Share on other sites

I would be interested in a specification so that I can call my own binaries  and safely return to force command. Is something like that planned?

Share this post


Link to post
Share on other sites
I would be interested in a specification so that I can call my own binaries  and safely return to force command. Is something like that planned?
Wouldn't a reset get you back?

Sent from my LM-G820 using Tapatalk

  • Like 1

Share this post


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

Wouldn't a reset get you back?

Sent from my LM-G820 using Tapatalk
 

Reset works great.  I use the reset on my PS/2 keyboard but the FCTN = will work or even the reset button on the FG99 will work.  You'll instantly quit your program and be back in DOS.

Share this post


Link to post
Share on other sites

I think retroclouds is asking for something like returning with all the current context of the shell intact, like when 'cat' exits back to 'bash' 

 

Yes that is aspirationally planned. Force Command currently uses about half of the 32k. I want consolidate that, and make the ROM routines for console interaction available, as well as Command line argument passing. 

 

But, I've been on TI vacation. Playing with my Amiga, ZX Spectrum, and GR8BIT.

 

[email protected]

  • Like 3

Share this post


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

I think retroclouds is asking for something like returning with all the current context of the shell intact, like when 'cat' exits back to 'bash' 

 

Yes that is aspirationally planned. Force Command currently uses about half of the 32k. I want consolidate that, and make the ROM routines for console interaction available, as well as Command line argument passing. 

 

But, I've been on TI vacation. Playing with my Amiga, ZX Spectrum, and GR8BIT.

 

[email protected]

 

Indeed, that was exactly what I was thinking about.  I personally do not like it when I reset the TI-99/4a to jump from one program to the next.

Also some kind of mailbox (something similar to a unix pipe) would be fantastic. That way you could pass output from one program as input to the next program. Yeah, getting carried away now.😀 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

Matt,

 

It's been awhile since the subject has been brought up.  What's the status of a Geneve version of the software for ftp, disk file management, etc?

 

Beery

 

Share this post


Link to post
Share on other sites
9 hours ago, BeeryMiller said:

Matt,

 

It's been awhile since the subject has been brought up.  What's the status of a Geneve version of the software for ftp, disk file management, etc?

 

Beery

 

I've been busy enjoying other things. 

 

TipiConfig provides disk mapping, and functions in 4A mode just fine... Old Dark Caves runs great with the speedup the Geneve provides.   

My mame emulation setup imploded (through neglect), so I lost my test for getting Force Command to work with other disk controllers.  This is my priority in the TI space.  My FTP code uses the same routines that don't work with HDX, and so I assume they don't work with any other mass-storage device on the platform except TIPI and the floppy disk controllers.

 

I do have next week off of work. And intend to put about 50% of that time into the 4A. Hopefully hanging out at PRGE the previous weekend will re-inspire me.

 

[email protected]

  • Like 3

Share this post


Link to post
Share on other sites

So, they made it easier to edit the title of a thread, and impossible to edit the first post.???  

 

Never mind, I'm just blind... obviously. 

Share this post


Link to post
Share on other sites

Version 0.9 available in first post:  

 

 

I used MAME to test against the Myarc HFDC and corrected a couple bugs. The bugs were general for non-DSK devices, so there is a pretty good chance it will work with Fred Kaal's HDX now as well.. 

 

[email protected]

  • Like 4

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