Search found 14 matches

by captbill
Tue Jul 07, 2015 12:23 am
Forum: Oberon Language
Topic: Returning Const Value via Procedural Type
Replies: 5
Views: 37001

Re: Returning Const Value via Procedural Type

However, I believe you were trying to achieve something else here by using a procedure type but I do not understand what. What I am venturing to do is to port a library for the RA8875 TFT driver chip. It has a massive listing of registers that you drive directly, thus the term "porting" is better d...
by captbill
Mon Jul 06, 2015 7:40 pm
Forum: Oberon Language
Topic: Returning Const Value via Procedural Type
Replies: 5
Views: 37001

Re: Returning Const Value via Procedural Type

I have a large listing of registers that I need to order sequentially to make SPI init sequences. CONST RA8875_PWRR = 010H; (*Power and Display Control Register*) RA8875_PWRR_DISPON = 080H; RA8875_PWRR_DISPOFF = 000H; RA8875_PWRR_SLEEP = 002H; RA8875_PWRR_NORMAL = 000H; RA8875_PWRR_SOFTRESET = 001H;...
by captbill
Mon Jul 06, 2015 5:41 am
Forum: Oberon Language
Topic: Returning Const Value via Procedural Type
Replies: 5
Views: 37001

Returning Const Value via Procedural Type

I am trying to implement a procedure type which returns the value of a constant. I need to implement a basic enumerator structure that can be processed in order. Is there a better way than the procedural approach I am attempting here? Is my use of a procedural type well founded? Can you point to any...
by captbill
Sat Jul 04, 2015 3:57 am
Forum: Astrobe for FPGA RISC5
Topic: FPGA Oberon Article in Xilinx Xcell Journal (Issue 91)
Replies: 6
Views: 33954

Re: FPGA Oberon Article in Xilinx Xcell Journal (Issue 91)

The initial implementation will only need a minimal version of the Project Oberon OS e.g. the Kernel, loader, filesystem, SPI, RS232, SD card support etc. The higher-level layers of the OS with the user-interaction features e.g. GUI, display, VGA, mouse, keyboard, compiler, editor etc will not be r...
by captbill
Fri Jul 03, 2015 9:25 pm
Forum: Astrobe for FPGA RISC5
Topic: FPGA Oberon Article in Xilinx Xcell Journal (Issue 91)
Replies: 6
Views: 33954

Re: FPGA Oberon Article in Xilinx Xcell Journal (Issue 91)

Wonderful! So let me get this strait: your goal is to be able to create "programs" which are based on the current "targets" available in Astrobe to "flash" to the ProjectOberon OS on the FPGA? Or does it create the whole flashable .bin file? That is interesting...and what timing! I have been trying ...
by captbill
Thu Jul 02, 2015 11:55 pm
Forum: Astrobe for FPGA RISC5
Topic: FPGA Oberon Article in Xilinx Xcell Journal (Issue 91)
Replies: 6
Views: 33954

Re: FPGA Oberon Article in Xilinx Xcell Journal (Issue 91)

Hi Chris,
Anything exciting happening with the FPGA lately?

Thanks
by captbill
Thu Jul 02, 2015 11:50 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: New Astrobe Targets
Replies: 7
Views: 53479

Re: New Astrobe Targets

1. Tensilica line used on the ESP8266 WIFI modules. 2. Many "boards" are popping up all the time. Ideally, we have Magnus at Saanlima help design/implement our own needs. 3. 1 The Tensilica chip is a quite fascinating SoC microcontroller. It is the driving force mcu behind the IoT (Internet of Thing...
by captbill
Sun Sep 28, 2014 8:51 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: BytesOffset Constant Value
Replies: 3
Views: 23152

Re: ByteOffset Constant Value

Thank you. Strings.Copy works perfectly.
Don't know how I managed to blank out the constant value. And yes it is 'BytesOffset' and not 'ByteOffset' over here. Pardon the typo.

So all is a go from here. Great demo too!

Thanks again Sir
by captbill
Sun Sep 28, 2014 7:12 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: BytesOffset Constant Value
Replies: 3
Views: 23152

Re: ByteOffset Constant Value

Also to add clarity, I ran across this issue while trying to compile the SunriseSunset demos. I am now unable to compile: Oberon for Cortex-M3 Compiler v5.1.0 compiling SunRiseTest Line Col 18 8 Error: undefined identifier 18 19 Error: too many parameters I am confused though that the error is too m...
by captbill
Sun Sep 28, 2014 6:40 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: BytesOffset Constant Value
Replies: 3
Views: 23152

BytesOffset Constant Value

Hi,
I was have trouble getting ResData.Mod to compile and found it was due to on of the constants not having a value. It was the 'ByteOffset' constant. I guessed with 'ByteOffset = 4;'. Compiles fine now. What is the correct value here though?

Thanks!