Old Timey Retro Gamer Posted January 20, 2021 Share Posted January 20, 2021 Hi everyone, I just bought the Programming book for intybasic (I used to be very good with basic & pascal language), so I thought this would be really fun to try to write games for the Intellivision. However, I am already hitting a snag just trying to get it to print "Hello World". I checked out a video by Gray Defender to help me, but I still keep getting an error message. It is stating it is unable to open input file. Would anybody have any suggestions? It looks like I have all of the text correct on the .bas file. I was having other errors but manage to at least show the compiler is working now. I have a 64 bit computer & a 32 bit computer, and I get the same message on both. Quote Link to comment Share on other sites More sharing options...
Kiwi Posted January 20, 2021 Share Posted January 20, 2021 It would be C:\Users\ a\My Documents\intybasic.exe hello.bas hello.asm So I believe you need the .exe part. Check to be sure that the prologue and the epilogue files are in the same folder as hello.bas. Quote Link to comment Share on other sites More sharing options...
PuzZLeR Posted January 20, 2021 Share Posted January 20, 2021 First of all, is the hello.bas file in the same directory as the IntyBASIC executable? Quote Link to comment Share on other sites More sharing options...
Old Timey Retro Gamer Posted January 20, 2021 Author Share Posted January 20, 2021 12 minutes ago, Kiwi said: It would be C:\Users\ a\My Documents\intybasic.exe hello.bas hello.asm So I believe you need the .exe part. Check to be sure that the prologue and the epilogue files are in the same folder as hello.bas. Yes, I have all of the files in the same folder. I also just tried to use the intybasic with the exe extension, but still getting errors. Quote Link to comment Share on other sites More sharing options...
Old Timey Retro Gamer Posted January 20, 2021 Author Share Posted January 20, 2021 15 minutes ago, PuzZLeR said: First of all, is the hello.bas file in the same directory as the IntyBASIC executable? I do have it in the same folder as the IntyBasic executable. Quote Link to comment Share on other sites More sharing options...
Old Timey Retro Gamer Posted January 20, 2021 Author Share Posted January 20, 2021 Well, I just looked up the directory. I saved the hello.bas file, but the directory is showing hello.bas.txt. So I just typed in hello.bas.text hello.asm and it worked. I don't know why it saved the file that way, but I guess I can figure it out at some point. Thank you guys! 1 Quote Link to comment Share on other sites More sharing options...
PuzZLeR Posted January 20, 2021 Share Posted January 20, 2021 (edited) Cool! I was then going to ask for a screencap of the dir for what's in there, but you got it. Another suggestion. I got my beginnings with the sprites.bas file. It's really well done by nanochess and fun to play around with and learn. Just my tip. ? Edited January 21, 2021 by PuzZLeR Spelling mistake. Quote Link to comment Share on other sites More sharing options...
Kiwi Posted January 20, 2021 Share Posted January 20, 2021 Yeah, you may need to turn on file extension in windows. I'm not sure why it is off by default. When you save a bas file. Type, yourgame.bas and pick .all file instead of txt in the drop down window. Quote Link to comment Share on other sites More sharing options...
Old Timey Retro Gamer Posted January 20, 2021 Author Share Posted January 20, 2021 26 minutes ago, PuzZLeR said: Cool! I was then going to ask for a screencap of the dir for what's in there, but you got it. Another suggestion. I got my beginnings with the sprites.bas file. It's really well done by nonochess and fun to play around with and learn. Just my tip. ? Thank you! I appreciate the advice! Quote Link to comment Share on other sites More sharing options...
Old Timey Retro Gamer Posted January 20, 2021 Author Share Posted January 20, 2021 26 minutes ago, Kiwi said: Yeah, you may need to turn on file extension in windows. I'm not sure why it is off by default. When you save a bas file. Type, yourgame.bas and pick .all file instead of txt in the drop down window. Thank you. When I saved it, I think I did set it up as a txt file, so that may have been why then! 1 Quote Link to comment Share on other sites More sharing options...
Old Timey Retro Gamer Posted January 20, 2021 Author Share Posted January 20, 2021 4 Quote Link to comment Share on other sites More sharing options...
PuzZLeR Posted January 21, 2021 Share Posted January 21, 2021 Right on! ? PS: I spelt nanochess wrong earlier, but corrected it in my comment. So sorry nanochess if you're reading. It was an honest error. ? 2 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.