Search found 437 matches

by cfbsoftware
Mon Dec 18, 2023 9:03 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Buffer Address for DMA
Replies: 3
Views: 9173

Re: Buffer Address for DMA

But non-VAR parameters? I would have expected to get a stack address, but for RECORDs and ARRAYs we get the actual address, VAR or not VAR. This is a subtle consequence of Section 10.1 of the Oberon-07 Language Report: A value parameter corresponds to an actual parameter that is an expression, and ...
by cfbsoftware
Mon Dec 18, 2023 11:00 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Buffer Address for DMA
Replies: 3
Views: 9173

Re: Buffer Address for DMA

Try:

Code: Select all

DMA.SetMemAddr(chan, SYSTEM.ADR(s)); (* set memory address for  DMA channel *)
by cfbsoftware
Mon Dec 18, 2023 3:40 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Planned deprecation of SYSTEM.LNK, SP and PC variables
Replies: 0
Views: 14018

Planned deprecation of SYSTEM.LNK, SP and PC variables

We have discovered some reliability issues while running regression tests on v9.0.4 Astrobe for Cortex-M3, M4 and M7. These are related to the SYSTEM.LNK problem . A number of the instructions generated e.g. TEQ, TST, CMP etc. are documented as, for example: if n == 15 || m IN {13,15} then UNPREDICT...
by cfbsoftware
Fri Nov 17, 2023 4:56 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Interrupt Handlers
Replies: 2
Views: 7777

Re: Interrupt Handlers

Good question! Actually Cortex-M0 is OK but Cortex-M3 could be optimised. Try adding some code to your Cortex-M0 interrupt handlers. You should see some or all of registers r4 - r7 saved if they are allocated by the compiler in the handler. Additionally, all registers r4-r7 are saved if another proc...
by cfbsoftware
Fri Oct 06, 2023 6:28 am
Forum: CPIde and Component Pascal
Topic: GPCP Unhandled Exception
Replies: 3
Views: 18851

Re: GPCP Unhandled Exception

Maybe because you are using two different user names: john and jonro?
by cfbsoftware
Sat Aug 12, 2023 2:10 am
Forum: Getting Started
Topic: Using Astrobe RISC5 with RISC5 emulators
Replies: 1
Views: 80056

Re: Using Astrobe RISC5 with RISC5 emulators

You could use Astrobe's editor and code navigation features to work on source code modules which you would then transfer to Peter's emulator using its file transfer features. You would then compile these modules on the emulator. However, you would need to avoid using any of the Astrobe-specific exte...
by cfbsoftware
Sat Jun 17, 2023 11:12 pm
Forum: Astrobe for FPGA RISC5
Topic: SYSTEM.LDREG
Replies: 4
Views: 91404

Re: SYSTEM.LDREG

Refer to the discussion titled [Oberon] List of extensions for Project Oberon compiler on the ETH Oberon Mailing list for more information related to "undocumented features" in Project Oberon.
by cfbsoftware
Thu May 04, 2023 6:42 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Advance v9.0 Astrobe for Cortex-M information
Replies: 0
Views: 23871

Advance v9.0 Astrobe for Cortex-M information

With the experience gained from writing the code generator for Astrobe for Cortex-M0 we have enhanced the code generator for Astrobe for Cortex-M3, M4 and M7 for version 9.0 due for release in Q4 2023. This advance information is intended to allow you prepare for these changes: Registers are allocat...