+OLD CS1 Posted April 5, 2016 Share Posted April 5, 2016 Can anyone provide, or tell me exactly where I can find, the disassembly of the ISR sound playing routine? I am trying some tricks with sound lists but it seems I am breaking the ISR player in doing so, so the disassembly would be very helpful. Quote Link to comment Share on other sites More sharing options...
+InsaneMultitasker Posted April 5, 2016 Share Posted April 5, 2016 Check the TI Intern or the ROM source w/comments that Lee recently worked on. 0x9E0 or thereabouts. Thierry's site does a nice job of explaining what is going on. http://www.unige.ch/medecine/nouspikel/ti99/ints.htm#sounds Quote Link to comment Share on other sites More sharing options...
Tursi Posted April 6, 2016 Share Posted April 6, 2016 Starts at >9EC in TI Intern Quote Link to comment Share on other sites More sharing options...
+OLD CS1 Posted April 6, 2016 Author Share Posted April 6, 2016 Perfect; thanks, guys. Quote Link to comment Share on other sites More sharing options...
+OLD CS1 Posted April 6, 2016 Author Share Posted April 6, 2016 The reason I need to see what the code is doing is because, in theory, I should be able to feed any arbitrary number of bytes per row into the sound list to the same tone or volume registers to do things like sweeps or psuedo-ADSR envelopes. When I test this in Classic 99 I do not get expected results, and I have not been able to get on iron recently so I figure I would just look under the hood. Quote Link to comment Share on other sites More sharing options...
sometimes99er Posted April 6, 2016 Share Posted April 6, 2016 The reason I need to see what the code is doing is because, in theory, I should be able to feed any arbitrary number of bytes per row into the sound list to the same tone or volume registers to do things like sweeps or psuedo-ADSR envelopes. When I test this in Classic 99 I do not get expected results, and I have not been able to get on iron recently so I figure I would just look under the hood. You can make one change to frequency/control and volume for each of the 4 channels, - that's a max of 8 soundchip operations per row. If you make several changes to any of the 8 options in a row, you'll probably only hear the last change (apart from glitches). Here at my end, playback in Classic99 is a bit erratic. Now and then, and before posting, I test in MESS. Quote Link to comment Share on other sites More sharing options...
Tursi Posted April 6, 2016 Share Posted April 6, 2016 It just dumps the sound bytes, in theory you could send multiple changes in a single frame. I guess if you timed the duration between byte loads you might get some kind of finer control, but then a large gap until the next one? I don't know enough theory to know what that'd sound like. Classic99 only updates its audio system once per frame, though, so what you're trying for won't work there at the moment. That IS a bug I care about, though. Quote Link to comment Share on other sites More sharing options...
Willsy Posted April 6, 2016 Share Posted April 6, 2016 There's a sound player here: http://atariage.com/forums/topic/242190-general-turbo-forth-questions/?p=3393794 But I warn you, it's written in Forth assembler, so your brains are liable to leak out of your ears 3 Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted April 6, 2016 Share Posted April 6, 2016 There's a sound player here: http://atariage.com/forums/topic/242190-general-turbo-forth-questions/?p=3393794 But I warn you, it's written in Forth assembler, so your brains are liable to leak out of your ears Hey...It's just Yoda-ized Assembler! ...lee Quote Link to comment Share on other sites More sharing options...
+OLD CS1 Posted April 6, 2016 Author Share Posted April 6, 2016 There's a sound player here: http://atariage.com/forums/topic/242190-general-turbo-forth-questions/?p=3393794 But I warn you, it's written in Forth assembler, so your brains are liable to leak out of your ears Well, that happened long ago, so I should be fine 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.