English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 23 March 2013, 22:18   #1
Vikke
Registered User
 
Join Date: Feb 2013
Location: Lovisa / Finland
Age: 53
Posts: 80
3rd tutorial on ASM- and HW-coding

So, I'm back with yet another very popular Amiga-effect:

Rolling an image around a copperbar.

This is just a 32px tall copperbar and a 100px tall image.
Just to spice up the screen a little bit I put 5 of the same rolling copperbars, and to get a little extra from them I have all five images on the copperbars with a small offset.

Next up will be 64px/200px, and probably with 2 different executables as I did some testing on what kind of routine would look the best. Surprisingly the more mathematically correct method didn't render the better endresult (looking at the test, it isn't really that surprising).
Vikke is offline  
Old 23 March 2013, 22:28   #2
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
It would be nice of you if you could put your website in your signature or something.
Redsector and SF used that effect IIRC
Kamelito
kamelito is offline  
Old 23 March 2013, 22:44   #3
Vikke
Registered User
 
Join Date: Feb 2013
Location: Lovisa / Finland
Age: 53
Posts: 80
Good idea, especially as I forgot to include the address to the website in the previous post

Let's see if this works. ==> And no, no signature. So, here is the address to the website: http://vikke.net
Vikke is offline  
Old 23 March 2013, 23:18   #4
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
Thanks after seeing the video it makes me think about the Ackerlight demo.
Kamelito
kamelito is offline  
Old 26 March 2013, 11:43   #5
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
The downloadable source has Windows CR/LF line endings. A lot of Amiga assemblers don't like that.

Some more hints to improve compatibility with assemblers:
- Always start labels at the first column. PhxAss, vasm will fail otherwise.
- Do not use the BLK directive. Devpac will fail. Use DCB or DS instead.

Keep up the good work!
phx is offline  
Old 26 March 2013, 15:02   #6
S0ulA55a551n
Registered User
 
S0ulA55a551n's Avatar
 
Join Date: Nov 2010
Location: South Wales
Age: 46
Posts: 934
Quote:
Originally Posted by Vikke View Post
Good idea, especially as I forgot to include the address to the website in the previous post

Let's see if this works. ==> And no, no signature. So, here is the address to the website: http://vikke.net
Bit of a typo under the testbed section

"the other only for running te complied object, if the system chrashes I can have it rebooted in a few seconds (it only boots into the CLI)"
S0ulA55a551n is offline  
Old 26 March 2013, 15:57   #7
Vikke
Registered User
 
Join Date: Feb 2013
Location: Lovisa / Finland
Age: 53
Posts: 80
Quote:
Originally Posted by phx View Post
The downloadable source has Windows CR/LF line endings. A lot of Amiga assemblers don't like that.

Some more hints to improve compatibility with assemblers:
- Always start labels at the first column. PhxAss, vasm will fail otherwise.
- Do not use the BLK directive. Devpac will fail. Use DCB or DS instead.

Keep up the good work!
Thanks for the hints to improve compatibility, I'll try to get these changed. I'll have to try to set up my editor for Amiga coding.

I knew blk, was old and shouldn't be used anymore, but old habits are hard to kill
Vikke is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
4th tutorial on ASM- and HW-coding Vikke Coders. Asm / Hardware 11 10 April 2013 20:32
First tutorial on ASM- and HW-coding Vikke Coders. Asm / Hardware 46 18 March 2013 12:33
2nd tutorial on ASM- and HW-coding Vikke Coders. Asm / Hardware 10 17 March 2013 11:49
REQ: AF 115 (C Coding Tutorial) quenthal AMR suggestions and feedback 2 23 July 2007 14:08

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.19923 seconds with 13 queries