23 October 2015, 18:10 | #101 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,717
|
The problem with using SDL2 is that it has no support for PPC, AFAIK... It would put PPC Macs out of the equation, and I constantly make a build for those.
I could try the code with SDL2 and see if the SDL_Flip() is faster, and if so, try to use some #ifdef magic to make the code compilable with both SDL2 and SDL1.2. |
23 October 2015, 18:16 | #102 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
Would be interesting to know it. Don't know how mature is the MorphOS SDL2 port but yes, would be interesting.
You are the man olav! |
23 October 2015, 19:55 | #103 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,717
|
Just took a look at SDL2.0, and it looks like a pain in the *** to maintain SDL1.2/SDL2.0 compatibility with #ifdefs. So I'm not going to bother, it probably won't be much faster anyways.
|
23 October 2015, 19:59 | #104 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
No problem mate. Keep the good work.
|
17 September 2019, 08:34 | #105 | |
Registered User
Join Date: Feb 2018
Location: Poland
Posts: 363
|
This post is from 2011 so watch out!
Quote:
It interleaves sample numbers 11 and 12 in song but the latter one is there only for setting volume. Before sample 12 is reached, 11 is set again so 12 is never played but contributes to sample 11s volume. |
|
17 September 2019, 12:20 | #106 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,717
|
The ProTracker 2.3D clone replayer is directly ported from the original assembly replayer code these days (+ I wrote a Paula "emulator" for register update after read, so that sample swapping works exactly the same as on Amiga). It's much more accurate than it used to be back then. Also I have learnt a lot since 2011 btw, so I wouldn't really quote something that old...
|
17 September 2019, 12:42 | #107 |
Registered User
Join Date: Feb 2018
Location: Poland
Posts: 363
|
I quoted it just to place my post in the context, since I don't see forum to link my reply to the original post. I'm not a coder and I'm more interested in tunes that did use this bug/feature or was affected by it, incidentally or not. Did you find any other examples of Protracker modules, besides those 3 you listed in the original post, which I refer to?
|
17 September 2019, 12:50 | #108 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,717
|
I have probably found many throughout the years, but nothing that I remember in particular right now.
|
21 September 2019, 02:54 | #109 |
Registered User
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
|
Does this have anything to do with the bug in Vroom/VF^CPY intro?
|
21 September 2019, 11:23 | #110 | |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,717
|
Quote:
The replayer in the VF cracktro has a design error with restarting the song after the last position was played. Instead of setting the current pattern to the first entry in the "order table", it sets it to 0. This is wrong. In the song, position 0 has pattern 1, position 1 has pattern 0 (according to the table), and so on. Pattern 0 (pos 1) starts with a portamento on the lead channel, so after the song wraps it goes from sample 7 to sample 6 with the portamento. The combination of sample swapping and portamento can give really strange results, I don't fully understand how it works to be honest. The song wraps fine in ProTracker (and my clone). Last edited by 8bitbubsy; 21 September 2019 at 11:30. |
|
21 September 2019, 11:44 | #111 |
Registered User
Join Date: Sep 2019
Location: Adelaide Australia
Posts: 29
|
Sorry to post in an old thread, just wanted say this is awesome and thank you for making it.
|
21 September 2019, 12:01 | #112 |
Registered User
Join Date: Feb 2018
Location: Poland
Posts: 363
|
It plays wrong pattern after the song loops. That observation is correct. But it has nothing to do with sample swapping. You can get exactly same results in Protracker if you set first played pattern in the song to pattern 0, even if sample number is not changed inbetween.
|
21 September 2019, 12:19 | #113 | |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,717
|
Quote:
|
|
21 September 2019, 14:00 | #114 |
Registered User
Join Date: Feb 2018
Location: Poland
Posts: 363
|
Precisely.
Anyway, that module implements by hand 'modulation by loop shifting' I mentioned somewhere there http://eab.abime.net/showpost.php?p=...&postcount=114. Frame shifts in samples 06-0B which are exactly the same otherwise. Too bad we never had a tracker that allowed us such things. By use of commands or automating it with envelopes or kind of lfo's. This could enrich chiptunes sounds on Amiga a little bit and save storage space and sample slots like in the case of track "Monday". Last edited by no9; 21 September 2019 at 14:06. |
21 September 2019, 14:10 | #115 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,717
|
Yes I've seen that in a couple of modules, classic trick to get multiple timbres out of the lead/waveform. This is pretty much the most common reason for using sample swapping.
|
21 September 2019, 15:11 | #116 |
Registered User
Join Date: Feb 2018
Location: Poland
Posts: 363
|
Of course it is common way to modulate sounds in chiptunes. I'm saying that in theory there are smarter ways to achieve the same, or even better results without going beyond standard capabilities of Amiga hardware. And without throwing much of a burden on CPU. Unfortunately that path of tracker evolution left unexplored on Amiga.
|
04 October 2019, 14:15 | #117 | |
Registered User
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
|
Quote:
|
|
04 October 2019, 14:31 | #118 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,717
|
|
21 January 2020, 23:24 | #119 |
Registered User
Join Date: Feb 2018
Location: Poland
Posts: 363
|
I have an issue with MOD2WAV function. It renders wav file twice long and the result seems buggy.
|
21 January 2020, 23:27 | #120 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,717
|
I just gave it a quick test and it seems to work fine here...
What OS are you on, and what PT2 clone version are you running? The latest version is v1.02: https://16-bits.org/pt2.php If it still fails with the latest version, then maybe it's a bug with the specific .mod you are using. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SDL problem. | tolkien | Coders. C/C++ | 10 | 24 March 2015 03:29 |
XAMOS - new cross-platform rewrite of jAMOS | Mequa | News | 24 | 14 December 2012 09:49 |
use SDL 1.2.13 with AmyDevCpp | TheDarkCoder | Coders. General | 3 | 18 August 2009 20:55 |
WinUAE w/SDL | mangamuscle | request.UAE Wishlist | 8 | 31 January 2007 11:41 |
What do you know about Amiga SDL? | Tolismlf | Amiga scene | 6 | 15 November 2004 18:54 |
|
|