+jedimatt42 Posted July 7, 2020 Author Share Posted July 7, 2020 The TI filesystem does not have file name extensions, so having a star for the basename, and star for the extension didn't make sense. It does have prefix and suffix wildcards... And maybe I didn't test, but I would expect this to work: COPY * TIPI.MYDIR. Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted July 7, 2020 Author Share Posted July 7, 2020 Also, you cannot have a period in a TI file name as that is the device and directory separator. Quote Link to comment Share on other sites More sharing options...
dgrissom Posted July 7, 2020 Share Posted July 7, 2020 (edited) 12 minutes ago, jedimatt42 said: The TI filesystem does not have file name extensions, so having a star for the basename, and star for the extension didn't make sense. It does have prefix and suffix wildcards... And maybe I didn't test, but I would expect this to work: COPY * TIPI.MYDIR. It works. DELETE will not accept wildcards (at this time - maybe tomorrow or the next day!). ? Edited July 7, 2020 by dgrissom Add some stuff. 2 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted July 7, 2020 Author Share Posted July 7, 2020 Also the same wildcard code is used for DIR, so you can test your pattern before committing to copy... 1 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted July 7, 2020 Author Share Posted July 7, 2020 I've added this example to the Force Command wiki... which received a complete overhaul yesterday... https://github.com/jedimatt42/fcmd/wiki/Commands#copy-files 2 Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted July 7, 2020 Share Posted July 7, 2020 Great! * by itself works just fine. I have to say that FC, in combination with TIPI and the FG99, have really elevated the whole TI experience by orders of magnitude, both from a user experience aspect as well as general reliability. Truly a remarkable achievement. 9 1 Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted July 9, 2020 Share Posted July 9, 2020 ... I'm waiting to see which enterprising programmer is the first to include a key press option, that hopefully becomes standard among all new games made into .BIN format. What would that be? The Jedimatt42 return to Force Command routine. I keep most of my games on the FinalGROM, but it sure would be nice to get directly back to DOS after playing a game. In fact, any game that had such a feature would probably get more play, by me at least. Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted July 9, 2020 Author Share Posted July 9, 2020 1 hour ago, Omega-TI said: ... I'm waiting to see which enterprising programmer is the first to include a key press option, that hopefully becomes standard among all new games made into .BIN format. What would that be? The Jedimatt42 return to Force Command routine. I keep most of my games on the FinalGROM, but it sure would be nice to get directly back to DOS after playing a game. In fact, any game that had such a feature would probably get more play, by me at least. That isn't the sort of thing that should be baked into games. 1 1 Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted July 9, 2020 Share Posted July 9, 2020 4 minutes ago, jedimatt42 said: That isn't the sort of thing that should be baked into games. Why not? Many programs have 'easter eggs' that are not normally advertised. This, like the old 'shift838' would not even be noticed by most people, and if pressed, without the proper setup, nothing would happen. Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted July 9, 2020 Author Share Posted July 9, 2020 12 minutes ago, Omega-TI said: Why not? Many programs have 'easter eggs' that are not normally advertised. This, like the old 'shift838' would not even be noticed by most people, and if pressed, without the proper setup, nothing would happen. That is an undue burden to place on games. There are systemic ways to achieve that like the one we discussed on Sunday. 1 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted July 13, 2020 Author Share Posted July 13, 2020 Here is a the little XB program that you can launch from within any XB with a RUN command and the literal path, that will cause FinalGROM99 to relaunch Force Command. FCMDXB It is 100% the exact same source code as the EA5 tool I provided earlier. But it was built with the --embed-xb option from @ralphb's xas99 cross assembler, instead of the -i option. Woot It'll be in the FC directory with future releases of Force Command... You can place that on your TIPI, in the TIPI.FC. folder and then from any XB program you want to facilitate a return to Force Command option from, you can add a line with this statement: RUN "TIPI.FC.FCMDXB" @Omega-TI - sorry I'm such an jerk sometimes. And I hope this makes up for it a bit. 3 1 Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted July 13, 2020 Share Posted July 13, 2020 THANK YOU!! I'll download this tomorrow morning! ? Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted July 13, 2020 Share Posted July 13, 2020 Works great, with the caveat that the XB program must be launched from FC in order to be able to return to it. Otherwise it will hang. Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted July 13, 2020 Share Posted July 13, 2020 9 minutes ago, Vorticon said: Works great, with the caveat that the XB program must be launched from FC in order to be able to return to it. Otherwise it will hang. I just downloaded it. My plan is to put the call in the last line of the WEATHER program you enhanced. That way when I press N, instead of Y for another, it'll jump back to Force Command. Seamless! I'm gonna love it! Man, I cannot tell you how much I wanted something like this from my 4A/DOS days back in the 80's & 90's, then when I got back into the TI, then when Force Command came out... and now that dream is realized. I'm bowing to M@ right now, he just cannot see it. With T80XB, and this return program, even us lowly BASIC level programmers can write programs that will have some meaning in the FC environment. Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted July 13, 2020 Share Posted July 13, 2020 Okay! It works! Freaking amazing! I may need to write a batch/script file though. I'll need to double check again, but it seems that to load the WEATHER program I need to be in the programs subdirectory for the program to load. That little RED light on the FinalGROM cartridge never looked so good. ? Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted July 13, 2020 Share Posted July 13, 2020 Uh oh, I *MAY* have a potential bug report. The XB command seems to work flawlessly... if you are already in the subdirectory of the program you want to use. For example from the DOS prompt I type: CD TIPI.WEATHER80. I then end up in that directory. I can then type XB WEATHER and everything runs perfectly. However, here's the rub, I wrote a small and very simple batch file to automate that task called "W" All it's supposed to do is those commands I go through manually, but when I type: CALL W to execute the script, this is what I end up with... If this is not a bug, can someone please explain to me WHY it's not working or at least suggest a fix. Thanks! Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted July 13, 2020 Author Share Posted July 13, 2020 It gets into XB, but says 'SYNTAX ERROR' Can you do LIST? It appears to have launched over in XB.. Force Command doesn't have the error message 'Syntax Error' anywhere, and the font has changed, and you've gone from 80 column to 32 column mode. So something is wrong with the XB program it loaded.. the Force Command 'XB' actually travels through 3 programs. 1. TIPI.FC.LOAD 2. TIPI.FC.FC/XB 3. your target program Did it get stuck in 1, the program you showed us you had modified the other day. Did it get stuck in 2, the program written on the fly by Force Command Or did it make it into 3, your program? Oh, and we'll need to know which XB you are running, and what your Force Command environment variable XBADDR was set to. Quote Link to comment Share on other sites More sharing options...
dgrissom Posted July 13, 2020 Share Posted July 13, 2020 10 hours ago, jedimatt42 said: Here is a the little XB program that you can launch from within any XB with a RUN command and the literal path, that will cause FinalGROM99 to relaunch Force Command. ... You can place that on your TIPI, in the TIPI.FC. folder and then from any XB program you want to facilitate a return to Force Command option from, you can add a line with this statement: RUN "TIPI.FC.FCMDXB" That is very, very slick! 2 Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted July 13, 2020 Share Posted July 13, 2020 3 hours ago, jedimatt42 said: Well this is weird. I went to make a video to show you what is wrong, but after I started filming it worked correctly. I'm scratching my head as to why now, but not then, because nothing has changed! I'll get back to you if it happens again. Weird.mp4 \ 1 Quote Link to comment Share on other sites More sharing options...
atrax27407 Posted July 13, 2020 Share Posted July 13, 2020 Gremlins 1 1 Quote Link to comment Share on other sites More sharing options...
+mizapf Posted July 13, 2020 Share Posted July 13, 2020 Heisenberg 1 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted July 13, 2020 Author Share Posted July 13, 2020 Well, at least we have a video of the expected behavior! 1 1 Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted July 13, 2020 Share Posted July 13, 2020 Okay, here's the error... 1a) Turned on the TI 2a) Loaded up Force Command 3a) Ran the "W" script --- Resulting in the error --- On the second attempt, it worked. 1b) Reset FinalGROM/TI 2b) Loaded up Force Command 3b) Ran the "W" script --- Proper Operation --- ERROR.mp4 2 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted July 13, 2020 Author Share Posted July 13, 2020 6 hours ago, jedimatt42 said: It gets into XB, but says 'SYNTAX ERROR' Can you do LIST? So, it shows NO PROGRAM 6 hours ago, jedimatt42 said: It appears to have launched over in XB.. Force Command doesn't have the error message 'Syntax Error' anywhere, and the font has changed, and you've gone from 80 column to 32 column mode. So something is wrong with the XB program it loaded.. the Force Command 'XB' actually travels through 3 programs. 1. TIPI.FC.LOAD 2. TIPI.FC.FC/XB 3. your target program Did it get stuck in 1, the program you showed us you had modified the other day. Did it get stuck in 2, the program written on the fly by Force Command Or did it make it into 3, your program? Hard to tell. Probably inbetween 2 and 3.. I'll have to see what RUN does when a bad file name is specified. Maybe sometimes FC is specifying it corruptly. 6 hours ago, jedimatt42 said: Oh, and we'll need to know which XB you are running, and what your Force Command environment variable XBADDR was set to. I can't tell the answer to this from your video, @Omega-TI Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted July 13, 2020 Share Posted July 13, 2020 I'm running RXB since it's supposedly 100% compatible with TI Extended BASIC but has other things that I may use someday. As you can see from my AUTOCMD file the XBADDR seems to be correct... This is the script file residing in my TIPI root directory that I'm using... It appears to only do this... ... on the initial try after turning on the TI... I'm not opposed to trying a different version of Extended BASIC if someone wants to fire me off a copy of the .BIN's, tell me the correct name to use and supply me with the correct XBADDR to type into my AUTOCMD file. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.