Jump to content

Photo

Getting BASIC prog in a remote textfile running on a TI?


20 replies to this topic

#1 blakespot OFFLINE  

blakespot

    Chopper Commander

  • 126 posts
  • Location:Alexandria, VA (USA)

Posted Wed Jul 26, 2017 1:16 PM

I appreciate the response to my earlier thread asking how to get a BASIC program keyed into a textfile running on a TI via the FlashROM99. No real way to do that.

 

What I'm trying to do now is take this BASIC program in a text file on a remote system into a real TI-99/4A and running in Extended BASIC.

 

What I have to work with:

- TI-99/4a

- PEB w/ 32K, Serial, 5.25" floppy

- WiFi232 device

- TIMXT term prog on cart (FR99)

 

On an emulator I assume I can just paste the text file into the emulator in TI Extended BASIC and run there, but I want to run on my physical TI and I have no way to write out 5.25" floppies to feed the TI.

 

Thanks!

 

 

 

bp



#2 JamesD OFFLINE  

JamesD

    Quadrunner

  • 7,655 posts
  • Location:Flyover State

Posted Wed Jul 26, 2017 2:49 PM

The simplest approach would be via tape.
I don't know if the TI can load untokenized code like some other machines though.
Even if it does, you still need a tool to turn the program into a properly formatted tape image and wav file.
If it can't load plain ASCII, you still need a tokenizer.
 



#3 arcadeshopper OFFLINE  

arcadeshopper

    River Patroller

  • 2,494 posts
  • Location:Portland, Oregon USA

Posted Wed Jul 26, 2017 4:18 PM

open emu, say classic99 as i know it has the paste function

open ti basic

paste text file

type SAVE DSK1.FILENAME

 

connect ti to pc with straight through serial cable 

 

 

Either: 

open timxt on the ti, hyperterm or equivalent on the pc, i use syncterm a lot.. 

ensure communications are working by typing on both sides, you should see your typing on the oppostite side

do xmodem transfer from the pc to the ti and select the classic99\DSK1\FILENAME file that you saved earlier, save to DSK1. or whatever on the TI you have/like..  reset to TI BASIC and type OLD DSK1.FILENAME

 

OR:

load hdx server on pc and point file directory to clasic99\DSK1 directory

load cfhdxs1 from disk OR xb27 suite

copy file with file manager to a local drive

open in ti basic

 

Greg 



#4 JamesD OFFLINE  

JamesD

    Quadrunner

  • 7,655 posts
  • Location:Flyover State

Posted Wed Jul 26, 2017 5:23 PM

The simplest approach would be via tape.
...

 

open emu, say classic99 as i know it has the paste function

open ti basic

paste text file

...

Save it to tape.

Convert to wav and load from the PC playing the wav file?

I've never done it.



#5 arcadeshopper OFFLINE  

arcadeshopper

    River Patroller

  • 2,494 posts
  • Location:Portland, Oregon USA

Posted Wed Jul 26, 2017 5:27 PM

pretty sure classic99 wont save to tape

 

you'd need to use mess which creates a wav file that you'd have to play into the ti with a tape cable 



#6 JamesD OFFLINE  

JamesD

    Quadrunner

  • 7,655 posts
  • Location:Flyover State

Posted Wed Jul 26, 2017 7:21 PM

pretty sure classic99 wont save to tape

 

you'd need to use mess which creates a wav file that you'd have to play into the ti with a tape cable 

And what happens when you tell it to save to tape... it saves to a tape file.
 



#7 arcadeshopper OFFLINE  

arcadeshopper

    River Patroller

  • 2,494 posts
  • Location:Portland, Oregon USA

Posted Wed Jul 26, 2017 8:12 PM

Cool is that a new one on me is it an audio file?

Sent from my LG-H830 using Tapatalk

#8 JamesD OFFLINE  

JamesD

    Quadrunner

  • 7,655 posts
  • Location:Flyover State

Posted Wed Jul 26, 2017 9:33 PM

Cool is that a new one on me is it an audio file?

Sent from my LG-H830 using Tapatalk

I didn't say it was an audio file.
Getting it to a wav is another matter



#9 arcadeshopper OFFLINE  

arcadeshopper

    River Patroller

  • 2,494 posts
  • Location:Portland, Oregon USA

Posted Wed Jul 26, 2017 9:34 PM

Yes well mess saves to a wav

Sent from my LG-H830 using Tapatalk

#10 JamesD OFFLINE  

JamesD

    Quadrunner

  • 7,655 posts
  • Location:Flyover State

