English Amiga Board


Go Back   English Amiga Board > Main > Retrogaming General Discussion

 
 
Thread Tools
Old 29 April 2018, 19:37   #941
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
It's been a while, but I think the code there will do the equivalent of
memset(a_buffer, 0, 8*a_len);
.
Leffmann is offline  
Old 29 April 2018, 21:01   #942
RoC
Registered User
 
Join Date: May 2011
Location: Italy
Posts: 214
Quote:
Originally Posted by bLAZER View Post
Ron Klaren should work. Not sure why it doesn't. I'll see if I can fix it.
Great
RoC is offline  
Old 30 April 2018, 00:07   #943
bLAZER
Awesome to the max
 
bLAZER's Avatar
 
Join Date: Mar 2007
Location: Gothenburg / Sweden
Age: 47
Posts: 1,006
Quote:
Originally Posted by Leffmann View Post
It's been a while, but I think the code there will do the equivalent of
memset(a_buffer, 0, 8*a_len);
.
OK! So how about the rest:

1:
Code:
asm
(
	mov  ecx, this
	mov	 eax, [a_fadetime]
	mov  ebx, [ecx + m_samplerate]
	imul ebx
	mov  ebx, [ecx + m_tpc]
	idiv ebx
	mov  [ftsmpls], eax
);
2:
Code:
asm
(
	mov  ecx, this
	mov  eax, [a_time]
	mov  ebx, [ecx + m_samplerate]
	imul ebx
	mov  ebx, [ecx + m_tpc]
	idiv ebx
	mov  [destsmpl], eax
);
3:
Code:
 
asm
(
	mov eax, [nexttime]
	sub eax, [time]
	mov ebx, [usecs]
	mul ebx
	mov ebx, [td2]
	div ebx
	mov ecx, [smplrem]
	add [ecx], edx
	adc eax, 0
	mov ecx, [smpldelta]
	mov [ecx], eax
);
bLAZER is offline  
Old 30 April 2018, 19:35   #944
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
The
mov ecx, this
looks like it's a C++ thiscall for class methods, but I'm not sure, so there's some guesswork here:

Code:
1:
ftsmpls = int32_t(int64_t(a_fadetime) * this->m_samplerate / this->m_tpc);


2:
destsmpl = int32_t(int64_t(a_time) * this->m_samplerate / this->m_tpc);


3:
uint64_t tdusecs = uint64_t(nexttime-time)*usecs;
uint32_t delta = uint32_t(tdusecs/td2), rem = tdusecs%td2;

if (*smplrem+rem < *smplrem)  ++delta;

*smplrem += rem;
*smpldelta += delta;
Leffmann is offline  
Old 01 May 2018, 03:15   #945
bLAZER
Awesome to the max
 
bLAZER's Avatar
 
Join Date: Mar 2007
Location: Gothenburg / Sweden
Age: 47
Posts: 1,006
Quote:
Originally Posted by Leffmann View Post
The
mov ecx, this
looks like it's a C++ thiscall for class methods, but I'm not sure, so there's some guesswork here:
[/code]
Thanks! I really appreciate it! My mistake, I meant port from asm to c++, not c. I'll see if I can get something working here. I'll let you know. Let me know if you'll think of something.
bLAZER is offline  
Old 01 May 2018, 03:32   #946
bLAZER
Awesome to the max
 
bLAZER's Avatar
 
Join Date: Mar 2007
Location: Gothenburg / Sweden
Age: 47
Posts: 1,006
Well, I got it compiling now, that's a start. But only some noise and/or crashes. Hard to tell where the fault is, I'll get back to you when I know more.

Edit: I actually got some music playing now! So big thanks Leffman! Your asm skillz rocks!

Last edited by bLAZER; 01 May 2018 at 03:44.
bLAZER is offline  
Old 03 May 2018, 20:23   #947
bLAZER
Awesome to the max
 
bLAZER's Avatar
 
Join Date: Mar 2007
Location: Gothenburg / Sweden
Age: 47
Posts: 1,006
V2M in BZR Player:
[ Show youtube player ]
bLAZER is offline  
Old 07 July 2018, 14:43   #948
Enverex
Fantasy Man!
 
Enverex's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 1,353
Hey bLAZER, quick question: What do you use for "CUST" file playback? Does it fallback to UADE?

I ask because nothing seems to play the Speedball 2 intro correctly. UADE gets it wrong and BZR sounds wrong in the same fashion so I assume it's using UADE for the backend in that instance.
Enverex is offline  
Old 09 July 2018, 19:16   #949
bLAZER
Awesome to the max
 
bLAZER's Avatar
 
Join Date: Mar 2007
Location: Gothenburg / Sweden
Age: 47
Posts: 1,006
Yes, it's using UADE. You can see what engine is used in the file information window. Right click on player to get a pop-up menu.
bLAZER is offline  
Old 08 April 2019, 21:42   #950
bLAZER
Awesome to the max
 
