English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 949
Search took 0.08 seconds.
Search: Posts Made By: DanScott
Forum: Coders. Asm / Hardware Yesterday, 23:55
Replies: 10
Views: 411
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 Yesterday, 22:13
Replies: 10
Views: 411
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 Yesterday, 22:11
Replies: 10
Views: 411
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 Yesterday, 20:16
Replies: 10
Views: 411
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 Yesterday, 18:11
Replies: 10
Views: 411
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: 34
Views: 3,746
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,055
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,055
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,055
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,055
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,055
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,708
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,708
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,708
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,708
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: 4,883
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,555
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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: 4,883
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...
Forum: Coders. Asm / Hardware 20 March 2021, 14:52
Replies: 96
Views: 4,883
Posted By DanScott
If people post their routines here, do you want...

If people post their routines here, do you want to be respinsible for maintaining that google doc and updating it ? would be cool to have them all there with the graphs, averages etc...
Forum: Coders. Asm / Hardware 20 March 2021, 14:42
Replies: 96
Views: 4,883
Posted By DanScott
It's the standard mathematical error measurement...

It's the standard mathematical error measurement used for graph error calculations

We could also publish error relative to amplitude if you like ?

5% was just a number I plucked out of thin air...
Forum: Coders. Asm / Hardware 20 March 2021, 14:26
Replies: 96
Views: 4,883
Posted By DanScott
Need to make that doc public Yes, it's off...

Need to make that doc public

Yes, it's off by 26% relative to the "real" value of sin at that point on the curve.

ie.. index 1 accurate known value is 101, calculated value is 127
Forum: Coders. Asm / Hardware 20 March 2021, 14:21
Replies: 96
Views: 4,883
Posted By DanScott
Error is calculated, relative to the known...

Error is calculated, relative to the known correct value at that index, not to the overall amplitude.
Forum: Coders. Asm / Hardware 20 March 2021, 13:45
Replies: 96
Views: 4,883
Posted By DanScott
30 Bytes, using the x ( 1-x ) parabolic curve ...

30 Bytes, using the x ( 1-x ) parabolic curve




;a0 points to beginning of 1024 sine table word buffer

moveq #0,d0
move.w #16384,d1
moveq #32,d2
Forum: Coders. Asm / Hardware 20 March 2021, 11:49
Replies: 96
Views: 4,883
Posted By DanScott
Post whenever you like (bear in mind posting...

Post whenever you like (bear in mind posting might help others ;))
Showing results 1 to 40 of 949

 
Forum Jump

All times are GMT +2. The time now is 14:56.


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