Search found 68 matches

by adimetrius
Wed Dec 02, 2020 11:00 am
Forum: Hershel
Topic: Hershel 64-bit compiler
Replies: 22
Views: 43769

Re: Hershel 64-bit compiler

Also, it seems I have not included into the repo a module that would allow to see a diagram in HrE - it explains the module's memory map. Will do.

Edit: Have done, added ChartViews.
by adimetrius
Wed Dec 02, 2020 10:58 am
Forum: Hershel
Topic: Hershel 64-bit compiler
Replies: 22
Views: 43769

Re: Hershel 64-bit compiler

As far as the first proxy table entry being unused -

Code: Select all

PROCEDURE HrE.Init;
...
		proxyAvail := M.pointerSize; 	(* no proxy shall have address 0, since it cannot be written into Uses *)
by adimetrius
Wed Dec 02, 2020 10:53 am
Forum: Hershel
Topic: Hershel 64-bit compiler
Replies: 22
Views: 43769

Re: Hershel 64-bit compiler

Good question. First, the OCF format is great - I like it much better than the ELF, had to study both in the last 5 weeks. Second, While we can preserve the overall OCF file structure, some things in it will still have to change. The reason is that OCF holds the image for the metadata, and that hold...
by adimetrius
Thu Nov 05, 2020 1:18 pm
Forum: Bug
Topic: Procedure pointers in stack are not initialized
Replies: 2
Views: 7977

Re: Procedure pointers in stack are not initialized

It seems to me that the problem is in DevCPC486.FindPtrs. It has the following line inside a branch checking local arrays: IF (btyp.form = Pointer) OR (btyp.comp = Record) THEN Seemingly, it has to be changed to include procedural types as follows: IF (btyp.form IN {Pointer, ProcTyp}) OR (btyp.comp ...
by adimetrius
Thu Oct 15, 2020 8:37 am
Forum: Bug
Topic: Compiler trap in Real64 op ADR(x)
Replies: 13
Views: 21018

Re: Compiler trap in Real64 op ADR(x)

Yes, I still believe CheckForm would be the most natural place for the fix.
by adimetrius
Tue Sep 29, 2020 8:32 pm
Forum: Documentation
Topic: Linker Docu file for Linux
Replies: 4
Views: 27078

Re: Linker Docu file for Linux

1. {sd} stands for secondary dir, as opposed to primary dir. Both can bee seen in run-dev0 and bbcb scripts. (I'll mention that in the oberoncore.ru forum, we have discussed the possibility of a three-level directory structure: primary (with BB as is shipped), secondary (with one's personal versions...
by adimetrius
Thu Sep 24, 2020 9:06 am
Forum: BlackBox Cross-Platform
Topic: Initial Blackbox port on Haiku
Replies: 6
Views: 11027

Re: Initial Blackbox port on Haiku

Thank you very much for the clarifications. I am excited that BlackBox is ported (though in initial stage) onto another platform. It seems that some compiler changes would make linking to C++ APIs of Haiku easier. So, in BBCP the Platform-Specific-Issues document specifies the procedure sysflag [cca...
by adimetrius
Wed Sep 23, 2020 9:43 am
Forum: BlackBox Cross-Platform
Topic: Initial Blackbox port on Haiku
Replies: 6
Views: 11027

Re: Initial Blackbox port on Haiku

Thanks for the directions, I've downloaded the binary release and was able to start BB in Haiku. Pretty cool! Looks like you've done A LOT of work! It seems after reading README.md that the biggest challenge was to 'translate' single-process architecture of BB into an inherently multi-threaded archu...
by adimetrius
Tue Sep 22, 2020 11:45 am
Forum: Hershel
Topic: Hershel 64-bit compiler
Replies: 22
Views: 43769

Re: Hershel 64-bit compiler

Herschel = RECORD (CP2(OP2(Wirth's Oberon compiler))) Herschel is based on CP2 - the BlackBox compiler, with quite a few changes. The most significant is the new front-end data structure which utilizes type extension; i call it semantic graph. This of course leads to changes all across the compiler ...
by adimetrius
Tue Sep 22, 2020 9:54 am
Forum: BlackBox Cross-Platform
Topic: Initial Blackbox port on Haiku
Replies: 6
Views: 11027

Re: Initial Blackbox port on Haiku

Sounds awesome!

Tried to try it, but I'm lost... I installed Haiku, git-cloned the repo... now the readme tells me to open Tools.odc - can't do it, 'cause can't run BlackBox in Haiku. Am I missing some cross-compiling step?