Search found 143 matches

by gray
Tue Jun 03, 2025 10:58 am
Forum: Raspberry Pi RP2040 and RP2350
Topic: Oberon RTK Updates
Replies: 18
Views: 6388154

Re: Oberon RTK Updates

Latest changes and updates: https://oberon-rtk.org/updates/2025/cn-2025-06-03

Some long overdue config file housekeeping and validation: https://oberon-rtk.org/docs/tools/config-files/

Website: https://oberon-rtk.org/
GitHub repository: https://github.com/ygrayne/oberon-rtk
by gray
Tue Jun 03, 2025 5:23 am
Forum: Bug Reports
Topic: Config Files Limitations
Replies: 1
Views: 26333

Config Files Limitations

It appears that Astrobe for RP2350 as well as RP2040 have a limit regarding the number of configuration files in the same directory (nine?). I couldn't find any documentation about this, but I may have missed it. All files are recognised and correctly listed in the menu. When attempting to select a ...
by gray
Mon Jun 02, 2025 11:06 am
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: SYSTEM.VMSR, SYSTEM.VMRS
Replies: 2
Views: 22166

Re: SYSTEM.VMSR, SYSTEM.VMRS

Another attempt:

Code: Select all

VAR x: INTEGER;
SYSTEM.VMRS(x)
0F8DF0008H      ldr.w    r0,[pc,#8] -> 24
06800H          ldr      r0,[r0]
0EEF10A10H      vmrs     r0,fpscr
Shouldn't this be something like this (using the same pc-offset for x):

Code: Select all

vmrs     r0,fpscr
ldr.w    r1,[pc,#8] -> 24
str      r0,[r1]
by gray
Mon Jun 02, 2025 10:29 am
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: SYSTEM.VMSR, SYSTEM.VMRS
Replies: 2
Views: 22166

SYSTEM.VMSR, SYSTEM.VMRS

Astrobe for RP2350 uses 'SYSTEM.VMSR(0)' in the initialisation of the FPU (module Main). This SYSTEM procedure is not documented in SYSTEM.def, but the disassembly makes its function clear: SYSTEM.VMSR(0); 02000H movs r0,#0 0EEE10A10H vmsr fpscr,r0 If there's 'SYSTEM.VMSR' there is probably 'SYSTEM....
by gray
Sun Jun 01, 2025 11:14 am
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: Relative Search Path
Replies: 2
Views: 20858

Re: Relative Search Path

During the compilation phase, relative paths are relative to the folder which contains the module being compiled . During the linking phase, relative paths are relative to the folder which contains the module (which imports Main) being linked . Thinking this through, it follows that we can have a s...
by gray
Sun Jun 01, 2025 10:02 am
Forum: Raspberry Pi RP2040 and RP2350
Topic: Oberon RTK Updates
Replies: 18
Views: 6388154

Re: Oberon RTK Updates

by gray
Tue May 27, 2025 9:49 am
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: Finding Imported Modules
Replies: 8
Views: 55354

Re: Finding Imported Modules

Allow me summarise. 1) The following is the test code you have provided. I have only changed VARs to CONST in both M1.mod to easier check in the assembly file which module is actually imported. But importantly, both M1.mod have a different public interface. Structure: + Test2 + P1.mod + prog + M1.mo...
by gray
Sat May 24, 2025 10:28 am
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: Finding Imported Modules
Replies: 8
Views: 55354

Re: Finding Imported Modules

As said, I am building your test code, ie. with two modules M1 with different public interfaces. As long as I don't compile M0 directly, I can build P successfully, with M1 in 'lib' never being compiled. I attach the test code (Test2.zip). To take the test one step further, if I change M0 to MODULE ...
by gray
Fri May 23, 2025 12:13 pm
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: Finding Imported Modules
Replies: 8
Views: 55354

Re: Finding Imported Modules

Mulling over this some more, in the light of the documentation, and all you said in this thread and in Relative Search Path makes me think that I should not be able to sucessfully build the test program as described in my post above. That is, with M0 compiled with reference to M1 in 'prog' (verified...
by gray
Fri May 23, 2025 1:08 am
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: Relative Search Path
Replies: 2
Views: 20858

Relative Search Path

With v10 we can use relative search path names: Relative path names ( ..\..\Lib\General for example) can be used in the search paths. The paths are evaluated before compilation / linking starts and are relative to the folder which contains the initial source file. Test set-up: C:\Astrobe\Test3 + P1....