Search found 444 matches

by cfbsoftware
Wed May 21, 2014 1:02 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Is a suppurt of freescale cortex m4 thinkable ???
Replies: 4
Views: 32183

Re: Is a suppurt of freescale cortex m4 thinkable ???

A wild guess - maybe 3x - 4x more effort.
by cfbsoftware
Fri Mar 14, 2014 11:55 pm
Forum: Oberon Language
Topic: Exported pointer variables
Replies: 15
Views: 92466

Re: Exported pointer variables

The semantics of exported pointer variables is subtle though. Consider the following module: MODULE M; TYPE T* = POINTER TO RECORD x*: INTEGER END; VAR p*: T; q*: POINTER TO RECORD x*: INTEGER END; END M. In a client module the field M.p.x can be modified by a variable of type M.T whereas the field...
by cfbsoftware
Sat Mar 01, 2014 6:07 am
Forum: Oberon Language
Topic: Updated Oberon Language Report (Revision 1.10.2013)
Replies: 21
Views: 131622

Re: Updated Oberon Language Report (Revision 1.10.2013)

kevinhely wrote:Wirth said it was an oversight to leave the "D" business in the report. It will be removed shortly.
It has now been removed.
by cfbsoftware
Sat Mar 01, 2014 6:04 am
Forum: Oberon Language
Topic: Exported pointer variables
Replies: 15
Views: 92466

Re: Exported pointer variables

The most recent (dated 22 Feb 2014) published copy of the Oberon Report (Revision 1.10.2013) now says: Variables are always exported in read-only mode. instead of: Variables cannot be exported, with the exception of those of scalar types in read-only mode. Array and Record variables can be exported ...
by cfbsoftware
Fri Jan 17, 2014 12:22 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: optimized Serial.PutChar ?
Replies: 2
Views: 21307

Re: optimized Serial.PutChar ?

The attached example program for the LPCXpresso LPC1769 shows how you can use the Serial functions RxReady and TxReady to avoid blocking. After you have uploaded the program the led will start flashing once per second (500ms on and 500ms off). Open the Astrobe Terminal window and click on the Reset ...
by cfbsoftware
Fri Dec 27, 2013 11:57 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: debugging in the case of hardware faults
Replies: 2
Views: 21935

Re: debugging in the case of hardware faults

Good question! I'll make sure a section is added to the Debugging section of the documentation for the next release. For now, all the information you should need is here: The strategy that you used was very successful as you managed to identify the source code line with the problem - that is usually...
by cfbsoftware
Fri Dec 27, 2013 10:12 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: problems with PWM
Replies: 2
Views: 22013

Re: problems with PWM

Thank you for reporting the problem. It seems that there is an error in the LPC1769 MCU.mod library file. Try replacing the line:

Code: Select all

PWMBase* = 04001800H
with

Code: Select all

PWMBase* = 040018000H
(i.e. there is an extra trailing 0)
by cfbsoftware
Fri Dec 20, 2013 11:51 pm
Forum: Oberon Language
Topic: Nested procedures
Replies: 23
Views: 128756

Re: Nested procedures

After working with Prof Wirth's latest Oberon for FPGA compiler, and receiving replies to a couple of questions I realise that my last reply, and probably some of my earlier posts in this discussion, were incorrect. The following is actually legal Oberon code because PROCEDURE Q is a local variable ...
by cfbsoftware
Thu Dec 12, 2013 12:09 pm
Forum: Oberon Language
Topic: Nested procedures
Replies: 23
Views: 128756

Re: Nested procedures

I can see why you ask - but it is allowed. While it is true that Q is declared locally in P, the identifier (in this case Q) that represents the name of a procedure is also visible in its own scope. Note that if that weren't true, the following would be possible: PROCEDURE Q; VAR Q: INTEGER; BEGIN ....
by cfbsoftware
Sat Nov 30, 2013 6:05 am
Forum: Oberon Language
Topic: New language extension: BYTE data type
Replies: 6
Views: 58898

Re: New language extension: BYTE data type

We have now decided that when we release the version of Astrobe which conforms to Oberon Rev 1.10.2013 the constants 0 .. 255 will be compatible with BYTE and INTEGER variables in assignments, but will be treated as INTEGERs when their type cannot be determined by the context (e.g. as parameters to ...