Search found 786 matches

by Shiru
Wed May 02, 2007 8:08 am
Forum: Sound
Topic: Simple 4-channel sample player
Replies: 45
Views: 60792

Ok, here is first test ( RS , MF ), to be sure what M68K not hangs by some reasons (for example, in waiting loop). Now when you press keys, some messages displays, usually just 'wait after new sample' for short time. Try to stress program, and see what it will display. Also, when you get silence, ch...
by Shiru
Wed May 02, 2007 6:49 am
Forum: Sound
Topic: Simple 4-channel sample player
Replies: 45
Views: 60792

TmEE co.(TM) wrote:It is unstable on real hardware, 10seconds of stressing and silence.
I mean, it's happens every time when you tried to stress program? Or it's happens only sometimes?
by Shiru
Wed May 02, 2007 6:05 am
Forum: Sound
Topic: Simple 4-channel sample player
Replies: 45
Views: 60792

Your code doesn't work perfectly... after "stressing" it, it went silent. Only reset helps, I don't know if it happens on emulators. I tried to stress it in KMod, Gens32, Fusion, by some minutes each - without success (still works). Is it stable problem on real hardware? If so, I can make some test...
by Shiru
Tue May 01, 2007 9:52 pm
Forum: Sound
Topic: Simple 4-channel sample player
Replies: 45
Views: 60792

SegaCD ? the goal is to have that working on a simple genesis =) At least it's mine :p I also share this point, but mainly because I can easily go and buy new SMD clone for ~$20 (or get an used one for free), but I must spend very many time and money to get a SegaCD (by the way, I had one long ago,...
by Shiru
Tue May 01, 2007 9:24 pm
Forum: Sound
Topic: Simple 4-channel sample player
Replies: 45
Views: 60792

It's something exactly known and independant from the system. ... Maybe I not understand clearly what you're saying. But I can say - M cycle not always take 4T, it has range of 3..5T - look here for additional info. And I can't be wrong about instructions timing in case with no-wait systems because...
by Shiru
Tue May 01, 2007 9:56 am
Forum: Sound
Topic: Simple 4-channel sample player
Replies: 45
Views: 60792

I meant this: I meant IF there would have been several PCM channels and reprogrammable timer for each, there would not be need for software mixing... If you imagine that you have these several DAC's and timers, and try to make sample player for it, you get what I meant. You don't need to have many ...
by Shiru
Mon Apr 30, 2007 9:00 pm
Forum: Sound
Topic: Simple 4-channel sample player
Replies: 45
Views: 60792

I'll upload fixed version later, when implement empty buffer in ROM, hope it fix 'static' on real hardware, which TmEE co.(TM) mentioned. Sorry for delay, I made new version two days ago, but not had access to internet. Here is it (or here ), both source code and compiled demo. TmEE co.(TM) , pleas...
by Shiru
Sat Apr 28, 2007 2:12 am
Forum: Sound
Topic: Simple 4-channel sample player
Replies: 45
Views: 60792

About not working in Fusion and not stable run on real hardware - this is a my very stupid mistake, I forgot about stack pointer on Z80 startup (so return from call wrYmPortA sends Z80 to nowhere). Just add ld sp,#1fff at start of code (before or after di ), and it will work. I'll upload fixed versi...
by Shiru
Fri Apr 27, 2007 9:49 pm
Forum: Sound
Topic: Simple 4-channel sample player
Replies: 45
Views: 60792

Sometime some instructions do more than their 7 or 11 cycles because of the bus delay (we have one extra cycle then : 8 or 12). I think you are aware of that Z80 behavior but i'm not sure you take care of that in the cycle counting. Afaik, Z80 in SMD works that way: - Z80 RAM is a separate SRAM IC,...
by Shiru
Fri Apr 27, 2007 4:55 pm
Forum: Sound
Topic: Simple 4-channel sample player
Replies: 45
Views: 60792

I don't think it can be useful in real programs Really? Why? :P Because this player takes almost all time of Z80 for sample playing only, and it's very hard to add music player on Z80 side. Music in sample format take too much space (30sec=~469K). So there is only solution which I mentioned above -...
by Shiru
Fri Apr 27, 2007 5:35 am
Forum: Sound
Topic: Simple 4-channel sample player
Replies: 45
Views: 60792

Simple 4-channel sample player

It's not question about. It's just my 4-channel sample player, which I wrote in testing purposes in past 3 days (and finished today). Maybe it can be useful for someone, possible in educational purposes - because I don't think it can be useful in real programs (until you write music player for M68K ...
by Shiru
Fri Apr 27, 2007 3:25 am
Forum: Tools
Topic: TFM Music Maker
Replies: 278
Views: 344958

There is plans for TFM music compo on upcoming DiHalt'07 party, although nobody sure about it (for now it's even not included in compo list). TurboSound FM compo added to compo list. Two works from one author max, not more than 3 minutes, only 15 works will be showed/voted. Party will be in 2-3 Jun...
by Shiru
Thu Apr 26, 2007 4:31 pm
Forum: Blabla
Topic: NES programming
Replies: 39
Views: 27424

evildragon wrote: it's a little harder to program.. the main dificulty, is the lacking of scrolling diagonaly.. you have to work around that, like how Mario 3 did...
It's nothing that many games uses 'lacking' diagonal scroll?;)
by Shiru
Thu Apr 26, 2007 2:59 pm
Forum: Tools
Topic: PSG and Tracker
Replies: 2
Views: 4725

I'm did optimized player of this tracker for Martin long ago (still not in published version). I don't think it useful for SMD, though - because PSG is very, very limited, and we have much advanced synth, YM2612 on SMD (and already two trackers with players for it).
by Shiru
Wed Apr 25, 2007 7:13 pm
Forum: Blabla
Topic: NES programming
Replies: 39
Views: 27424

evildragon wrote:i already know how im gonna alocate the NES sound channels:
Most of games uses all channels for music, and take one of it when sfx need to play. But seems you have your very own way with 1-ch music;)