Search found 399 matches

by cfbsoftware
Tue Oct 08, 2019 10:22 am
Forum: Astrobe for ARM Cortex-M3, M4 and M7
Topic: push {}
Replies: 9
Views: 1813

Re: push {}

I'd like an extended ResData (".ref") that not only gives the name for a module's address range, but also the procedure names (with address range) within the module. We have implemented a full application disassembler to be included in the Professional Edition in the next release. Each procedure an...
by cfbsoftware
Fri Oct 04, 2019 3:06 am
Forum: Bug Reports
Topic: ISB and DSB instructions
Replies: 0
Views: 70

ISB and DSB instructions

We have been working on a new disassembler for Astrobe which displays the code generated for an entire application after it has been linked. Testing has revealed that the definitions of the ISB and DSB instructions in the MCU modules for Astrobe for Cortex-M4 and Cortex-M7 have an incorrect byte ord...
by cfbsoftware
Fri Sep 06, 2019 12:12 pm
Forum: Oberon Language
Topic: Another clarification about local names
Replies: 2
Views: 271

Re: Another clarification about local names

The outer P (a global object) would still be hidden by the inner P (a local object) wouldn't it?
by cfbsoftware
Tue Sep 03, 2019 12:59 pm
Forum: General
Topic: Fast ARRAY and RECORD moves
Replies: 1
Views: 15125

Re: Fast ARRAY and RECORD moves

Since the Introduction of SYSTEM.COPY (equivalent to an inline version of MoveWords) an alternative implementation of Move is: PROCEDURE* Move*(fromAdr, toAdr, nBytes: INTEGER); VAR nWords, endAdr: INTEGER; byte: BYTE; BEGIN endAdr := fromAdr + nBytes; nWords := nBytes DIV 4; IF nWords > 0 THEN SYST...
by cfbsoftware
Sat Aug 31, 2019 11:50 pm
Forum: Oberon Language
Topic: Looking for clarification: local procedures cannot call local procedures, right?
Replies: 5
Views: 496

Re: Looking for clarification: local procedures cannot call local procedures, right?

Having read that 2018 discussion again, one point that stands out is the statement from the preface of the Project Oberon 2013 book: 4. Objects declared in a procedure P are not accessible within a procedure Q that is itself local to P. That is, objects must be either strictly local or global in ord...
by cfbsoftware
Sat Aug 31, 2019 11:03 pm
Forum: Oberon Language
Topic: Looking for clarification: local procedures cannot call local procedures, right?
Replies: 5
Views: 496

Re: Looking for clarification: local procedures cannot call local procedures, right?

Yes - I think you'd find it very interesting. There's nearly 20 year's worth of discussions in the archives:

http://lists.inf.ethz.ch/pipermail/oberon/
by cfbsoftware
Sat Aug 31, 2019 1:38 am
Forum: Oberon Language
Topic: Looking for clarification: local procedures cannot call local procedures, right?
Replies: 5
Views: 496

Re: Looking for clarification: local procedures cannot call local procedures, right?

Good question. Your example is currently allowed in both the Astrobe compilers and the Project Oberon compiler. However, the jury is out on this one. See the related discussion, Intermediate scopes in Oberon-07 in the ETH Oberon mailing List.
by cfbsoftware
Tue Aug 27, 2019 11:34 am
Forum: RISC5
Topic: Colour graphics demo for a 1.8" TFT Display
Replies: 0
Views: 303

Colour graphics demo for a 1.8" TFT Display

The attached zip file contains the source code of the Graphics line-drawing functions, ST7735 TFT display driver and a demo program to be used with v7.0 Astrobe for RISC5 . It displays AutoCAD Slide images of St Paul's Cathedral and the Columbia space shuttle on an 1.8" TFT Display: Slide.jpg The co...
by cfbsoftware
Mon Aug 26, 2019 12:08 pm
Forum: RISC5
Topic: Display Text on a 1.8" 128 x 160 Colour TFT screen
Replies: 0
Views: 258

Display Text on a 1.8" 128 x 160 Colour TFT screen

The attached example demonstrates how to use v7.0 Astrobe for RISC5 to write applications that display text on a 1.8" 128 x 160 TFT screen using a Sitronix ST7735 Display Controller. It uses a 6x8 font stored in a file Font.res which you need to upload to your target board with the compiled source c...
by cfbsoftware
Fri Aug 09, 2019 11:45 pm
Forum: Astrobe for FPGA RISC5
Topic: Examples Astrobe RISC5
Replies: 2
Views: 3175

Re: Examples Astrobe RISC5

v7.0 Astrobe for RISC5 includes additional source code examples, including using the button, switch and GPIO peripherals.