Oxygen Basic

Programming => Example Code => Topic started by: Peter on February 22, 2011, 07:08:31 AM

Title: 15er Magic Square
Post by: Peter on February 22, 2011, 07:08:31 AM
deleted
Title: Re: 15er Magic Square
Post by: Charles Pegge on February 23, 2011, 08:01:23 AM
Thanks Peter,

It's working fine here but I dare not play with it right now while my focus is on O2 development. I have outwitted all the bugs and they are all in my collecting jar - all the Non-Darwinian ones anyway. I'm going for wide-string support now and hope to squeeze it in without significantly increasing the compiler size.

But the bad news is that any precompiled o2-dependent code will need to be recompiled to work with Alpha29 when it is released. I have remapped some of the runtime library and some of the internal string calls will have an additional parameter to indicate character width.

Charles
Title: Re: 15er Magic Square
Post by: JRS on February 23, 2011, 09:22:18 PM
Hi Charles,

Once you have the 32 bit Windows version the way you want it, will you be going after 64 bit Windows or looking at a Linux port of your Basic compiler?

John
Title: Re: 15er Magic Square
Post by: Charles Pegge on February 24, 2011, 08:26:26 AM
Hi John,

I've already started work on the 64 bit compiling option. Nearly all the infrastructure is in place and most of the remaining work will be in translating  RTL32.inc to RTL64.inc. But before doing this, it is better to get the wide string facilities bedded into RTL32 first. RTL32 and RTL64 have to be kept in sync thereafter.

Since we now have trouble-free compiling with FreeBasic 0.21 my first Linux port will be to get memory based (direct from script)  Oxygen working. ELF executables can come later.

Charles