English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 955
Search took 0.09 seconds.
Search: Posts Made By: DanScott
Forum: Coders. Asm / Hardware Today, 14:27
Replies: 10
Views: 307
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 Yesterday, 18:19
Replies: 13
Views: 370
Posted By DanScott
Wow!! that's really nice!

Wow!! that's really nice!
Forum: Coders. Asm / Hardware Yesterday, 16:17
Replies: 13
Views: 370
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 Yesterday, 15:25
Replies: 13
Views: 370
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: 32
Views: 1,042
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
Forum: Coders. Asm / Hardware 12 April 2021, 19:24
Replies: 7
Views: 380
Posted By DanScott
It depends what you mean.. do you want to change...

It depends what you mean.. do you want to change the palette completely at various positions down the screen?

Or do you just want to change one palette?
Forum: Coders. Asm / Hardware 11 April 2021, 23:55
Replies: 10
Views: 552
Posted By DanScott
Our outputter handles outlines for complex...

Our outputter handles outlines for complex objects, but it's not 100% accurate, so we get some missing pixels here or there. I am sure there are ways to fix this though. Might get Soundy to take...
Forum: Coders. Asm / Hardware 11 April 2021, 22:13
Replies: 10
Views: 552
Posted By DanScott
Each cube in the Melon demo has 6 vertices, and 6...

Each cube in the Melon demo has 6 vertices, and 6 "edges / lines" for the cube, and another 6 / 6 for the reflection.

There are other "tricks" you can pull too...

Imagine one cube needs drawing...
Forum: Coders. Asm / Hardware 11 April 2021, 22:11
Replies: 10
Views: 552
Posted By DanScott
No delta compression, other than next vertex...

No delta compression, other than next vertex position is a delta from the previous (so we could store it as a byte)

