Groups | Search | Server Info | Login | Register
Groups > comp.sys.acorn.programmer > #6527
| From | Matthew Phillips <spam2011m@yahoo.co.uk> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: File type of machine code? Where does it start? |
| Date | 2025-06-21 08:20 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <a2d555305c.Matthew@sinenomine.co.uk> (permalink) |
| References | (1 earlier) <lKm*MFveA@news.chiark.greenend.org.uk> <5c29d67fbebavariasound@chiemgau-net.de> <5c2f4363e6bavariasound@chiemgau-net.de> <5c2f5bb58bNews03@avisoft.f9.co.uk> <5c2ffe1635bavariasound@chiemgau-net.de> |
In message <5c2ffe1635bavariasound@chiemgau-net.de> on 20 Jun 2025 Alexander Ausserstorfer wrote: >>> An application will always be loaded and started by RISC OS on >>> address &08000. This is a bit strange because RISC OS can hold >>> different applications at the same time in the RAM. Normally, the >>> programs would be overwritten when all are loaded at the same >>> location of memory. But between the ARM and the RAM you have the >>> MEMC (this I grab from the PRMs 3 - is that still the case today?). >>> The MEMC maps the memory for the applications and moves it to >>> elsewhere, to a place where is free memory. >> Applications do always appear to start at &8000, but this is just a >> 'virtual' address. It will actually be at a physical real address, and >> the translation is done for you by RISC OS so you always deal with the >> virtual addresses. There is no longer a MEMC chip involved. > Thanks. Let do that task RISC OS means doing it by software. Isn't that > a brake for the performance? The functions of the separate MEMC are now integrated into the processor, so it is done in hardware. RISC OS manages that for you. > What about the program counter? Was there any changes to it since the > release of the PRMs for RISC OS 3? The main change is the 32-bit addressing, so the flags are no longer found in the program counter, they are in the CPSR (Current Program Status Register) instead. The MRS and MSR opcodes allow you to copy this to or from an ordinary register, but this is rarely needed. -- Matthew Phillips Durham
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
File type of machine code? Where does it start? Alexander Ausserstorfer <bavariasound@chiemgau-net.de> - 2025-06-07 17:41 +0200
Re: File type of machine code? Where does it start? Martin <News03@avisoft.f9.co.uk> - 2025-06-07 18:14 +0100
Re: File type of machine code? Where does it start? Alexander Ausserstorfer <bavariasound@chiemgau-net.de> - 2025-06-08 18:26 +0200
Re: File type of machine code? Where does it start? Theo <theom+news@chiark.greenend.org.uk> - 2025-06-08 11:02 +0100
Re: File type of machine code? Where does it start? Alexander Ausserstorfer <bavariasound@chiemgau-net.de> - 2025-06-08 18:32 +0200
Re: File type of machine code? Where does it start? Alexander Ausserstorfer <bavariasound@chiemgau-net.de> - 2025-06-19 07:22 +0200
Re: File type of machine code? Where does it start? Jean-Michel <jmc.bruck@orange.fr> - 2025-06-19 11:23 +0200
Re: File type of machine code? Where does it start? druck <news@druck.org.uk> - 2025-06-24 20:47 +0100
Re: File type of machine code? Where does it start? Bob Latham <bob@sick-of-spam.invalid> - 2025-06-25 09:29 +0100
Re: File type of machine code? Where does it start? Martin <News03@avisoft.f9.co.uk> - 2025-06-19 10:48 +0100
Re: File type of machine code? Where does it start? Alexander Ausserstorfer <bavariasound@chiemgau-net.de> - 2025-06-20 17:22 +0200
Re: File type of machine code? Where does it start? Matthew Phillips <spam2011m@yahoo.co.uk> - 2025-06-21 08:20 +0100
Re: File type of machine code? Where does it start? Theo <theom+news@chiark.greenend.org.uk> - 2025-06-20 17:25 +0100
csiph-web