English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 22 of 22
Search took 0.01 seconds.
Search: Posts Made By: morbid
Forum: Coders. Asm / Hardware 26 October 2021, 18:39
Replies: 1
Views: 502
Posted By morbid
Lately I have been using Visual Studio Code and...

Lately I have been using Visual Studio Code and the vscode amiga extension by prb28
https://github.com/prb28/vscode-amiga-assembly

It works for most use cases, but sometimes i have to fall back...
Forum: Coders. Asm / Hardware 26 October 2021, 08:33
Replies: 59
Views: 4,862
Posted By morbid
I took me years to figure it out... :banghead ...

I took me years to figure it out... :banghead



Now, this sounds interesting! Do you have any suggestions?
Forum: Coders. Asm / Hardware 22 October 2021, 21:58
Replies: 59
Views: 4,862
Posted By morbid
This is very similar to my sinescroll in the demo...

This is very similar to my sinescroll in the demo 'alt cure'.
I first copy one word from the source bitmap to the highest point on the curve within that word.
I then slide pixel columns down with...
Forum: Coders. Asm / Hardware 20 October 2021, 23:42
Replies: 59
Views: 4,862
Posted By morbid
So to summarize the methods from this and other...

So to summarize the methods from this and other threads:

- Copy slices
Photon has a nice write up here: http://www.coppershade.org/articles/Code/Articles/3._The_Year_of_the_Snake/

- Use line...
Forum: Coders. Asm / Hardware 10 September 2021, 07:30
Replies: 16
Views: 1,345
Posted By morbid
If your code or the stack is in chip mem, it...

If your code or the stack is in chip mem,
it could be that you have a broken blitter operation that overwrites either of them.
Forum: Coders. Releases 29 July 2021, 11:54
Replies: 1
Views: 1,808
Posted By morbid
Software with bugs

Over the years I have made a small collection of tools for messing about with Protracker modules. One tool that I have always wanted is a command line converter from Protracker to The Player, so I...
Forum: Coders. Asm / Hardware 12 July 2021, 15:36
Replies: 18
Views: 1,473
Posted By morbid
Slightly OT but @hoffmann did a nice write up of...

Slightly OT but @hoffmann did a nice write up of how they streamed samples from disk "just in time" in the demo EON https://hoffman.home.blog/2019/04/27/eon/, (scroll down to the SAMPLE STREAMING...
Forum: Coders. Asm / Hardware 29 April 2021, 10:56
Replies: 8
Views: 1,332
Posted By morbid
I have always liked the vectors in this one: ...

I have always liked the vectors in this one:
https://www.pouet.net/prod.php?which=19102
Forum: Coders. Asm / Hardware 17 December 2020, 23:03
Replies: 30
Views: 2,421
Posted By morbid
@ross beat me to it! Here is the code again...

@ross beat me to it!

Here is the code again with some comments that might explain what is going on.


; a
move.l #$077700af,d0
; b
move.l #$0f0f0eee,d1
Forum: Coders. Asm / Hardware 17 December 2020, 15:33
Replies: 30
Views: 2,421
Posted By morbid
Yes, this algorithm is definitely not my...

Yes, this algorithm is definitely not my invention.
Sorry, if I was unclear!
Forum: Coders. Asm / Hardware 17 December 2020, 14:07
Replies: 30
Views: 2,421
Posted By morbid
Now I'm looking forward to see another awesome...

Now I'm looking forward to see another awesome demo! :great

If you have free registers then maybe you can interleave the calculations and do 8 colors:
1. add color 1+3 and color 2+4
2. add color...
Forum: Coders. Asm / Hardware 17 December 2020, 09:43
Replies: 30
Views: 2,421
Posted By morbid
Here is an old bit fiddling trick to add multiple...

Here is an old bit fiddling trick to add multiple unsigned 4 bit values in one longword with saturation.



; color one and two
move.l #$077700af,d0
; color three and four
...
Forum: Coders. Asm / Hardware 04 November 2020, 18:48
Replies: 64
Views: 6,134
Posted By morbid
-16 pixels = -2 bytes so just subtract 2 from...

-16 pixels = -2 bytes so just subtract 2 from your pointers.

Something like this for ror:

- copy the src rightmost visible column (1 word, 16 pixels, x=304 to 319, height 256) to the dst first...
Forum: Coders. Asm / Hardware 04 November 2020, 08:46
Replies: 64
Views: 6,134
Posted By morbid
I'm not sure I can explain, but I'll try. ...

I'm not sure I can explain, but I'll try.

For instance, let's look at a line 3. You have added 16 pixels to the right of line 3.
Since memory is linear those 16 pixels comes just before line 4....
Forum: Coders. Asm / Hardware 02 November 2020, 09:17
Replies: 64
Views: 6,134
Posted By morbid
No magic here! :) I would add a word before...

No magic here! :)

I would add a word before the bitplane and then pretend that the column is to the left or to the right depending on which way I want to shift.
Forum: Coders. Asm / Hardware 30 October 2020, 17:20
Replies: 64
Views: 6,134
Posted By morbid
Glad that you got it to work! Just to let...

Glad that you got it to work!

Just to let you know, both mine and @a/b:s method works just fine in either ascending or descending mode, so you must have made some mistake in your implementation.
Forum: Coders. Asm / Hardware 27 October 2020, 18:39
Replies: 64
Views: 6,134
Posted By morbid
Speed. And also for me it is less complex.

Speed.
And also for me it is less complex.
Forum: Coders. Asm / Hardware 27 October 2020, 09:00
Replies: 64
Views: 6,134
Posted By morbid
I would do the blits in the opposite order. ...

I would do the blits in the opposite order.
This requires the bitplane to be one column wider than the screen.

First copy the column that will be shifted out (without shifts), and then shift the...
Forum: Coders. Asm / Hardware 24 October 2020, 10:12
Replies: 64
Views: 6,134
Posted By morbid
I would do it like this for rol: - Create a...

I would do it like this for rol:

- Create a 336px x 256px bitplane

- Setup a 320px x 256px screen

Then for each frame:

- copy the src leftmost column (1 word, 16 pixels, x=0 to 15, height...
Forum: Coders. Asm / Hardware 23 October 2020, 09:29
Replies: 64
Views: 6,134
Posted By morbid
So what you really want to do is a ror or rol on...

So what you really want to do is a ror or rol on the entire line on each line? What gets shifted out comes back in at the other end? As far as I know you will have to do two blits per bitplane.
Forum: Coders. Asm / Hardware 04 August 2020, 14:21
Replies: 10
Views: 1,029
Posted By morbid
The easiest way to get started with music sync...

The easiest way to get started with music sync and The Player is to add E8x commands to your Protracker module, and then in your code read the value of the variable P61_E8. It will contain the value...
Forum: Coders. Asm / Hardware 02 August 2020, 18:51
Replies: 12
Views: 2,054
Posted By morbid
You can find formulas here: ...

You can find formulas here:
https://mikro.naprvyraz.sk/docs/Coding/1/3D-ROTAT.TXT
Showing results 1 to 22 of 22

 
Forum Jump

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


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