11 April 2016, 12:27 | #1 |
Lemon. / Core Design
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 ? |
11 April 2016, 12:56 | #2 |
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. |
12 April 2016, 09:09 | #3 |
son of 68k
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 |
12 April 2016, 12:16 | #4 |
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. |
12 April 2016, 12:47 | #5 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,987
|
Could be interested
|
12 April 2016, 13:51 | #6 |
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 ;-)
|
12 April 2016, 13:55 | #7 |
Registered User
Join Date: Sep 2008
Location: Gainesville U.S.A.
Posts: 771
|
I'm betting on Leffmann to win.
|
12 April 2016, 14:27 | #8 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
|
12 April 2016, 17:16 | #9 |
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. |
12 April 2016, 17:54 | #10 |
Unregistered User
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.. |
12 April 2016, 19:46 | #11 |
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!
|
12 April 2016, 21:50 | #12 |
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
|
12 April 2016, 22:02 | #13 |
Global Moderator
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. |
12 April 2016, 22:13 | #14 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Also specify system requirements and running DMA (i.e. screen size+depth) though
|
12 April 2016, 22:40 | #15 |
68k
Join Date: Sep 2005
Location: Somewhere
Posts: 828
|
There will be a separate thread for each puzzle or something ? (Like famous threads: conversion capers)
|
12 April 2016, 23:14 | #16 |
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 :-) |
13 April 2016, 00:13 | #17 |
Moderator
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.
|
13 April 2016, 00:39 | #18 | |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Quote:
But you had more Amiga specific problems in mind, like demo effects or other things related to the Amiga hardware I guess? I think you'll do much better than me to be honest. |
|
13 April 2016, 08:32 | #19 |
Lemon. / Core Design
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 |
13 April 2016, 10:55 | #20 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
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. |
|
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 |
|
|