English Amiga Board


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

 
 
Thread Tools
Old 11 April 2016, 12:27   #1
DanScott
Lemon. / Core Design
 
DanScott's Avatar
 
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
Anyone up for an ASM coding competition?

Perhaps can pick a regular / standard routine.. and see who comes up with the fastest or most elegant way of doing it in ASM ?

Maybe some simple rules... like to minimise memory requirement (just to prevent a routine that uses 2 megs of lookup-tables etc..)

What do you coders think ?
DanScott is online now  
Old 11 April 2016, 12:56   #2
alpine9000
Registered User
 
Join Date: Mar 2016
Location: Australia
Posts: 881
I'm in. Gonna get my ass handed to me competing against you guys that have been coding asm since the Amiga days, but I'm sure I'll learn a thing or two.

A memory budget for each challenge would make sense to me.
alpine9000 is offline  
Old 12 April 2016, 09:09   #3
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
You may eventually count on me as well.

However you can expect people to not agree on what is the most elegant way of doing something ; what's elegant for some folk may look ugly for another
meynaf is offline  
Old 12 April 2016, 12:16   #4
roomeo
Registered User
 
Join Date: Aug 2014
Location: Telemark
Posts: 207
Great initiative.

I think it should be like we did on amycoders competitions ages ago.
One entry for fastest and one entry for shortest.
roomeo is offline  
Old 12 April 2016, 12:47   #5
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,987
Could be interested
Galahad/FLT is offline  
Old 12 April 2016, 13:51   #6
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
Interesting initiative.. I'll probably have to decline though, it's been 20 years since I did any amiga coding ;-)
hooverphonique is offline  
Old 12 April 2016, 13:55   #7
clenched
Registered User
 
Join Date: Sep 2008
Location: Gainesville U.S.A.
Posts: 771
I'm betting on Leffmann to win.
clenched is offline  
Old 12 April 2016, 14:27   #8
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
Quote:
Originally Posted by clenched View Post
I'm betting on Leffmann to win.
How much ?
meynaf is offline  
Old 12 April 2016, 17:16   #9
nandius_c
Fernando Cabrera
 
Join Date: Oct 2013
Location: Spain
Posts: 106
I'm interested! I'm more or less in the same situation as alpine9000: I have no chance of competing against many of you, guys, but I'm sure it would be a good learning experience for me .

Shortest and fastest piece of code (as stated by roomeo) seems a good approach to me.
nandius_c is offline  
Old 12 April 2016, 17:54   #10
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
Sounds fun, although I'd have to learn 68k asm first. I do know a little, but at a very basic level, so I'd spend days doing something that others could do in 5 mins..

For hardware specs, it should probably be as limited as possible to keep things simple, like plain A500 KS1.3 with 512kB chip (and probably even tighter restrictions on memory). A plain 68000 also allows for some fun self-modifying code tricks..
demolition is offline  
Old 12 April 2016, 19:46   #11
nogginthenog
Amigan
 
Join Date: Feb 2012
Location: London
Posts: 1,311
Back in the day I always enjoyed reading threads on comp.sys.amiga.programmer where people were trying to squeeze cycles out of C2P algorithms etc. I would definitely be interested, even if my my 680x0 is rusty!
nogginthenog is offline  
Old 12 April 2016, 21:50   #12
esc
 
Posts: n/a
Maybe the contest could come with an archived dev environment setup for someone to install on a vanilla a500/ks1.3 setup in UAE? This could create a good baseline and also get those of us that have never written asm on Amiga a chance to play without wasting too much time setting up the proper dev tools
 
Old 12 April 2016, 22:02   #13
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Thanks to DanScott for this great idea!

I'm sure that any competition spawned by this thread will make interesting reading for many members here - especially those who, like myself, have some coding experience but have not been involved for a number of years and so do not have the skills to compete.
prowler is offline  
Old 12 April 2016, 22:13   #14
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Also specify system requirements and running DMA (i.e. screen size+depth) though
Photon is offline  
Old 12 April 2016, 22:40   #15
Asman
68k
 
Asman's Avatar
 
Join Date: Sep 2005
Location: Somewhere
Posts: 828
There will be a separate thread for each puzzle or something ? (Like famous threads: conversion capers)
Asman is offline  
Old 12 April 2016, 23:14   #16
alpine9000
Registered User
 
Join Date: Mar 2016
Location: Australia
Posts: 881
Maybe each round we should nominate someone to run it?

Outline the challenge, rules etc.

As far as determining the winner, maybe everyone that submits an entry gets a set number of votes (can't vote for yourself)?

Or if the challenge can me measured by a metric (speed or bytes etc) then I guess it's pretty easy to work out.

I'm excited :-)
alpine9000 is offline  
Old 13 April 2016, 00:13   #17
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Best to await what Dan has in mind, I think Rules will have to be specific and locked if there's to be a competition. Better if it's real-time and generally useful, just asking for thoughts on the best approach or how can this code be sped up.
Photon is offline  
Old 13 April 2016, 00:39   #18
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
Quote:
Originally Posted by DanScott View Post
Perhaps can pick a regular / standard routine.. and see who comes up with the fastest or most elegant way of doing it in ASM ?

Maybe some simple rules... like to minimise memory requirement (just to prevent a routine that uses 2 megs of lookup-tables etc..)

What do you coders think ?
I started something like this a while back intended to be a set of smaller general problems anyone could run into while programming, but only finished a couple of them so far. It would be plain M68K programming, so anyone familiar with the CPU could join.

But you had more Amiga specific problems in mind, like demo effects or other things related to the Amiga hardware I guess?

Quote:
Originally Posted by clenched View Post
I'm betting on Leffmann to win.
I think you'll do much better than me to be honest.
Leffmann is offline  
Old 13 April 2016, 08:32   #19
DanScott
Lemon. / Core Design
 
DanScott's Avatar
 
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
Well, my idea was to take a standard routine type, that most people might have in their "utility.s" file (or similar) to see if anyone can come up with the quickest method. I wasn't thinking of anything particularly large, certainly nothing what would require having a set number of bitplanes & DMA set up etc (as Photon mentioned).

I will have a little think, and see what I can come up with for the first competion task
DanScott is online now  
Old 13 April 2016, 10:55   #20
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
Quote:
Originally Posted by DanScott View Post
Well, my idea was to take a standard routine type, that most people might have in their "utility.s" file (or similar) to see if anyone can come up with the quickest method. I wasn't thinking of anything particularly large, certainly nothing what would require having a set number of bitplanes & DMA set up etc (as Photon mentioned).

I will have a little think, and see what I can come up with for the first competion task
This is my view on the subject as well.

I'd vote for useful things such as bit strings manipulations, computations such as integer square root, etc.
Not sure it has to be pure 68000 though. Perhaps a few 020+ contests would be good.
meynaf 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
Starting ASM coding on A1200. Which Assembler? Nosferax Coders. Asm / Hardware 68 27 November 2015 16:14
4th tutorial on ASM- and HW-coding Vikke Coders. Asm / Hardware 11 10 April 2013 20:32
3rd tutorial on ASM- and HW-coding Vikke Coders. Asm / Hardware 6 26 March 2013 15:57
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

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 17:33.

Top

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