English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 990
Search took 0.09 seconds.
Search: Posts Made By: DanScott
Forum: Coders. Asm / Hardware 15 May 2021, 12:11
Replies: 19
Views: 631
Posted By DanScott
Apart from the ones floating around in 1993 that...

Apart from the ones floating around in 1993 that came from Commodore
Forum: Coders. Asm / Hardware 13 May 2021, 15:41
Replies: 4
Views: 295
Posted By DanScott
You need to flip the byte order too for each...

You need to flip the byte order too for each line, as well as the bits within each byte
Forum: Coders. General 07 May 2021, 12:59
Replies: 13
Views: 584
Posted By DanScott
I use Arcane IFFMaster too occasionally ;)

I use Arcane IFFMaster too occasionally ;)
Forum: Coders. General 07 May 2021, 12:47
Replies: 13
Views: 584
Posted By DanScott
Ha! I still use TFA Converter for pretty much all...

Ha! I still use TFA Converter for pretty much all my stuff :) If it ain't broke.. etc...
Forum: Coders. General 07 May 2021, 11:27
Replies: 13
Views: 584
Posted By DanScott
Seems ok with V1.0 of TFAConverter (not sure if...

Seems ok with V1.0 of TFAConverter (not sure if this came before or after IFFConverter)

https://i.imgur.com/AyyFL65.png
Forum: Coders. Asm / Hardware 06 May 2021, 13:41
Replies: 9
Views: 688
Posted By DanScott
FMODE (fetch mode register) controls how much...

FMODE (fetch mode register) controls how much data is read by the DMA for bitplanes (and for sprites), and is an AGA only register.

When fetchmode for bitplanes is x2 or x4 (only available on...
Forum: Coders. General 06 May 2021, 11:55
Replies: 13
Views: 584
Posted By DanScott
what are the dimensions of the PNG? When you...

what are the dimensions of the PNG? When you convert the PNG to an IFF, is the IFF correct?

Perhaps increase the dimensions of the source image?
Forum: Coders. Asm / Hardware 05 May 2021, 22:23
Replies: 92
Views: 3,454
Posted By DanScott
I think that's the same as the one I had... don't...

I think that's the same as the one I had... don't remember exactly though.. I can't even remember what I had for breakfast most evenings !
Forum: Coders. Asm / Hardware 05 May 2021, 18:00
Replies: 3
Views: 289
Posted By DanScott
I wouldn't actually use a packer to pack it, as...

I wouldn't actually use a packer to pack it, as you just can't guarantee the entropy of that kind of data.

It's probably worth just trying to store the data as a bit stream in as few bits as...
Forum: Coders. Asm / Hardware 05 May 2021, 15:25
Replies: 14
Views: 591
Posted By DanScott
and just to add more (complexity)... movea.w...

and just to add more (complexity)...

movea.w #value,a0 will sign extend to a long..

so after:

movea.w #$8000,a0 = a0.l will contain$ffff8000
Forum: Coders. Asm / Hardware 05 May 2021, 13:43
Replies: 14
Views: 591
Posted By DanScott
LEA calculates an effective address... for...

LEA calculates an effective address... for example.

lea 2(a1,d4.w),a0

has a much different result than

move.l 2(a1,d4.w),a0


but in terms of operation, the 2 examples you provided do...
Forum: Coders. Asm / Hardware 05 May 2021, 13:13
Replies: 92
Views: 3,454
Posted By DanScott
It was 1993, and they were printed. Lost them a...

It was 1993, and they were printed. Lost them a long time ago
Forum: Coders. Asm / Hardware 05 May 2021, 01:05
Replies: 9
Views: 688
Posted By DanScott
Perhaps on the A4000 config, your code is running...

Perhaps on the A4000 config, your code is running with data fetch mode (FMODE register) already set to 32bit or 64bit bitplane fetch ?

Maybe try clearing FMODE register where you also set up your...
Forum: Coders. Asm / Hardware 04 May 2021, 23:34
Replies: 9
Views: 688
Posted By DanScott
As a quick fix, try waiting for line 16, then...

As a quick fix, try waiting for line 16, then again for line 17 before proceeding
Forum: Coders. Asm / Hardware 04 May 2021, 19:17
Replies: 92
Views: 3,454
Posted By DanScott
Yeah, mine were typeset properly. Can't remember...

Yeah, mine were typeset properly. Can't remember exactly when I got them, but it would have been around mid 1993 I think.

I remember at the time EVERYONE was hassling me for a copy :D
Forum: Coders. Asm / Hardware 04 May 2021, 18:07
Replies: 92
Views: 3,454
Posted By DanScott
I got the full AGA docs off Commodore in 1993 (I...

I got the full AGA docs off Commodore in 1993 (I was one of the first)
Forum: Coders. Asm / Hardware 30 April 2021, 10:17
Replies: 12
Views: 739
Posted By DanScott
You just need to do this: ; Test...

You just need to do this:


; Test if these bits 0 and 1 are set
andi.l #(1<<0)|(1<<1),d0
beq .theseBitsAreNotSet


no need for a "cmp" or "sub", as the "and" will set...
Forum: Amiga scene 29 April 2021, 18:04
Replies: 784
Views: 143,199
Posted By DanScott
I'd imagine if there was ever some kind of issue...

I'd imagine if there was ever some kind of issue with Blitter overheating, we would have heard about it by around early 1986 probably ;)
Forum: Coders. Asm / Hardware 28 April 2021, 19:01
Replies: 8
Views: 765
Posted By DanScott
I've never disassembled this to look, but I...

I've never disassembled this to look, but I always had the feeling that he converted images into a format where he could just draw lines with the blitter and fill in 1 pass.
Forum: Coders. Asm / Hardware 26 April 2021, 12:29
Replies: 2
Views: 347
Posted By DanScott
Ah cool.. handy to know, and in this case, the...

Ah cool.. handy to know, and in this case, the low word will remain zero which is the desired outcome of an overflow anyway, so no need to handle overflow case :)
Forum: Coders. Asm / Hardware 26 April 2021, 10:36
Replies: 2
Views: 347
Posted By DanScott
DIVS overflow question...

If I have something like:

move.l #$00800000,d0
divs d1,d0



if for example, d1 was 3, then an overflow would be detected (as the result does not fit in a word size), and the V flag is set.
...
Forum: Coders. Asm / Hardware 25 April 2021, 11:36
Replies: 21
Views: 1,054
Posted By DanScott
You're right, it's sample mixing (up to 4 samples...

You're right, it's sample mixing (up to 4 samples mixed down to one), but it's a conversion of an existing sample mixing system written in C, and results need to be consistent with the output of the...
Forum: Coders. Asm / Hardware 25 April 2021, 00:49
Replies: 21
Views: 1,054
Posted By DanScott
but if d0.w is (for example) -450, then it's not...

but if d0.w is (for example) -450, then it's not going to get a value from the LUT

I guess LUT pointer needs to point to the middle :)
Forum: Coders. Asm / Hardware 25 April 2021, 00:29
Replies: 21
Views: 1,054
Posted By DanScott
basically, I have up to 4 byte values (each can...

basically, I have up to 4 byte values (each can be in the full range -128 to +127) that I need to add together, and then clamp the result to -128 to +127.

Ross, not sure if what you are suggesting...
Forum: Coders. Asm / Hardware 24 April 2021, 23:33
Replies: 21
Views: 1,054
Posted By DanScott
Thanks!!! That's awesome, and an ext.w d0 after...

Thanks!!! That's awesome, and an ext.w d0 after the eori should do the trick :)

That extend the byte of itself and compare to see if it's within the range is a cool trick, would never have though...
Forum: Coders. Asm / Hardware 24 April 2021, 17:10
Replies: 21
Views: 1,054
Posted By DanScott
Clamping a word to signed byte range

After some great contributions to my "clamped word result of an add" question.... does anyone know a good/quicker way to clamp a word to a signed byte range?

ie.. quicker than this:

...
Forum: Coders. Asm / Hardware 23 April 2021, 17:49
Replies: 25
Views: 1,269
Posted By DanScott
I don't think that's necessary with LSP... but I...

I don't think that's necessary with LSP... but I guess it could work for a player that needs to set AUDxLC too. Removes a lot of overhead cycles "wasted" by interrupt handlers and CPU internal...
Forum: Coders. Asm / Hardware 23 April 2021, 17:24
Replies: 25
Views: 1,269
Posted By DanScott
I mean that it doesn't use a copper interrupt at...

I mean that it doesn't use a copper interrupt at all.

The music player is called at the top of the vblank interrupt, and then in the copperlist, there's a copper wait for (for example) line 15...
Forum: Coders. Asm / Hardware 23 April 2021, 13:16
Replies: 25
Views: 1,269
Posted By DanScott
Is it a copper interrupt? Or is it just a write...

Is it a copper interrupt? Or is it just a write to DMACON done with the copper list? (This is how Leonards LSP player does it)
Forum: Coders. Asm / Hardware 22 April 2021, 13:31
Replies: 2
Views: 376
Posted By DanScott
you might need to do something like: move.l...

you might need to do something like:

move.l BOBSHIFT,d0
or.l #$09f00000,d0
move.l d0,BLTCON0(a6)


This assumes that BOBSHIFT is a longword stored in memory and already has the 4bit shift...
Forum: Coders. Asm / Hardware 20 April 2021, 13:18
Replies: 2
Views: 419
Posted By DanScott
Yes, this looks like the way I'd do it. Have the...

Yes, this looks like the way I'd do it. Have the word you want to fill memory with in BLTADAT, and set D=A minterms, with channel A disabled.
Forum: Coders. General 19 April 2021, 22:53
Replies: 12
Views: 1,330
Posted By DanScott
Coroutines are banned where I work :D:D ...

Coroutines are banned where I work :D:D

Invoke too...
Forum: Amiga scene 19 April 2021, 22:52
Replies: 46
Views: 3,527
Posted By DanScott
Black Tiger actually looked really nice!! They'd...

Black Tiger actually looked really nice!! They'd got the graphics down to a decent 16 colour palette.. it's just that when it started moving things went seriously wrong :D
Forum: Coders. Asm / Hardware 17 April 2021, 01:25
Replies: 39
Views: 2,057
Posted By DanScott
asr.w d0,d1 only shows 6 cycles.....

asr.w d0,d1

only shows 6 cycles.. perhaps it needs to show potential min / max values
Forum: Coders. Asm / Hardware 16 April 2021, 15:19
Replies: 7
Views: 457
Posted By DanScott
Your BLTAMOD should not be the same as your...

Your BLTAMOD should not be the same as your screen... it maybe should be 0

what is happening is at the end of each line, it is then skipping a lot of gfx data before blitting the next line
Forum: Coders. Asm / Hardware 15 April 2021, 14:27
Replies: 10
Views: 820
Posted By DanScott
If there's blitter fill going on, they are...

If there's blitter fill going on, they are probably plotting edge points.

You could create a remap table for each level of scale, and eor your edge points (therefore any plotted on top of...
Forum: Coders. Asm / Hardware 14 April 2021, 18:19
Replies: 13
Views: 706
Posted By DanScott
Wow!! that's really nice!

Wow!! that's really nice!
Forum: Coders. Asm / Hardware 14 April 2021, 16:17
Replies: 13
Views: 706
Posted By DanScott
@roondar I'll take that one if it works :D ...

@roondar I'll take that one if it works :D

yeah, am expecting Ross to come along with a branchless xor version ;)
Forum: Coders. Asm / Hardware 14 April 2021, 15:25
Replies: 13
Views: 706
Posted By DanScott
Clamped addition of 2 signed words

Had a quick looky on t'interwebs... couldn't find an answer easily to this.

Say I have 2 signed words in d0 & d1 (can be using full range -32768 to 32767), and I want to add them together and...
Forum: Coders. Asm / Hardware 13 April 2021, 23:45
Replies: 39
Views: 2,057
Posted By DanScott
move.w a6,(a2) move.w d1,4(a2) ...

move.w a6,(a2)
move.w d1,4(a2)
move.w d3,8(a2)
move.w d7,12(a2)

fixed :D:D
Showing results 1 to 40 of 990

 
Forum Jump

All times are GMT +2. The time now is 20:01.


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