carlsson wrote:Yowsa, that is not the kind of C teached in schoolbooks. While in no way obfuscated, it utilizes the loop constructs quite a lot.

Yes, I know, but this is not my work. I just adapted it (in order to fit the number of columns of the Text mode), from a windows source code.

@debug : it compiles here, guaranteed !
I wanted to ask you : are you sure you want to keep the system of batch files for compilation and so forth for your OSDK ? We could use instead some more elaborated scripting engine such like AutoIt, what do you think ?

Dbug wrote:Now the question is, what is the problem with the batch file, what kind of more elaborate thing you wanted to do ?

This is a recurrent topic... And I think nobody has, till now, gave a good reason for Dbug to drop the batch file system. I also find it really useful, quite easy to change and possibly very easy to port to other OSes.

Granted it does some ugly things with the output and how Euphoric is called, directories with some old files (I remember I had to clean the tmp or bin, don't remember which, as I was having compiling errors -- also I went ARGH many times after running the bat for cleaning the tmp directories and discover it deleted the tap and dsk files I had on the Euphoric's dir) and such, but I frankly cannot imagine another way to do these, which do not depend on using batch files or any other tool.

I'd say that, with the size of Space:1999 and 1337 (Elite-clone) and how they call external tools for several matters, I start to miss a good "make" to avoid recompiling what has not changed, but it is not enough to even consider switching to it, I think.

Better have a full C compiler (I remember errors in the string handling, itoa and such) without bugs... then we'll see

I'll give a try under WINE .. but one stupid question: wasn't there a native C compiler for the Oric Atmos at some point, which could be used to build full-blown apps? I must confess to becoming more and more foggy over the years about such things, and was never quite savvy with it in the good ol' days either, not having ever had a microdrive to play with ..