I have a ti-84 cse and I have gotten into assembly programming, I really want to know how play sound out of the link port, I mean I know sound is produced by sending bytes through the link port but I don't know how exactly to do that, so any help will be greatly appreciated!
An out instruction to port 0 will do the trick.


Code:
 ld a,0     ; Set both lines high
 out (0),a

 ld a,2     ; Set tip high, ring low
 out (0),a

 ld a,1     ; Set tip low, ring high
 out (0),a

 ld a,3     ; Set both low
 out (0),a


Here's the relevant wikiTI page:

http://wikiti.brandonw.net/index.php?title=83Plus:Ports:00
MateoConLechuga wrote:
An out instruction to port 0 will do the trick.


Code:
 ld a,0     ; Set both lines high
 out (0),a

 ld a,2     ; Set tip high, ring low
 out (0),a

 ld a,1     ; Set tip low, ring high
 out (0),a

 ld a,3     ; Set both low
 out (0),a


Here's the relevant wikiTI page:

http://wikiti.brandonw.net/index.php?title=83Plus:Ports:00


Oh okay, well do you know how to play specific frequencies.

edit:btw I tried the code above but it didn't seem to work, suggestions anybody?
After doing some more research I found that sound can be made by changing port 0 from 0 to 3 back and forth at a certain frequency but I can't find any example code that would show me how to do that.

Btw, I found my information here, https://www.cemetech.net/forum/viewtopic.php?t=5240
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement