English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1494
Search took 0.14 seconds.
Search: Posts Made By: 8bitbubsy
Forum: Coders. Asm / Hardware 28 October 2020, 14:36
Replies: 68
Views: 3,165
Posted By 8bitbubsy
I tried to move the two samples byte by byte...

I tried to move the two samples byte by byte instead of as a word, and it was slightly slower no matter what I did. I also tried to do a benchmark test on my A1200 68030 to figure out how much worse...
Forum: Coders. Asm / Hardware 28 October 2020, 12:51
Replies: 22
Views: 1,242
Posted By 8bitbubsy
I wanted to lower the time it takes to initialize...

I wanted to lower the time it takes to initialize the program, hence why I INCBIN it instead. Anyway, I don't need it to be aligned to 512 after all, so it works fine now with CNOP 0,2 :)
Forum: Coders. General 25 October 2020, 21:47
Replies: 168
Views: 42,200
Posted By 8bitbubsy
I'm glad you like it. :>

I'm glad you like it. :>
Forum: Coders. General 25 October 2020, 20:55
Replies: 168
Views: 42,200
Posted By 8bitbubsy
I don't think that works, no. This is not a...

I don't think that works, no. This is not a normal way of accessing drives in Windows, and drives can have the same volume labels, etc.
Forum: Coders. General 25 October 2020, 18:14
Replies: 168
Views: 42,200
Posted By 8bitbubsy
It will initially stay in the current user's...

It will initially stay in the current user's directory per default, if the path(s) in the config were not present, or couldn't be accessed.

I tested with another drive in protracker.ini:...
Forum: Coders. Asm / Hardware 25 October 2020, 10:59
Replies: 22
Views: 1,242
Posted By 8bitbubsy
You made me really think about it, and it seems...

You made me really think about it, and it seems like I maybe don't need this to be aligned anymore. Earlier I was doing something like OR'ing (yes I had my reasons to do this) a value to the address...
Forum: Coders. General 25 October 2020, 10:43
Replies: 168
Views: 42,200
Posted By 8bitbubsy
It doesn't require admin rights. I did a test...

It doesn't require admin rights. I did a test myself:
DEFAULTDIR=C:\Users\Olav\Documents\hi test\modules
SMPDIR=C:\Users\Olav\Documents\hi test\samples

And it works like it should for me. When I...
Forum: Coders. Asm / Hardware 24 October 2020, 16:26
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Hm yes, you are right. This will not work...

Hm yes, you are right. This will not work correctly because it will keep branching to nc until one integer of the sampling position has been reached (e.g. d0 counter is not respected until that has...
Forum: Coders. Asm / Hardware 24 October 2020, 16:21
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Yes, that's what I was thinking of. Though you...

Yes, that's what I was thinking of. Though you still have to ext.w both of them to calculate the delta sample (-256..254).
Forum: Coders. Asm / Hardware 24 October 2020, 15:44
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Yeah, that could maybe help. :) I think most...

Yeah, that could maybe help. :)
I think most songs will have an average sampling frequency above ~20kHz (28603.99(mixrate)*0.7), but it might still help for some songs.

I'll try this when I get...
Forum: Coders. Asm / Hardware 24 October 2020, 13:09
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Ok, good to know. Regarding having two mixer...

Ok, good to know.

Regarding having two mixer sets, well... I'd have to make sure that the integer sampling position wouldn't change inside the mixing loop (which is not guaranteed if delta is <...
Forum: Coders. Asm / Hardware 24 October 2020, 11:18
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Oh no, I totally forgot that this has a possible...

Oh no, I totally forgot that this has a possible word access misalignment! If only one could use addx on an address register, then I could add the sampling position to a3 before the loop, then read...
Forum: Coders. Asm / Hardware 23 October 2020, 16:51
Replies: 68
Views: 3,165
Posted By 8bitbubsy
That might be a problem, since the pre-offseting...

That might be a problem, since the pre-offseting off the volume LUTs may mess up the 32-bit alignment in the actual look-up.
Forum: Coders. Asm / Hardware 23 October 2020, 12:29
Replies: 68
Views: 3,165
Posted By 8bitbubsy
But is a longword read as fast as a word read on...

But is a longword read as fast as a word read on 68020?
Forum: Coders. Asm / Hardware 23 October 2020, 11:42
Replies: 68
Views: 3,165
Posted By 8bitbubsy
That table is the same for both L and R volume...

That table is the same for both L and R volume (it's pre-offset with the current voice volume), and it's already 256kB in size. I'd rather not double that just to make it a few percent faster at max....
Forum: Coders. Asm / Hardware 22 October 2020, 15:26
Replies: 68
Views: 3,165
Posted By 8bitbubsy
a/b: Ah yes, that's just a typo when I'm making...

a/b: Ah yes, that's just a typo when I'm making my posts, it's correct in the actual source code. I'll edit them again.
Tomislav: It works as intended, and I don't see any problems with it. I'm...
Forum: Coders. Asm / Hardware 22 October 2020, 13:20
Replies: 68
Views: 3,165
Posted By 8bitbubsy
This was actually a bit slower on my 68030 50MHz...

This was actually a bit slower on my 68030 50MHz A1200 benchmark, for some reason??


I pre-centered the volume LUT pointers so that they can handle a signed look-up (still same LUT size), then I...
Forum: Coders. Asm / Hardware 21 October 2020, 23:30
Replies: 68
Views: 3,165
Posted By 8bitbubsy
That's an extra look-up + word read from memory,...

That's an extra look-up + word read from memory, can that possibly be faster?
Also no need to put instructions inbetween audio buffer writes, I'm not using chipmem here. :)

add (An,Dn),(An)+ is...
Forum: Coders. Asm / Hardware 21 October 2020, 23:20
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Just benchmarked it on my 68030 50MHz A1200, and...

Just benchmarked it on my 68030 50MHz A1200, and it's about 2-4% slower.
Forum: Coders. Asm / Hardware 21 October 2020, 22:36
Replies: 68
Views: 3,165
Posted By 8bitbubsy
I'm mixing to a 16-bit fastmem stereo buffer,...

I'm mixing to a 16-bit fastmem stereo buffer, then in the post-mixing stage I use a post-mixing table to convert it to pre-clamped, normalized 14-bit values for Paula (yes, I use 14-bit output).
I...
Forum: Coders. Asm / Hardware 21 October 2020, 22:12
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Ah, like that! Yes, it made it slightly faster....

Ah, like that! Yes, it made it slightly faster. :)

So now we're left with:

Stereo mix:

; d0.w = bytes to mix
MIXSF MACRO
move.w (a3,d2.l),d3 ; d3.w = 2x signed 8-bit samples
...
Forum: Coders. Asm / Hardware 21 October 2020, 20:56
Replies: 68
Views: 3,165
Posted By 8bitbubsy
d5 is sadly in use. EDIT: d5.l can be used for...

d5 is sadly in use.
EDIT: d5.l can be used for the center mixer. Now, I'm a bit confused as to what you meant I could do with d5.

Here's the current mixers:

Stereo mix:

; d0.w = bytes to...
Forum: Coders. Asm / Hardware 21 October 2020, 20:31
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Awesome! That worked and gave a nice speed...

Awesome! That worked and gave a nice speed improvement.
Forum: Coders. Asm / Hardware 21 October 2020, 19:07
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Thanks, that was slightly faster. I decided to...

Thanks, that was slightly faster. I decided to store $00ff in d4.w for the and.w, which additionally made it a tiny bit faster.


move.w (a3,d2.l),d3
move.b d3,d5
ext.w d5
asr.w #8,d3...
Forum: Coders. Asm / Hardware 21 October 2020, 17:54
Replies: 68
Views: 3,165
Posted By 8bitbubsy
No I can't, because the fraction changes for...

No I can't, because the fraction changes for every output sample!

EDIT: Ok, the LUT method is faster on my 68030 50MHz Amiga! So that's good news. Also I edited the code again as I had to replace...
Forum: Coders. Asm / Hardware 21 October 2020, 17:08
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Sorry for the double-post, but I managed to fix...

Sorry for the double-post, but I managed to fix the code now. And after benchmark, it seems to be just a tiny bit slower now. I updated the post with my working version.

EDIT: ARGH! I still...
Forum: Coders. Asm / Hardware 21 October 2020, 16:55
Replies: 68
Views: 3,165
Posted By 8bitbubsy
WinUAE + stock, cycle-exact A1200 config w/ some...

WinUAE + stock, cycle-exact A1200 config w/ some fastmem.

I made a benchmark program where I ran 2048 iterations of the mixer macro with rasterbars, to see how much time it takes.
This is...
Forum: Coders. Asm / Hardware 21 October 2020, 15:50
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Given that the code in my previous post (posted...

Given that the code in my previous post (posted not long ago) is slower than the original mul code, I really doubt this will be faster. Thanks for the effort anyway! Appreciated.

EDIT: Oh no, my...
Forum: Coders. Asm / Hardware 21 October 2020, 15:30
Replies: 68
Views: 3,165
Posted By 8bitbubsy
I managed to calculate a lerp LUT with 9-bit...

I managed to calculate a lerp LUT with 9-bit delta precision and 7-bit frac precision, and it works... but... it's about the same speed as the muls code on a 68020! So I was right to begin with, the...
Forum: Coders. Asm / Hardware 20 October 2020, 17:24
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Yeah, I do the sampling position like this: ...

Yeah, I do the sampling position like this:

add.w d6,d7
addx.l d1,d2


d6.w = low 16-bit part of delta (sub-samples)
d7.w = temporary sampling position fraction (16-bit)
d1.l = signed high...
Forum: Coders. Asm / Hardware 20 October 2020, 15:24
Replies: 68
Views: 3,165
Posted By 8bitbubsy
In terms of LUT size, I don't really want it to...

In terms of LUT size, I don't really want it to be bigger than 64K. That would mean full sample point delta precision (9 bits) + 7 bits of fractional precision. That's plenty for linear interpolation...
Forum: Coders. Asm / Hardware 20 October 2020, 12:11
Replies: 68
Views: 3,165
Posted By 8bitbubsy
robinsonb5: That filter is not going to help much...

robinsonb5: That filter is not going to help much since you're not handling the fractional position whatsoever. There will still be somewhat hard edges from the nearest neighbor sampling, which will...
Forum: Coders. Asm / Hardware 19 October 2020, 22:56
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Oversampling (of up to 32 channels at 28kHz) is...

Oversampling (of up to 32 channels at 28kHz) is going to be too slow for 68020..68060 Amigas, but otherwise a neat suggestion.
Forum: Coders. Asm / Hardware 19 October 2020, 22:21
Replies: 68
Views: 3,165
Posted By 8bitbubsy
Optimizing linear interpolation routine for a live resampler

I'm currently porting the Fasttracker 2.09 XM replayer from i386 asm to 68020 asm (Amiga), and I'm rather close to being finished. Of course, mixing at only 28604Hz means you want some kind of...
Forum: Coders. Asm / Hardware 19 October 2020, 20:28
Replies: 22
Views: 1,242
Posted By 8bitbubsy
I see. Kinda strange that CNOP 0,512 apparently...

I see. Kinda strange that CNOP 0,512 apparently works in VASM according to ross, then.
Forum: Coders. Asm / Hardware 19 October 2020, 20:21
Replies: 22
Views: 1,242
Posted By 8bitbubsy
I don't want a hunk to start at a 512-byte...

I don't want a hunk to start at a 512-byte boundary, but some data inside it. So all data is split into 8-byte "hunks"?
Forum: Coders. Asm / Hardware 19 October 2020, 20:06
Replies: 22
Views: 1,242
Posted By 8bitbubsy
How is this relevant to allocated memory?

How is this relevant to allocated memory?
Forum: Coders. Asm / Hardware 19 October 2020, 18:59
Replies: 22
Views: 1,242
Posted By 8bitbubsy
Thanks, it works. :)

Thanks, it works. :)
Forum: Coders. Asm / Hardware 19 October 2020, 18:30
Replies: 22
Views: 1,242
Posted By 8bitbubsy
move.l #VolTable_EndA,d0 and.l #~(512-1),d0 ...

move.l #VolTable_EndA,d0
and.l #~(512-1),d0
move.l d0,a0
lea VolTable_End,a1
move.w #(VOLTAB_LEN/(4*8))-1,d7
.loop move.l -(a1),-(a0)
move.l -(a1),-(a0)
move.l -(a1),-(a0)...
Forum: Coders. Asm / Hardware 19 October 2020, 17:58
Replies: 22
Views: 1,242
Posted By 8bitbubsy
The waste-method would be to have the file...

The waste-method would be to have the file incbin'd so that I don't need to read it from file when I copy it to the newly allocated address.
Showing results 1 to 40 of 1494

 
Forum Jump

All times are GMT +2. The time now is 00:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.20201 seconds with 10 queries