Learn programming on acorn archimedes?

bbc micro/electron/atom/risc os coding queries and routines
Post Reply
Helba
Posts: 4
Joined: Sat Aug 15, 2020 9:35 am
Contact:

Learn programming on acorn archimedes?

Post by Helba » Sat Aug 15, 2020 12:27 pm

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! ;)

User avatar
kieranhj
Posts: 923
Joined: Sat Sep 19, 2015 11:11 pm
Location: Farnham, Surrey, UK
Contact:

Re: Learn programming on acorn archimedes?

Post by kieranhj » Sat Aug 15, 2020 4:11 pm

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.
Bitshifters Collective | Retro Code & Demos for BBC Micro & Acorn computers | https://bitshifters.github.io/

Helba
Posts: 4
Joined: Sat Aug 15, 2020 9:35 am
Contact:

Re: Learn programming on acorn archimedes?

Post by Helba » Sun Aug 16, 2020 2:10 pm

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 :)

User avatar
kieranhj
Posts: 923
Joined: Sat Sep 19, 2015 11:11 pm
Location: Farnham, Surrey, UK
Contact:

Re: Learn programming on acorn archimedes?

Post by kieranhj » Sun Aug 16, 2020 3:24 pm

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.
Bitshifters Collective | Retro Code & Demos for BBC Micro & Acorn computers | https://bitshifters.github.io/

Helba
Posts: 4
Joined: Sat Aug 15, 2020 9:35 am
Contact:

Re: Learn programming on acorn archimedes?

Post by Helba » Sun Aug 16, 2020 4:03 pm

Thanks,
your code seems sufficient and it is clean, I will study it, I will give you a feedback :wink:

User avatar
DutchAcorn
Posts: 2296
Joined: Fri Mar 21, 2014 9:56 am
Location: Maarn, Netherlands
Contact:

Re: Learn programming on acorn archimedes?

Post by DutchAcorn » Sun Aug 16, 2020 8:27 pm

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.
Paul

Image

User avatar
helpful
Posts: 645
Joined: Tue Sep 22, 2009 1:18 pm
Location: London
Contact:

Re: Learn programming on acorn archimedes?

Post by helpful » Mon Aug 17, 2020 2:14 am

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.
RISC OS User Group Of London - http://www.rougol.jellybaby.net/
RISC OS London Show - http://www.riscoslondonshow.co.uk/

Helba
Posts: 4
Joined: Sat Aug 15, 2020 9:35 am
Contact:

Re: Learn programming on acorn archimedes?

Post by Helba » Tue Aug 18, 2020 9:19 pm

Thanks for these details
I will look at it all

Post Reply

Return to “programming”