Posted Wed Jul 26, 2017 9:55 PM

Yes well mess saves to a wav

Sent from my LG-H830 using Tapatalk

Does MESS allow you to paste in a BASIC program?  If it does, that would be the way to do it.
 



#11 arcadeshopper OFFLINE  

arcadeshopper

    River Patroller

  • 2,494 posts
  • Location:Portland, Oregon USA

Posted Wed Jul 26, 2017 11:05 PM

I think you need to use his image tool to do that

Sent from my LG-H830 using Tapatalk

#12 mizapf ONLINE  

mizapf

    River Patroller

  • 2,532 posts
  • Location:Germany

Posted Wed Jul 26, 2017 11:14 PM

Right. MAME has a paste feature, but it is unreliable, since it does not care about the speed at which the characters are accepted (and BASIC does become slower the more lines are entered).

For that reason, TIImageTool allows you to save a text file as a BASIC file, and then you can load it in the emulation.

#13 arcadeshopper OFFLINE  

arcadeshopper

    River Patroller

  • 2,494 posts
  • Location:Portland, Oregon USA

Posted Wed Jul 26, 2017 11:21 PM

I think you need to use his image tool to do that

Sent from my LG-H830 using Tapatalk

#14 JamesD OFFLINE  

JamesD

    Quadrunner

  • 7,655 posts
  • Location:Flyover State

Posted Thu Jul 27, 2017 7:03 AM

CS1er supposedly converts a tape file to a wav.  
The page was not in English, so YMMV.
 



#15 blakespot OFFLINE  

blakespot

    Chopper Commander

  • Topic Starter
  • 126 posts
  • Location:Alexandria, VA (USA)

Posted Fri Jul 28, 2017 12:46 PM

I got TIImageTool running, but I don't see an option to read text file and output a BASIC file. Can someone point me in-app to the right pathway?

 

Thanks.

 

 

bp



#16 mizapf ONLINE  

mizapf

    River Patroller

  • 2,532 posts
  • Location:Germany

Posted Fri Jul 28, 2017 1:06 PM

Open a disk image (or create a new one), select Edit->Import from text editor. Then you can copy/paste contents into that window, select "close and save". If it recognizes BASIC code, it will offer to save as text or BASIC.



#17 digdugnate OFFLINE  

digdugnate

    Dragonstomper

  • 542 posts
  • Location:SW Missouri

Posted Fri Jul 28, 2017 2:07 PM

Oh that is cool!  I'm working on an XB music program now so that would make it easier to show you guys rather than hand typing or filming it.



#18 LASooner OFFLINE  

LASooner

    Chopper Commander

  • 143 posts

Posted Sat Jul 29, 2017 2:31 AM

plug in a tape drive data cable into a PC audio out

 

http://nivelleringsl...u/ti994a_basic/

 

paste the program in this page

 

enJmnri.png

 

OLD CS1 on the TI it should load in the basic program


Edited by LASooner, Sat Jul 29, 2017 2:33 AM.


#19 blakespot OFFLINE  

blakespot

    Chopper Commander

  • Topic Starter
  • 126 posts
  • Location:Alexandria, VA (USA)

Posted Mon Jul 31, 2017 3:11 PM

So, I finished getting the BASIC program entered in a text editor and I got Classic99 running on Windows. I pasted the text in (pasted fine) and it runs in emulator. I saved it out to a DSK device and a file appears in the DSK directory. Can I send that file to the TI via serial using TIMXT and save it to a physical floppy on the TI and run it in XB? Or will that not work with that file C99 created? 

 

Thanks.

 

 

 

bp


  • RXB likes this

#20 Tursi OFFLINE  

Tursi

    River Patroller

  • 4,776 posts
  • HarmlessLion
  • Location:BUR

Posted Mon Jul 31, 2017 3:52 PM

Yse, it will work. That was one of the primary purposes of using the PC file system - to be able to just XMODEM the files across. ;)

 

(Assuming you didn't change the configuration, TIFILES is the default format. Some people change it to V9T9 format, which won't work. You would know if you did.)


  • RXB likes this

#21 blakespot OFFLINE  

blakespot

    Chopper Commander

  • Topic Starter
  • 126 posts
  • Location:Alexandria, VA (USA)

Posted Tue Aug 1, 2017 9:18 AM

Thanks for the help, folks! I got the program running on real metal and made my entry to the r/Retrobattlestations BASIC Month competition. I took a video, linked in my Reddit submission:

 

https://www.reddit.c...keyed_in_on_my/

 

Cheers.






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users