Search found 440 matches

by cfbsoftware
Fri Aug 02, 2013 11:22 pm
Forum: Oberon Language
Topic: Nested procedures
Replies: 23
Views: 127625

Re: Nested procedures

I was convinced of the fact that the new Oberon report had this restriction I am also convinced that is what is specified in the report titled "The Programming Language Oberon" Revision 22.9.2011 that is currently supplied with Astrobe. Astrobe v4 Oberon currently does allow access to "intermediate...
by cfbsoftware
Tue Jun 25, 2013 4:11 am
Forum: Oberon Language
Topic: Nested procedures
Replies: 23
Views: 127625

Re: Nested procedures

If you read the Language Report in isolation you could indeed come to that conclusion. You might even be able to get away with implementing a version of Oberon with that restriction and claim that it conformed to the report. However, I doubt that it would be very popular - even though I did make a s...
by cfbsoftware
Sat May 18, 2013 8:19 am
Forum: Oberon Language
Topic: Nested procedures
Replies: 23
Views: 127625

Re: Nested procedures

... In following code Astrobe raise Error: non-local not accessible when trying to access the x variable Is that correct? Yes. That is what it is designed to do. the global or strictly local access for nested procedures is relaxed Why do you say that? As far as I can see just the opposite is true. ...
by cfbsoftware
Sun Apr 14, 2013 5:45 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: ARM's mbed Application Board is now supported
Replies: 0
Views: 16950

ARM's mbed Application Board is now supported

We have now included ARM's mbed Application Board in the list of development boards we support for use with Astrobe for Cortex-M3. An example with source code showing how to display text and graphics on the LCD is in the Cortex-M3 Examples section of this forum.
by cfbsoftware
Fri Feb 15, 2013 12:37 pm
Forum: Oberon Language
Topic: 'Simple' Assignment
Replies: 1
Views: 15730

Re: 'Simple' Assignment

In Astrobe v4.3 and later BYTE is a regular data type so the above example can be written more simply as:

Code: Select all

MODULE Test;
CONST
  ByteV = 22;
VAR
  aByte: BYTE;
BEGIN
  aByte := ByteV
END Test.
by cfbsoftware
Sun Jan 27, 2013 7:21 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Simplecortex: LPC1769 Arduino Format
Replies: 4
Views: 34934

Re: Simplecortex: LPC1769 Arduino Format

I used the following settings in Link Options tab: Target: LPC1769 Crystal Freq (Hz): 12000000 Heap Start: 00000000H Heap Limit: 00000007H (Not shure if the Heap Start/Limit value's are correct) Your Heap Start / Limit values are not correct. However, they would only generally show up as a fault if...
by cfbsoftware
Sun Jan 27, 2013 7:10 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Using the additional 16 / 32kB of RAM on LPC175x/6x MCUs
Replies: 0
Views: 26068

Using the additional 16 / 32kB of RAM on LPC175x/6x MCUs

LPC175x/6x MCUs with 32kB of more of SRAM are different from other LPC1xxx MCUs in that the SRAM is split into two separate blocks - CPU SRAM and AHB SRAM. The CPU SRAM is intended for general use and the AHB SRAM is used by the USB and Ethernet features of the MCU. However, if you are not using eit...
by cfbsoftware
Sat Jan 26, 2013 11:30 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Simplecortex: LPC1769 Arduino Format
Replies: 4
Views: 34934

Re: Simplecortex: LPC1769 Arduino Format

Good news! I would have been surprised if it didn't work - you should be able to use Astrobe for Cortex M3 to target just about any board that uses one of the NXP LPC1xxx MCUs that are supported by Astrobe for Cortex-M3 . The only situation I can think of where you might have difficulties with an un...
by cfbsoftware
Thu Jan 24, 2013 7:40 am
Forum: Oberon Language
Topic: New language extension: Allow underscores in identifiers
Replies: 3
Views: 25766

Re: New language extension: Allow underscores in identifiers

These sorts of naming issues are subjective and depend on personal taste. What is important is that you decide on one style and apply it consistently. When you have decided which you prefer you can then have the best of both worlds by including alias definitions for your constants e.g.: CONST matchI...
by cfbsoftware
Sun Jan 13, 2013 12:35 pm
Forum: Oberon Language
Topic: Comparing pointers (including extensions)
Replies: 4
Views: 26440

Re: Comparing pointers (including extensions)

Then again, the rule for assignment permits mixing pointer types as long as one is an extension of the other. I guess that's why it's permitted to mix them in relational expressions in Astrobe, right? Yes. Wherever comparison and assignment are both allowed it would not make sense to me if the corr...