Search found 440 matches

by cfbsoftware
Tue Feb 22, 2022 10:13 pm
Forum: CPIde and Component Pascal
Topic: Run button behaviour?
Replies: 1
Views: 5990

Re: Run button behaviour?

The Run button behaviour that you describe is ‘as designed’. There are two Run menu items, Run and Run Again . The button corresponds to the Run Again function as that is more frequently used and doesn’t require the entry of any parameters. If you switch to a new example, you need to select Run from...
by cfbsoftware
Fri Feb 04, 2022 10:34 am
Forum: Astrobe for FPGA RISC5
Topic: Register R13
Replies: 2
Views: 8518

Re: Register R13

Refer to Section 8.1 Layout and run-time organization of the Project Oberon (2013) Documentation: R13 base address for variables in the current module SB (static base) If you then look at the RISC5 compiler modification history you will see the following entry for 2018: 20180720 - Update compiler: O...
by cfbsoftware
Fri Feb 04, 2022 10:23 am
Forum: Astrobe for FPGA RISC5
Topic: SYSTEM.LDREG
Replies: 4
Views: 84609

Re: SYSTEM.LDREG

That particular section of code is taken 'as is' from the Project Oberon source code. As far as I am aware LDREG is an 'undocumented feature' in the RISC5 compiler - I have only seen it mentioned without explanation in some example code. Hence, you should make no assumptions about what it should or ...
by cfbsoftware
Wed Jan 19, 2022 5:53 am
Forum: CPIde and Component Pascal
Topic: Lola2 Compiler Source Code
Replies: 0
Views: 108248

Lola2 Compiler Source Code

The hardware description language (HDL) Lola (Logic Language) was designed by Niklaus Wirth in 1990 as an effort to present a simple and effective textual description of digital circuits. Other, similar but more complex, HDLs that you may have heard of are VHDL and Verilog . The use of the Lola2 com...
by cfbsoftware
Mon Jan 17, 2022 9:21 am
Forum: CPIde and Component Pascal
Topic: RISC5 Oberon Compiler Source Code
Replies: 0
Views: 13481

RISC5 Oberon Compiler Source Code

CPIde now includes the full source code for an Oberon for FPGA RISC5 command-line compiler as example code. These are the same source code modules used for the Oberon compiler in Astrobe for FPGA RISC5 . Consequently, the source code, symbol files and code files it uses and generates are 100% compa...
by cfbsoftware
Mon Jan 17, 2022 9:21 am
Forum: Astrobe for FPGA RISC5
Topic: RISC5 Oberon Compiler Source Code
Replies: 1
Views: 7820

RISC5 Oberon Compiler Source Code

CPIde now includes the full source code for an Oberon for FPGA RISC5 command-line compiler as example code. These are the same modules used for the Oberon compiler in Astrobe for FPGA RISC5 . Consequently, the source code, symbol files and code files this compiler uses and generates are 100% compat...
by cfbsoftware
Wed Jan 12, 2022 5:06 am
Forum: Astrobe for FPGA RISC5
Topic: Spurious Imports
Replies: 5
Views: 11992

Re: Spurious Imports

I have checked and as far as I can see the Astrobe compiler more or less works like the Project Oberon compiler as far as indirect imports go. As an example, if module M1 imports Texts and module M1 exports an item that references Texts then a module that imports M1 will indirectly import Texts as w...
by cfbsoftware
Tue Jan 04, 2022 12:17 am
Forum: Astrobe for FPGA RISC5
Topic: Spurious Imports
Replies: 5
Views: 11992

Re: Spurious Imports

The v8.0 Astrobe compiler includes some modifications to the way symbol files are handled to as mentioned in the What's New notes: The items in an IMPORT list may now be included in any order. The sequence is not affected by dependencies or indirect imports. I'm on leave right now - I'll check somet...
by cfbsoftware
Fri Dec 31, 2021 4:59 am
Forum: Astrobe for FPGA RISC5
Topic: Spurious Imports
Replies: 5
Views: 11992

Re: Spurious Imports

Search for the word ''índirect'' in the Project Oberon book and you will find references to indirect module imports which should help in understanding when they occur and why they are needed.
by cfbsoftware
Mon Dec 13, 2021 4:21 am
Forum: CPIde and Component Pascal
Topic: Main Menu for a Windows App
Replies: 0
Views: 15739

Main Menu for a Windows App

The attached example included with CPIde shows how to create a basic Windows App with a main menu. When you select a menu item the menu caption is displayed on the StatusBar. The code includes a function which uses the .NET StringBuilder functions to efficiently strip non-alphabetic characters from ...