We also had our tool (written in Unity btw.. a great environment for doing this...
Forum: Coders. Asm / Hardware 11 April 2021, 20:16
Replies: 10
Views: 552
Posted By DanScott
They don't need to fill the full screen for a...

They don't need to fill the full screen for a start.. they can store "regions" that get filled / cleared, merging regions that overlap etc..)

The blitter can draw quite a lot of small lines per...
Forum: Coders. Asm / Hardware 11 April 2021, 18:11
Replies: 10
Views: 552
Posted By DanScott
Seems like pure animation to me. Pretty easy to...

Seems like pure animation to me. Pretty easy to do too.

The other "real" cubes bouncing off the text? maybe that's animation too, they have an vector animation "replay" system (obviously for the...
Forum: Coders. General 10 April 2021, 22:19
Replies: 54
Views: 4,390
Posted By DanScott
Source is available.. go make one

Source is available.. go make one
Forum: Coders. General 08 April 2021, 18:45
Replies: 23
Views: 1,157
Posted By DanScott
Ah, that's true :D

Ah, that's true :D
Forum: Coders. General 08 April 2021, 18:19
Replies: 23
Views: 1,157
Posted By DanScott
It did shave another 600 bytes or so, off my 4k...

It did shave another 600 bytes or so, off my 4k intro though :D
Forum: Coders. General 08 April 2021, 17:09
Replies: 23
Views: 1,157
Posted By DanScott
PAQ8 requires huge amounts of memory for...

PAQ8 requires huge amounts of memory for decompression though AFAIK...
Forum: Coders. General 06 April 2021, 11:02
Replies: 23
Views: 1,157
Posted By DanScott
There's no reason why different algorithms...

There's no reason why different algorithms couldn't also be selectable with a command line switch.

Maybe Leonard will make one... he's into his compression algorithms
Forum: Coders. General 05 April 2021, 22:16
Replies: 23
Views: 1,157
Posted By DanScott
I think Pink is looking for an exe packer though....

I think Pink is looking for an exe packer though. I am not sure what the options are other than Shrinkler & Cranker, that can be run on Windows too.

Maybe it's would be a good project for someone,...
Forum: Amiga scene 05 April 2021, 17:49
Replies: 38
Views: 1,724
Posted By DanScott
I nearly threw my TV out the window :D

I nearly threw my TV out the window :D
Forum: Amiga scene 05 April 2021, 15:56
Replies: 38
Views: 1,724
Posted By DanScott
Around just under 2k for the music/player/synth...

Around just under 2k for the music/player/synth code
Forum: Amiga scene 05 April 2021, 10:19
Replies: 38
Views: 1,724
Posted By DanScott
Quite proud that our 4k intro broke the stream on...

Quite proud that our 4k intro broke the stream on Sunday :D
Forum: Amiga scene 03 April 2021, 22:31
Replies: 38
Views: 1,724
Posted By DanScott
Pontential nipple pixel in the photo compo (or...

Pontential nipple pixel in the photo compo (or hairy mans arse in the video compo) was the probable cause of the Twitch ban...
Forum: Coders. Asm / Hardware 03 April 2021, 18:07
Replies: 96
Views: 5,100
Posted By DanScott
Are you trying to model what the inside of my...

Are you trying to model what the inside of my brain looked like last night :D
Forum: Coders. Releases 01 April 2021, 14:47
Replies: 51
Views: 17,621
Posted By DanScott
you stack your registers before calling the play...

you stack your registers before calling the play function

movem.l d0-d7/a0-a6,-(sp)

and unstack them after

movem.l (sp)+,d0-d7/a0-a6
Forum: Coders. Asm / Hardware 26 March 2021, 21:59
Replies: 96
Views: 5,100
Posted By DanScott
Bhaskara approximation is great for it's time,...

Bhaskara approximation is great for it's time, but carries some degree of error
Forum: Coders. Asm / Hardware 23 March 2021, 16:13
Replies: 96
Views: 5,100
Posted By DanScott
Go with my 58 byte version, 54 byte version needs...

Go with my 58 byte version, 54 byte version needs more bytes adding to fix that overrun
Forum: Coders. Asm / Hardware 23 March 2021, 13:15
Replies: 96
Views: 5,100
Posted By DanScott
If it's not too much trouble, could you add a...

If it's not too much trouble, could you add a RoundToInt version of the accurate sine table (as that is the most accurate integer representation of -16384 to +16384

Perhaps also an error for each...
Forum: Coders. Asm / Hardware 22 March 2021, 23:04
Replies: 96
Views: 5,100
Posted By DanScott
a/b's method of "adjusting" the error with...

a/b's method of "adjusting" the error with another curve, got me thinking about the possibilty to make a fast atan2 function, using a similar curve to adjust the result of simple divide ( x/y )? I...
Forum: Coders. Asm / Hardware 21 March 2021, 11:53
Replies: 96
Views: 5,100
Posted By DanScott
I'm going to investigate the 2 quadrant method a...

I'm going to investigate the 2 quadrant method a bit more.. see if I can get the accuracy into the 2nd quadrant, and that should shave off some bytes.

I'm still well happy with the accuracy of...
Forum: Coders. Asm / Hardware 21 March 2021, 11:01
Replies: 96
Views: 5,100
Posted By DanScott
You;re right, it's writing an extra value to the...

You;re right, it's writing an extra value to the end at the 1025th index :/
Forum: Coders. Asm / Hardware 21 March 2021, 02:35
Replies: 96
Views: 5,100
Posted By DanScott
For mine (assuming I have the error calculation...

For mine (assuming I have the error calculation correct)

Max AbsError = 0.19% Max RelError = 0.47%
Forum: Coders. Asm / Hardware 21 March 2021, 01:40
Replies: 96
Views: 5,100
Posted By DanScott
Now 54 bytes :) Shaved off 4 bytes by removing...

Now 54 bytes :) Shaved off 4 bytes by removing the loop counter


; Entry a0 = Beginning of 2048 byte sine table buffer

lea 512(a0),a0 ; a0...
Forum: Coders. Asm / Hardware 20 March 2021, 23:42
Replies: 96
Views: 5,100
Posted By DanScott
Super accurate 1 quadrant version 58...

Super accurate 1 quadrant version

58 bytes.. perhaps I've missed some *obvious* optimisation here


; Entry a0 = Beginning of 2048 byte sine table buffer

...
Forum: Coders. Asm / Hardware 20 March 2021, 21:37
Replies: 96
Views: 5,100
Posted By DanScott
Loving that 24 byte version too... it's got the...

Loving that 24 byte version too... it's got the 5.6% inaccuracy, but perhaps that would not be noticeable in most applications... but I am a stickler for having accuracy too :D
Forum: Coders. Asm / Hardware 20 March 2021, 21:35
Replies: 96
Views: 5,100
Posted By DanScott
Trying to work that out in my head here (don't...

Trying to work that out in my head here (don't have the code on this PC)...

I *think* around 14 minimum ..
Forum: Coders. Asm / Hardware 20 March 2021, 20:56
Replies: 96
Views: 5,100
Posted By DanScott
I think it would be good to keep the rules fixed...

I think it would be good to keep the rules fixed as they are... I am sure your code size is going to beat mine anyway ;)

I will be posting something tomorrow evening, I need to rework mine to save...
Forum: Coders. Asm / Hardware 20 March 2021, 19:29
Replies: 96
Views: 5,100
Posted By DanScott
Love the error graphs... we are plotting boobs :D...

Love the error graphs... we are plotting boobs :D

I need to work more on my accurate version, there's a few things I can do there to bring down the code size a bit

Hopefully will have something...
Forum: Coders. Asm / Hardware 20 March 2021, 18:54
Replies: 96
Views: 5,100
Posted By DanScott
lea (511+2).w,a1 Nice trick.. sign extends...

lea (511+2).w,a1

Nice trick.. sign extends to clear the top word. Never considered that before
Forum: Coders. Asm / Hardware 20 March 2021, 16:09
Replies: 96
Views: 5,100
Posted By DanScott
I'm surprised mine worked, I just typed it out of...

I'm surprised mine worked, I just typed it out of my head straight into the forum here :D
Forum: Coders. Asm / Hardware 20 March 2021, 15:46
Replies: 96
Views: 5,100
Posted By DanScott
I think Jobbos Google Sheet possibly does that ?

I think Jobbos Google Sheet possibly does that ?
Forum: Coders. Asm / Hardware 20 March 2021, 15:21
Replies: 96
Views: 5,100
Posted By DanScott
Cool :) That 30 byte one was just a quick...

Cool :)

That 30 byte one was just a quick test I did.. not my official accurate entry (currently 58 bytes but maxError is 0.2% with your errorcalculation method, and 0.4% with mine)

Should...
Showing results 1 to 40 of 955

 
Forum Jump

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


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