Search found 455 matches

by cfbsoftware
Fri Feb 07, 2025 12:13 am
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: Program Counter
Replies: 1
Views: 141

Re: Program Counter

Thank you for pointing that out. I'll update the docs accordingly. At the risk of being picky, the writer of the Oberon Compiler for the ARM Processor was Niklaus Wirth. I'm merely modifying the code generator to target other Arm processors. There is no way in the world I could have done that withou...
by cfbsoftware
Thu Feb 06, 2025 11:51 pm
Forum: Oberon Language
Topic: Conditional Compilation
Replies: 6
Views: 3217

Re: Conditional Compilation

And this strictly works with BOOLEAN CONSTs only, correct? Correct. It has always been possible to parameterise code in the way you describe - the Conditional Compilation feature just makes it less inefficient than it otherwise would be. However that was not the intended use of the feature and I wo...
by cfbsoftware
Thu Feb 06, 2025 1:03 am
Forum: Oberon Language
Topic: Conditional Compilation
Replies: 6
Views: 3217

Re: Conditional Compilation

Does the quoted statement mean that the nested 'IF F1 ...' gets included? Yes. If you compiled your code with v10 you would get the same code generated as if you compiled the following with v9.3: CONST T0 = TRUE; F1 = FALSE; PROCEDURE P4(); BEGIN IF F1 THEN Included() (* ?? *) END END P4;
by cfbsoftware
Wed Feb 05, 2025 9:03 pm
Forum: Oberon Language
Topic: Conditional Compilation
Replies: 6
Views: 3217

Re: Conditional Compilation

There are four possible combinations for the values of Trace.enabled (TRUE / FALSE) and OtherTrace.enabled (TRUE / FALSE). This is shown by the following hypothetical example. None of the calls to the procedure Eliminated are generated. MODULE Elsif; CONST F1 = FALSE; F2 = FALSE; T1 = TRUE; T2 = TRU...
by cfbsoftware
Tue Feb 04, 2025 1:09 am
Forum: Oberon Language
Topic: Conditional Compilation
Replies: 6
Views: 3217

Conditional Compilation

In the process of testing a module it is often very useful to add diagnostic traces to monitor progress. As these diagnostics are generally only required for development they can be turned off for the release version of the application using various CONST declarations. A new optimisation feature, Co...
by cfbsoftware
Sat Jan 25, 2025 11:34 pm
Forum: CPIde and Component Pascal
Topic: Debugging GPCP using Visual Studio
Replies: 1
Views: 57375

Re: Debugging GPCP using Visual Studio

While revisiting this article I discovered another later one titled Another Trick for Debugging GPCP Programs

https://softwareautomata.blogspot.com/2011/11/
by cfbsoftware
Tue Dec 31, 2024 6:16 am
Forum: Raspberry Pi RP2040 and RP2350
Topic: Text Display and/or Slide Drawing?
Replies: 3
Views: 26715

Re: Text Display and/or Slide Drawing?

v9.3.3 of Astrobe for RP2040 and Astrobe for RP2350 now include the Text Display and Slide Drawing examples as part of the standard distribution:

Astrobe for RP2040 Source code examples

Astrobe for RP2350 Source code examples
by cfbsoftware
Mon Dec 23, 2024 4:45 am
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: I2C
Replies: 4
Views: 16752

Re: I2C

V9.3.3 Astrobe for RP2040 and RP2350 have now been released with I2C support:

What's New in Astrobe for RP2040 and RP2350
by cfbsoftware
Fri Dec 13, 2024 1:38 am
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: RISC V support for RP2350
Replies: 1
Views: 6791

Re: RISC V support for RP2350

No plan as yet. Now if it was RISC5 instead of RISC-V that would be an entirely different matter ;)
by cfbsoftware
Wed Nov 27, 2024 1:11 am
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: I2C
Replies: 4
Views: 16752

Re: I2C

We plan to provide support for I2C for the Pi releases by the end of this year. The Astrobe for RP2040 and RP2350 Feature Matrix now specifies everything that is scheduled to be implemented by then.