Page 1 of 1

Learn programming on acorn archimedes?

Posted: Sat Aug 15, 2020 12:27 pm
by Helba
Hello,

I hope we can answer my few questions :)
I would like to develop on Acorn archmedes but from my Windows desktop (and therefore enjoy all the comfort of current tools like Visual Studio, debugging, and being able to create tools for games).

So I wanted to know how the ADF format works?
I did a lot of research on google, found some interesting things but absolutely nothing that exactly defines the file (header / data etc).

Ditto for the AIF executable files (I found this link but I do not detail the format enough):
http://www.riscos.com/support/developer ... html#41076

Thank you in advance for your help! ;)

Re: Learn programming on acorn archimedes?

Posted: Sat Aug 15, 2020 4:11 pm
by kieranhj
Hey, always great to hear when people are interested in developing for Archimedes!

I posted this thread about my 'modern' development environment setup on Windows: viewtopic.php?f=29&t=18635. I'm not creating ADF or AIF files, just absolute executables, so assembled at &8000, with RISCOS filetype &FF8.

Re: Learn programming on acorn archimedes?

Posted: Sun Aug 16, 2020 2:10 pm
by Helba
Thanks, I'll watch this, and you use VASM, that's perfect, I use it too! ;)

Do you have a little hello world that I could try out ?

Thank you :)

Re: Learn programming on acorn archimedes?

Posted: Sun Aug 16, 2020 3:24 pm
by kieranhj
I don’t have anything as small as Hello World but there is a repo with a (slow) MODE 9 implementation of the Doom fire effect: https://github.com/kieranhj/doom-fire

How basic a Hello World were you looking for? This is plotting direct to the screen in MODE 9, with a single buffers, although the code supports multiple buffers swapped on vsync. (Based on code kindly provided by Sarah Walker.)

Ha! I’ve just noticed a bug in the code related to setting the VDU write buffer, I’m guessing that misconfigured SWI just gets ignored.

Re: Learn programming on acorn archimedes?

Posted: Sun Aug 16, 2020 4:03 pm
by Helba
Thanks,
your code seems sufficient and it is clean, I will study it, I will give you a feedback :wink:

Re: Learn programming on acorn archimedes?

Posted: Sun Aug 16, 2020 8:27 pm
by DutchAcorn
On the adf format; if you are creating code on a Windows computer it seems more practical to use an emulator to test developed code on. Such as Arculator or RPCemu. An emulator can be configured to use HostFS with which you have direct access to files on the Windows computer.

Re: Learn programming on acorn archimedes?

Posted: Mon Aug 17, 2020 2:14 am
by helpful
There's the GCCSDK - https://www.riscos.info/index.php/GCCSDK

This recent thread on the ROOL forum might be of interest - https://www.riscosopen.org/forum/forums/1/topics/15515

Bryan.

Re: Learn programming on acorn archimedes?

Posted: Tue Aug 18, 2020 9:19 pm
by Helba
Thanks for these details
I will look at it all