Beginners hardware programming questions.
G Pennington (3994) 1 post |
Hi RiscOS users, I am thinking of buying a Raspberry Pi 3 to run RISC OS Open and do a spot of programming. I never had an Archimedes but a long time ago I had a Beeb and used to enjoy low level programming. I fancy learning ARM assembly language, via the BASIC assembler, and thought Risc OS maybe the way to go. I would also like to “program” the underlying hardware, not use the operating system calls. The initial coding is for my learning experience and not meant for a wide audience so compatibility is irrelevant. I have a few questions that hopefully someone could answer. 1. Is it possible to get direct access to the screen memory, the region above HIMEM in BBC basic? Sorry if these questions don’t make any sense in this brave new world. Many thanks, |
Jon Abbott (1421) 2651 posts |
In answer to your questions: 1. Yes its possible to directly access screen memory |
Tristan M. (2946) 1039 posts |
A note on question #5. The specs of the original BBC Micro’s hardware were pretty much set in stone. RISC OS runs on a variety of different ARM based hardware, so there is no straightforward guide to manipulating specific hardware in RISC OS. However the datasheets for the various platforms are available. Although it’s not a great bit of code, you could check out my Lib RO GPIO which talks to the GPIO hardware directly. |