Jump to content


batariBasic Atarivox Question

4 replies to this topic

#1 jeffry OFFLINE  


    Space Invader

  • 15 posts

Posted Fri Aug 31, 2018 12:17 AM

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

#2 Gemintronic ONLINE  


    Jason S. - Lead Developer & CEO

  • 9,363 posts

Posted Fri Aug 31, 2018 6:06 AM

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.

#3 Karl G OFFLINE  

Karl G


  • 852 posts

Posted Fri Aug 31, 2018 6:29 AM

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.


Attached File  ram.bas   926bytes   7 downloads


Attached File  speakjet.inc   1.65KB   6 downloads

#4 RevEng OFFLINE  


    Bit Player

  • 5,214 posts
  • Location:bottom of the stack

Posted Fri Aug 31, 2018 6:37 AM

[edit - Karl G scooped me. :thumbsup: ]

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.

#5 jeffry OFFLINE  


    Space Invader

  • Topic Starter
  • 15 posts

Posted Sun Sep 2, 2018 5:50 PM

I really wanted to thank you. 

I was able to get this working... 


Thank you very much!!

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users