bLAZER's Avatar
 
Join Date: Mar 2007
Location: Gothenburg / Sweden
Age: 47
Posts: 1,006
So, here's a new version that I should've release a while ago...

1.06 Released

New features:
  • Plays Farbrausch V2M files
  • Plays Wonderswan (.wsr) files
  • Settings window now works fine with a 125% DPI setting in Windows
Bug fixes:
  • Close-button on most windows disappeared when pressed


Get BZR Player 1.06 here (And join the Facebook page)
bLAZER is offline  
Old 09 April 2019, 08:23   #951
onkelarie
Registered User
 
onkelarie's Avatar
 
Join Date: Aug 2004
Location: Spijkenisse / the Netherlands
Age: 54
Posts: 525
Awesome, keep up the good work!
onkelarie is offline  
Old 09 April 2019, 11:02   #952
Kenshigros
Registered User
 
Join Date: Dec 2018
Location: Saint-Tropez/FRANCE
Posts: 32
Very nice indeed
Can we donate to help you with your hard work ?
Kenshigros is offline  
Old 09 April 2019, 11:18   #953
wanderer
I want an A1000
 
wanderer's Avatar
 
Join Date: Sep 2004
Location: Pac-Land
Posts: 738
Many thanks for the new version bLAZER. Hope you can also find the time for some fine wallpapers.

Quote:
Originally Posted by Kenshigros View Post
Very nice indeed
Can we donate to help you with your hard work ?
There's a Donate button in the BZR Player webpage.
wanderer is offline  
Old 27 May 2019, 06:10   #954
honx
Registered User
 
honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,559
nice! today i stumbled across your player. have to try it! since deliplayer is dead for several years now, this could be alternative i'm looking for.

btw. wher can i download these .v2m sound files you showed in this video?
Quote:
Originally Posted by bLAZER View Post
V2M in BZR Player:
[ Show youtube player ]

//edit: unfortunately i can't try it. panda endpoint protection immediatly deletes bzrplayer.exe as malware.

Last edited by honx; 25 February 2020 at 15:37.
honx is offline  
Old 27 May 2019, 08:16   #955
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Is a false positive, I with antivirus NOD32 I have no problem downloading BZR Player

Virustotal: No engines detected this URL:

https://www.virustotal.com/gui/url/5...d746/detection
AMIGASYSTEM is offline  
Old 27 May 2019, 08:25   #956
chip
Registered User
 
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,942
Anyway the antivirus should have a way to exclude monitoring of certain application

At least Kaspersky has it, i don't know panda
chip is offline  
Old 27 May 2019, 08:39   #957
Genju
Registered User
 
Genju's Avatar
 
Join Date: Mar 2005
Location: Germany
Age: 43
Posts: 73
Very nice player! Just a quick question, is there any way to make the UADE or flod plugins use sinc resampling?
Genju is offline  
Old 27 May 2019, 11:06   #958
Kenshigros
Registered User
 
Join Date: Dec 2018
Location: Saint-Tropez/FRANCE
Posts: 32
Is there a way to adapt/convert players/replayers from Modizer (iOS) to BZR’s?
(It s a crazy question stupid question I know buyback since the creator of Modizer refuses to make a PC version of it) ?
Thanks
Kenshigros is offline  
Old 27 May 2019, 23:21   #959
bLAZER
Awesome to the max
 
bLAZER's Avatar
 
Join Date: Mar 2007
Location: Gothenburg / Sweden
Age: 47
Posts: 1,006
@Genju Sorry, if it's not in the options: no.
@Kenshigros Not directly, but it's using 3rd part libs (what I can see mostly same as BZR Player uses) for all the formats. What format are you interested in?
bLAZER is offline  
Old 28 May 2019, 22:42   #960
Frog
Junior Member
 
Frog's Avatar
 
Join Date: Aug 2001
Location: France
Posts: 1,385
Wink

Quote:
Originally Posted by honx View Post
btw. wher can i download these .v2m sound files you showed in this video?
i upload my V2M collection (365 files) for you

Finally i remember where i grab my collection : ftp://ftp.modland.com/pub/modules/V2/ Enjoy
Attached Files
File Type: rar V2M_music_collection.rar (1.56 MB, 78 views)

Last edited by Frog; 28 May 2019 at 23:10. Reason: updating
Frog is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amiga music player on PC moriez Amiga scene 38 07 September 2020 16:23
Music player with Batman glr Looking for a game name ? 2 04 January 2012 14:02
Best music player quantum112 support.Apps 9 06 January 2010 09:59
FAT Player MikMod v5 (amiga mod player for Nintendo DS) spajdr Amiga scene 0 14 August 2008 21:55
New Amiga Music Player Ian Amiga scene 1 08 October 2001 20:19

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:32.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13281 seconds with 16 queries