Go to advanced search

by Johnbeaumont
Wed Sep 04, 2019 9:31 pm
Forum: Bare metal, Assembly language
Topic: Using my Pi as a cross-compiler
Replies: 4
Views: 298

Re: Using my Pi as a cross-compiler

Thanks I’ll try that. I copied got the tarball and extracted, updated the Path but it wasn’t working. Will see if this works. On win 10 - all the blogs I have read say you should develop on Linux not windows hence the reluctance .... didn’t realise the LdB tool chains didn’t require installation so ...
by Johnbeaumont
Wed Sep 04, 2019 3:37 pm
Forum: Bare metal, Assembly language
Topic: Using my Pi as a cross-compiler
Replies: 4
Views: 298

Re: Using my Pi as a cross-compiler

Thanks - that's helpful.

And is it possible to do it on Raspbian?
by Johnbeaumont
Wed Sep 04, 2019 12:10 pm
Forum: Bare metal, Assembly language
Topic: Using my Pi as a cross-compiler
Replies: 4
Views: 298

Using my Pi as a cross-compiler

This is probably a silly question, but as a (old) ASM programmer, I've decided to try to get to grips with bare-metal Pi programming. Only issue is that I don't have a linux box, only a locked down win 10 work laptop! Therefore I was wondering if I can install a cross-compiler on my Raspberry Pi. So...
by Johnbeaumont
Mon Sep 02, 2019 6:34 am
Forum: Bare metal, Assembly language
Topic: Learn assembly language which is on raspbian with this book
Replies: 4
Views: 438

Re: Learn assembly language which is on raspbian with this book

Another option if you want to learn on a PC is to install an archimedes emulator. I found and installed Red Squirrel, and then was able to install Acorn C, which has an assembler built in.

You can probably do the same with Virtual Acorn.
by Johnbeaumont
Fri Aug 30, 2019 8:15 pm
Forum: Bare metal, Assembly language
Topic: Yet Another Bare Metal Tutorial for the RPi3
Replies: 77
Views: 54140

Re: Yet Another Bare Metal Tutorial for the RPi3

Will this tutorial work on rpi4?
by Johnbeaumont
Fri Aug 30, 2019 6:20 am
Forum: Bare metal, Assembly language
Topic: Raspbian assembly draw a line on screen
Replies: 7
Views: 795

Re: Raspbian assembly draw a line on screen

Thanks all. Yes I am using ASM on raspbian. When I did ASM on the Archimedes (admittedly a long time ago!) it was easier to access video memory.

I’ll convert code to ASM and proceed that way.

Thanks
by Johnbeaumont
Wed Aug 28, 2019 5:26 am
Forum: Bare metal, Assembly language
Topic: Raspbian assembly draw a line on screen
Replies: 7
Views: 795

Re: Raspbian assembly draw a line on screen

Thanks. This can’t be done in asm? In Risc OS you a section of memory was reserved for the screen so you could just write to that ...
by Johnbeaumont
Mon Aug 26, 2019 7:06 pm
Forum: Bare metal, Assembly language
Topic: Raspbian assembly draw a line on screen
Replies: 7
Views: 795

Raspbian assembly draw a line on screen

Years ago I used to do assembly using RISCOS and BASIC ASM. I have just got myself a Pi4 and have loaded up Raspbian and started to do some simple assembly. I can manipulate registers and use syscalls to get keyboard input and send to screen etc. but I am trying to work out how to construct a simple...

Go to advanced search