Keith99er Posted June 28, 2015 Share Posted June 28, 2015 I'm new to Classic99 - wanted to write TI Basic using Notepad, save in the DSK1 folder as a .txt file - but get I/O Error 50 or 57 when trying to load. I'm trying to open TEST.TXT in Classic99 by typing OLD DSK1.TEST.TXT Not sure which bit I'm doing wrong... Quote Link to comment Share on other sites More sharing options...
Shift838 Posted June 28, 2015 Share Posted June 28, 2015 (edited) I'm new to Classic99 - wanted to write TI Basic using Notepad, save in the DSK1 folder as a .txt file - but get I/O Error 50 or 57 when trying to load. I'm trying to open TEST.TXT in Classic99 by typing OLD DSK1.TEST.TXT Not sure which bit I'm doing wrong... You can type it in a text file, but you will need to paste it into TI BASIC / Extended Basic in Classic99. Under the Edit menu. It will not open a text file that way. Once you get it pasted you can then type "SAVE DSKx.FILENAME" where x=disk drive #.. Without the quotes of course. Edited June 28, 2015 by Cschneider Quote Link to comment Share on other sites More sharing options...
Opry99er Posted June 28, 2015 Share Posted June 28, 2015 I think you CAN do txt files in this way.. Not sure about your error, but tge method Chris describes works well too. Quote Link to comment Share on other sites More sharing options...
Shift838 Posted June 28, 2015 Share Posted June 28, 2015 There are various options under when selecting FIAD that can be selected for windows text files but none of them allow the text files to be opened as a 'PROGRAM' from what I can tell. Quote Link to comment Share on other sites More sharing options...
Opry99er Posted June 28, 2015 Share Posted June 28, 2015 Hmm... I typically program in Notepad++ and paste into Classic99... Would be a really cool feature to be able to load text as PROGRAM--save me a step. I remember reading something about this recently, but cannot remember what or where. Quote Link to comment Share on other sites More sharing options...
senior_falcon Posted June 28, 2015 Share Posted June 28, 2015 The problem is that the BASIC or XB program is "tokenized" - it is converted to a more compact form that is usable by the BASIC/XB interpreter. If you use a sector editor, or just look at the program in memory using Classic99's debugger, you will see that it bears little resemblance to what you typed. The interpreter does this tokenizing automatically when you type in a program line. I suppose it would be possible to modify the program loading routines to convert a .txt file into an actual program, but it seems like a lot of work when Classic99's paste option lets the interpreter handle that process. 1 Quote Link to comment Share on other sites More sharing options...
+mizapf Posted June 28, 2015 Share Posted June 28, 2015 Maybe a good point to recall that I added a BASIC import in TIImageTool 2.0. You can paste a BASIC program from a web page or other document into the text window, and it will be stored as a PRG file on the disk image (i.e. fully tokenized), or as MERGE, or LONG, as you choose. 1 Quote Link to comment Share on other sites More sharing options...
Tursi Posted June 29, 2015 Share Posted June 29, 2015 Just to speak up as the author, yes and yes on the last two posts. It's not that Classic99 can't read text, it's that BASIC programs are not text files. Quote Link to comment Share on other sites More sharing options...
budz2355 Posted June 29, 2015 Share Posted June 29, 2015 This thread helped me a lot (of course I started it ) I used Owens method of copy/paste, but there are many other great methods listed. http://atariage.com/forums/topic/238922-xb-on-the-pc/ 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.