Search found 110 matches
- Sat Apr 27, 2024 6:32 am
- Forum: Bug Reports
- Topic: RECORD Fields with Identical Identifier
- Replies: 1
- Views: 24
RECORD Fields with Identical Identifier
Via a typo I have come across this (Astrobe for Cortex-M0v 9.1): MODULE M; TYPE R = RECORD x: INTEGER; x: INTEGER; y: INTEGER END; PROCEDURE p; VAR r: R; BEGIN r.x := 13; r.y := 17 END p; END M. Looking at the assembly code for 'p': PROCEDURE p; VAR r: R; BEGIN . 24 018H 0B500H push { lr } . 26 01AH...
- Thu Apr 25, 2024 11:12 am
- Forum: Cortex-M0, M3, M4 and M7
- Topic: RP2040: Library & Tools for Astrobe Available
- Replies: 9
- Views: 6975
Re: RP2040: Library & Tools for Astrobe Available
Latest update and changes: https://oberon-rtk.org/description/changes-2024-04-25/ New library module Alarms. Example programs to evaluate a test module Alarms and the library module Alarms: https://oberon-rtk.org/examples/alarmeval/ and https://oberon-rtk.org/examples/alarmtest/. Example program to ...
- Tue Apr 16, 2024 6:19 am
- Forum: Cortex-M0, M3, M4 and M7
- Topic: RP2040: Library & Tools for Astrobe Available
- Replies: 9
- Views: 6975
Re: RP2040: Library & Tools for Astrobe Available
Latest update and changes: https://oberon-rtk.org/description/changes-2024-04-16/ New example program to introduce the micro-seconds tasking system, with measurements and evaluations of minimum set-up time and minimum time between consecutive tasks, run from flash memory or SRAM: https://oberon-rtk....
- Tue Apr 09, 2024 9:09 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: CONST Definition Question
- Replies: 1
- Views: 125
CONST Definition Question
Compiling MODULE TestConst; CONST C = 07FFFFFFFH + 1; END TestConst. results in Line Col 2 28 Error: compiler exception System.OverflowException: Arithmetic operation resulted in an overflow. at ORG.ORG.AddOp(Int32 op, Item& x, Item& y) at ORP.ORP.SimpleExpression(Item& x) at ORP.ORP.expression(Item...
- Thu Apr 04, 2024 9:44 am
- Forum: Cortex-M0, M3, M4 and M7
- Topic: RP2040: Library & Tools for Astrobe Available
- Replies: 9
- Views: 6975
Re: RP2040: Library & Tools for Astrobe Available
Latest updates and changes: https://oberon-rtk.org/description/changes-2024-04-04/ Astrobe for Cortex-M0 v9.1 is now the required baseline. New example program to measure code loading times from Flash, with and without caching, and from SRAM: https://oberon-rtk.org/examples/codeloading/ GitHub repo:...
- Thu Apr 04, 2024 9:43 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: Copying a Procedure to RAM
- Replies: 2
- Views: 181
Re: Copying a Procedure to RAM
This is for the RP2040. I am aware that Astrobe for Cortex-M0 does not yet officially support this MCU. Background, concepts, solution approach, as well as measurements and results related to my use case are described here: https://oberon-rtk.org/examples/codeloading/ In a nutshell, interrupt handle...
- Sun Mar 31, 2024 11:04 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: Copying a Procedure to RAM
- Replies: 2
- Views: 181
Copying a Procedure to RAM
What is the best way to copy a procedure, eg. from Flash memory to RAM? For example: MODULE M; PROCEDURE p0; END p0; PROCEDURE p1; END P1; END M. Getting the procedure's starting address is straight forward, but how to detect its ending address? Scanning for 'pop' is not safe, as any relevant consta...
- Sun Mar 17, 2024 11:39 am
- Forum: Bug Reports
- Topic: SET Parameter Problem
- Replies: 1
- Views: 4483
SET Parameter Problem
Test code (Astrobe v9.1 for Cortex-M0): MODULE M; PROCEDURE p(s: SET); END p; PROCEDURE run; VAR k: INTEGER; BEGIN p({k}); p({13}) END run; END M. Partial assembly code: PROCEDURE run; VAR k: INTEGER; BEGIN . 12 0CH 0B500H push { lr } . 14 0EH 0B081H sub sp,#4 p({k}); . 16 010H 09800H ldr r0,[sp] . ...
- Sun Mar 03, 2024 8:50 am
- Forum: Cortex-M0, M3, M4 and M7
- Topic: RP2040: Library & Tools for Astrobe Available
- Replies: 9
- Views: 6975
Re: RP2040: Library & Tools for Astrobe Available
Latest updates and changes: https://oberon-rtk.org/description/changes-2024-03-01/
Main addition: hybrid kernel variant (kernel-v2); https://oberon-rtk.org/kernel/kernel-de ... kernel-v2/
GitHub repo: https://github.com/ygrayne/oberon-rtk
Main addition: hybrid kernel variant (kernel-v2); https://oberon-rtk.org/kernel/kernel-de ... kernel-v2/
GitHub repo: https://github.com/ygrayne/oberon-rtk
- Sun Feb 18, 2024 6:47 am
- Forum: Cortex-M0, M3, M4 and M7
- Topic: RP2040: Library & Tools for Astrobe Available
- Replies: 9
- Views: 6975
Re: RP2040: Library & Tools for Astrobe Available
Recent changes and additions: 1) https://oberon-rtk.org/description/changes-2024-02-13/: stack usage checking Example program: https://oberon-rtk.org/examples/stackusage/ 2) https://oberon-rtk.org/description/changes-2024-02-16/: bootrom access Example program: https://oberon-rtk.org/examples/bootro...