Welcome, Guest. Please login or register.

Author Topic: I made my first demoscene effect in assembler!  (Read 6966 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: I made my first demoscene effect in assembler!
« on: November 26, 2006, 01:31:25 AM »
*** Interlude. A specialist from Finland will be along shortly  to answer all your questions ***


;-)
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: I made my first demoscene effect in assembler!
« Reply #1 on: November 26, 2006, 01:40:46 AM »
:lol:
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: I made my first demoscene effect in assembler!
« Reply #2 on: November 26, 2006, 01:56:09 PM »
Try to find a use for d3, d4, d5, d6 and d7. It seems you are only using d0 to d2. There are various frequently constants and variables in your code you could put into these registers to improve access times, at least on slower machines. Even on faster ones, a read from the datacache is not as fast as a direct register access.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: I made my first demoscene effect in assembler!
« Reply #3 on: November 26, 2006, 02:03:10 PM »
Quote

motorollin wrote:
I bet you guys don't even need to run the executable. You can probably see the effect just by reading the code :lol:

jk

--
moto


You don't see the (rotating) girl in a red dress? :lol:
int p; // A