[Oberon] newbie questions about oberon and bluebottle
Bernhard Egger
bernhard at aces.snu.ac.kr
Fri May 27 11:12:45 CEST 2005
Smoke Bellew wrote:
> For instance, how can I make system calls (or libc calls) with oberon?
> With freepascal I am used to use exec family functions, popen's,
> fork's. So, is unix system progrmming possible with oberon?
basically you can't. Oberon has its own modules that take care of file
access, process creation, etc.
> And in the other hand is it possible to write programs on another
> language for BlueBottle?
Patrik Reali wrote a Java compiler for Bluebottle, but I'm don't know
what the current status is.
> I downloaded ooc2 - and I doesn't like it because it is written in c
> and in fact it is only oberon to c translator.
> As far as I understand xds compiler just the same - written in C.
> I have noticed there x-windows programming libs...
> But doesn't yet tested compiler.
> xds compiler is proprietary and noone knows what will be in the future.
> Simply they can stop development because of lack of orders or
> something like that.
> I'll prefer to find something open-source but didn't found yet.
> So, all suggestations are welcome.
The compiler is part of Bluebottle, you can compile your Oberon programs
in Bluebottle/Oberon. The source code of the compiler is included.
>> > 4. Is there any IDE for Linux?
>>
>>Yes. There are several.
>
> Dodn't find even one.
> Please, give me a link.
I'm not sure if you got the right idea...Oberon is a language and a
runtime environment. Under Linux, running Oberon will open a window with
the typical Oberon user interfacee. You can the program or do whatever
you like 'inside' that window.
> When I'll understand system.
after you understand the system, you'll probably need a day or two to
finish your first user interface ;-)
> I even can't install it because of following reasons:
> first problem
> I can't find out is there any terminal
> When I wrote Desktops.OpenDoc CD:AosInst.Tool ~ in the notepad, I
> can't start the command using mouse middle click, because it doesn't
> catch parameters, only 'Desktops.OpenDoc' are executed.
> So, I run it from the Oberon inside the bluebottle.
> Then if I executed Desktops.OpenDoc CD:AosInst.Tool ~ from Oberon...
> then yes, I' have documentation.
> I did it many times, but then
> Partitions.GetConfig IDE0#00 or Partitions.GetConfig IDE0#01 doesn't
> show me error message in System.Log but doesn't seems to work!
if you have never installed Bluebottle on any partition before, you
don't need to execute that command.
> How do I know that my commands executed?
> With some partition graphic tools I am able to view my partitions. But
> didn't realize what should I write if I only creted one 1 gb partition
> - IDE0#00 or IDE0#01 ?
IDE0#00 is the whole disk, so IDE0#1 would be appropriate
> Then I do
> !PArtitions.UpdateBootLoader IDE0#00 OBL.Bin
> nothing happens
Remove the "!". The exclamation mark is only there to protect you from
accidentally overwriting your boot record.
> Partitions.Show
> Disk: IDE0, 1024MB, VMWare Virtual IDE hard drive
> IDE0#00 1024MB --- (whole disk)
> IDE0#01 1023MB 14 * DOS FAT16 LBA
> (when I realize that can do nothing with graphical partitioning tool I
> created partitions with fdisk and formatted them fat16)
> Disk2: IDE2, 72MB, removable, VMWare virtual IDE cdrom drive
> IDE2#00 72MB --- (Whole Disk)
> Then I do
> Partitions.ChangeType IDE0#00 from 76 ~
> 'Expected parameters Oldtype newtype' appeared in
> system.log
Right. Replace <from> with the actual partition type (IDE0#1 has type 14
as you can see from Partitions.Show's output).
The command you want to execute is:
Partitions.ChangeType IDE0#1 14 76 ~
Follow follow the instructions in AosInst.Tool carefully!
Good luck
Bernhard
More information about the Oberon
mailing list