Codecraft#4 - A Call to the ARMs
Kuemmel (439) 384 posts |
Hi there ! I’m proud to announce Codecraft#4 …after 20 years in the dust I thought it’s time to revive that online compo in the same style it was done already 3 times back then. I still see some people around participating back then (Hi Jeffrey, Rick, …:-) ). To promote it I released an invitro at this years Revision Demo party just now. The link to the pouet entry is here or directly to the youtube link here . It’s a 4 part 1 KByte intro with music and should run on RPi3/4. It’s called “A Call to the ARMs”. The compo categories are 256 Byte Intro/Game, 1 KByte Intro/Game, 2 KByte Tool, 4 KByte Intro/Game. Anything goes…any RISC OS platform, oldschool or newschool…now you got 6 months to create your entry. Check out the compo website here …it also includes links the 3 previous editions. |
Steve Drain (222) 1620 posts |
I have looked at the site, but I cannot work these questions out. What is a Tool? Can it be a programming tool or must it be a user tool? I see one limitation specified, but to what extent are shared resources considered to be part of the code? That is, can you use SWIs and do they have to be only ROM modules? |
Rick Murray (539) 13850 posts |
Yes.
I would say, personally, that it would be acceptable to use common modules that you did not create. That should open up the scope for doing things, but disallow stuff like “Hey, I wrote a Lua interpreter as my 256 byte demo” and providing a source code that is basically: SWI "Lua_InitRuntime" MOV PC, R14 Which would obviously be cheating! However I don’t see any reason to not use something that is a part of most people’s System resources… |
Rick Murray (539) 13850 posts |
Hmm, I wrote a 1K GIF decoder a billion years ago. I don’t know, however, if I ever released it. |
Kuemmel (439) 384 posts |
@Steve: Any kind of tool is okay. I never participated in the tool category, but I say everything is allowed to be used that is in a standard distribution of RISC OS and of course if you use SWI’s from e.g. modules of the standard distribution those modules don’t add to the size of course. I mean as Rick said, without SWI’s you can’t get anything done, but I guess you meant SWI’s from special modules. May be you’ll check out tools from the past compo’s. I’ll do also and see if there was even more freedom to this. May be even an add-on to a third party app using it’s modules can be considered, but of course not like Rick showed ;-) We can discuss that. May be Jeffrey can elaborate. I see at least one tool he coded back then. I’d like to give as much freedom as possible within the size restriction so we can gather many entries :-) |
Jeffrey Lee (213) 6048 posts |
6 months – that should be long enough for me to find the time to create a worthy entry! |
Kuemmel (439) 384 posts |
@Steve: I got some request using crunchers for BBC BASIC entries. As far as I googled the forum about it, seems you did the only recently developed software to do this (Crunchie) ? Is that so or would there be other recommendations, also may be for vintage RISC OS Acorn’s ? |
Jeffrey Lee (213) 6048 posts |
I’m not Steve, but in the past (2007) I’ve used both StrongBS and BasCompress (both at the same time, for maximum gains). From the Bob and Trev: Resurrection readme: * First, it was run through BasCompress, using the default options, and with ‘dumb’ mode enabled Some effort may be required to find download links which still work. |
Steve Drain (222) 1620 posts |
Crunchie is not any sort of ultimate cruncher for size, but is probably quite good for speed. It does some optimisations, whereas StrongBS does all sorts. I thinks its principle selling point is that it runs as pure BASIC and so on 32-bit machines reliably. There are still some bugs with more advanced features – hello Martin – but it seems to cope with simple programs well enough. It can do constant variables to literals, as mentioned by Jeffrey. If you crunch on a 26-bit machine I would second his combination, though. |
Colin Ferris (399) 1818 posts |
Having looked up ‘Literals’ ??? – how does it work/look in BASIC? puzzled |
Steve Drain (222) 1620 posts |
A literal is a number or string value that is spelled out, such as 1.234, &FF or “this”. Such a constant value may appear several times in a program, but if it is changed, each occurrence will have to be changed. Assigning such a value to a variable can be useful because it gives it a name and the value only has to be specified once, but this might be considered a penalty in namespace and speed. Some crunchers and other utilities allow constant values to be given names that are substituted with the literals. The methods vary. Crunchie detects the use of Other ways of doing this use |
Kuemmel (439) 384 posts |
Hi there…we got around 3 weeks until the deadline…hopefully you all work on some entries, right ;-) !? |
Kuemmel (439) 384 posts |
Hi there, CodeCraft#4 is over ! I’m happy I received 9 entries in total, which is even more than one could hope for looking at the active user base :-) Here’s the list: 256 Byte intro 1 KByte intro 4 KByte intro 2 KByte tool As the compo website can’t be updated due to technical reasons for some days. I’ll make all the entries available for download as one package. You can download them here To all the contributors: Feel free to add your entry to pouet right away (except the tool section), including video links. Be aware that some entries work on old school Acorn Archimedes and some on latest Rasperry Pi’s. Check the individual readme’s. Now the voting starts. Just drop me an email (look up my ‘confetti tail’ entries readme) and tell me how many points (0 to 5) you want to give an entry. Of course it only makes sense for 256 Byte and 1 KByte. Cheers & Thanks a lot to all the contributors !!! @EDIT1: I forgot to add that I’ll keep the voting up for 2 weeks (deadline Sunday, 17th of October) so everybody has a chance to undust their old Archimedes or wait for the video uploads…we waited for 20 years anyway ;-) @EDIT2: Pouet link with entries including links to videos is here @EDIT3: Moved Chaos Equation to 256 Byte as a shrinked version was handed in. |
Kuemmel (439) 384 posts |
Voting results published and website updated. Thanks again to all the participants ! |