Z80 coders compo #3


 The Task  Routine which returns integer part of Square Root from 8-bit number (0...255). No rounding required (i.e. result of Sqrt(48) = 6.928203230275509174109785366023, but you must return 6). No tables allowed. Shortest code wins.
 Comment  Your routine might srart from any address, it should take number in any register and return result in any register. It must RET after calculating Sqrt(x). Whole memory will be filled by 0x00 before loading your code, SP will be set to 0x0000. Please note that Sqrt(0)=0.
 Deadline  The compo is over, you had 14 days to code, test and send your entry. (01-Dec-2003...15-Dec-2003).
  Send your entries to my e-mail: mbr@nm.ru

P.S. All entries will be uploaded to the site after deadline.


24-Jan-2004: 4th compo delayed because I do not have a reasonable tool to test entries code. I used Z80 Simulator, but it is not very good thing and I do not know other. And again - I need help for site design (mainly with graphics).

16-Dec-2003: The compo is over. 9 entries received. Victor Ronin wins the compo with just 10 bytes of code! In fact my entry also 10 bytes long, but it was too late to remove two useless commands :( Take a look here for full results (sorry for "design"), and here for entries code. I need help with site design ;) Take one week rest.
08-Dec-2003: We have 5 entries so far. Join now ;)
01-Dec-2003: This time I'm taking part in the compo, try to beat my code ;) It is easy as long as the code is under 1KB long =)
01-Dec-2003: 3rd coders compo started!

25-Nov-2003: The compo is over. 6 entries received. Metalbrain wins the compo as long as his entry is only... 19 bytes long! All the compo entries can be found there.
23-Nov-2003: We've got 4 entries so far. Less than 24 hours left, hurry up!
12-Nov-2003: Dominic Morris sent in his entry :) It is your turn now!
10-Nov-2003: 2nd coders compo started!

08-Nov-2003: If you have an idea for the compo, please send it to me.
08-Nov-2003: Next compo will start on monday (10 november). Get ready!

05-Nov-2003: Victor Ronin sent in his entry, sadly it happened after deadline.
05-Nov-2003: Compo is over with just one sent entry :( No winner, no words...
22-Oct-2003: We've got 1st compo entry from Dominic Morris.
20-Oct-2003: 1st coders compo started!









Если вам необходим почтовый аккаунт, тогда почта на Qip.ru - ваш выбор. Для хранения фото и видео рекомендуем бесплатный фотохостинг.
Для студентов и абитуриентов: крупнейшая библиотека рефератов и сочинений. Скриншот экрана - просто и удобно с QIP Shot.