LGB
Newbie
Posts: 9
|
Post by LGB on Feb 8, 2011 6:18:25 GMT -5
I've already talked about this with some people (including Jeri on facebook and tlr in mail, also credit for 1570 here, for mentioning that disabling bad line emulation can also help to keep "speed of DMA stable", I mean avoiding color fetch, which can cause stolen cycles - though, I have to admit: I haven't tested it yet!). It's about using DMA to play audio digi on DTV. The idea description itself: cubed-borka.blogspot.com/2011/02/audio-sample-playback-on-c64dtv-without.htmlSome assembly source: codebase64.org/doku.php?id=dtv_dma_sid_digi_playerI'm a totally beginner in DTV coding, so hopefully my idea is not a boring one, and also the implementation (the source) is not so horrible which cause someone to die :) Also, it's possible that I am too naive, and I am not the first, who "invented" this. Anyway, I haven't heard about that till now (which does not mean anything of course).
|
|
|
Post by streetuff on Feb 8, 2011 12:13:30 GMT -5
|
|
LGB
Newbie
Posts: 9
|
Post by LGB on Feb 8, 2011 12:32:39 GMT -5
Ahaa. never mind, 1 discovered myself too then, it seems ... Btw, what was the exact method you used? I had the idea originally, to have an "audio buffer" (circular) and the player code can "render" audio there, while DMA can "play" the "rendered" audio, just take must be care that no under-/overflow will be done. I had that idea when I was thinking about "my idea" to write some kind of MOD player for DTV (a general mod play I mean, not something which is built-in a demo). But then it seems, it wouldn't be so much original thing to do either by me
|
|
|
Post by streetuff on Feb 8, 2011 17:12:40 GMT -5
maybe peiselulli can elaborate on this. he wrote the modplayer...
|
|
|
Post by peiselulli on Feb 21, 2011 17:17:40 GMT -5
I had done it with a double buffer and rendering and a lot (ca 500KB) of speed code. Maybe I should release the source of my modplayer because I'm discontinued the development of it ...
|
|