jeffry Posted August 31, 2018 Share Posted August 31, 2018 Is there away for bataribasic to send phrases to the atarivox without using the data statement? I would like to generate the phrases dynamically. Having to use the data statements requires the phrases to be hard coded. Ultimately what I want to do is create a program that can modify 6 or so variables each a speakerjet code and then send it to the AtariVox. With this I could try different combos until i got the sound I wanted. I have challeneges when it comes to creating the phrases and getting the results i want. This tool would greatly help me in that endeavor Thanks for your time and any help you can provide Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted August 31, 2018 Share Posted August 31, 2018 If it's not something answered in the documentation or search it probably means you're going to have to access it from assembly. Did a search myself and did not find a clear answer. Quote Link to comment Share on other sites More sharing options...
+Karl G Posted August 31, 2018 Share Posted August 31, 2018 Looking at RevEng's bB example and the SpeakJet driver, I really think you can just pass a bB variable to the SPEAK macro, and fill that variable and succeeding variables with the data you need. Here's a modified version of RevEng's bB "game over" example, modified to use RAM instead of ROM. It compiles, but is otherwise untested, since I'm not in the same city as my AtariVox at the moment. ram.bas speakjet.inc 2 Quote Link to comment Share on other sites More sharing options...
RevEng Posted August 31, 2018 Share Posted August 31, 2018 [edit - Karl G scooped me. ] In bB, RAM and ROM are just memory locations. Usually what you do to one, you can do to another. (except writing to ROM, of course) For your utility, you can point the SPEAK command at a bB variable, and it will keep moving through consecutive variables until it finds one containing the 255 terminator. 1 Quote Link to comment Share on other sites More sharing options...
jeffry Posted September 2, 2018 Author Share Posted September 2, 2018 I really wanted to thank you. I was able to get this working... Thank you very much!! 1 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.