[Oberon] A2 Repository

Felix Friedrich felix.friedrich at inf.ethz.ch
Sat Oct 26 18:35:15 CEST 2019


Hi Peter

For the native versions of A2 there has been some progress made now. A 
minimal A2HDD.img that can be booted from Bochs / VMWare / Qemu can 
built with a very simple script (that I attach below).

More commands for building an A2 with GUI and all extras will appear in 
tool files in A2 soon.

Kind regards
Felix


> Hi,
>
> rev.9527 on Guenter's Web site is dated September 26.
>
>  From felix.friedrich ... Wed Jul  3 09:30:57 2019
>> We are currently investing effort into cleaning up A2 ...
>> ...
>> ... we will make sure that native versions are properly supported again.
>> ... need to finish this work before October.
> Are native versions suitable for end users now?  Hold off a little longer?
>
> Thanks,                             ... Peter E.
>

1. Create Directory, if not existing.
FSTools.CreateDirectory Build/ ~

2. Build A2HDD

System.DoCommands
Compiler.Compile --platform=Bios32 --destPath=Build/
     I386.Builtins.Mod
     Trace.Mod
     BIOS.I386.Machine.Mod
     Heaps.Mod
     Modules.Mod
     BIOS.Objects.Mod
     Kernel.Mod
     KernelLog.Mod
     Plugins.Mod
     RealConversions.Mod
     Streams.Mod
     Commands.Mod
     I386.Reals.Mod
     Reflection.Mod
     TrapWriters.Mod
     BIOS.I386.Traps.Mod
     Locks.Mod
     BIOS.PCI.Mod
     BIOS.Clock.Mod
     BIOS.MemCache.Mod
     Disks.Mod
     Files.Mod
     BIOS.ATADisks.Mod
     Caches.Mod
     DiskVolumes.Mod
     DiskFS.Mod
     Dates.Mod
     Strings.Mod
     Caches.Mod
     OberonFS.Mod
     FATVolumes.Mod
     ISO9660Volumes.Mod
     BitSets.Mod
     Diagnostics.Mod
     StringPool.Mod
     ObjectFile.Mod
     GenericLinker.Mod
     Loader.Mod
     BootConsole.Mod
     Test.Mod
~
(* ----------------- Linking ---------------- *)

Linker.Link -p=Bios32
     --fileName="IDE.Bin"
     --displacement=0100000H
     --path="Build/"
     --logFileName="linker.log"
     Builtins Trace Machine Heaps Modules Objects Kernel
     KernelLog Plugins Streams Commands Reals
     Reflection TrapWriters Traps Locks PCI Clock MemCache Disks Files
     ATADisks DiskVolumes DiskFS
     Dates Strings
     Diagnostics BitSets StringPool ObjectFile GenericLinker Loader
     BootConsole Test ~

(* ---------- Create bootable HDD Image ------ *)

System.Timer start ~


PCAAMD64.Assemble OBLUnreal.Asm ~
PartitionsLib.SetBootLoaderFile OBLUnreal.Bin ~
FSTools.DeleteFiles -i A2HDD.img ~
VirtualDisks.Create A2HDD.img 409248 512 ~
VirtualDisks.Install VDISK0 A2HDD.img ~
Partitions.WriteMBR VDISK0#0 OBEMBR.Bin ~
Partitions.Create VDISK0#1 76 9999 ~
Partitions.Activate VDISK0#1 ~
Partitions.Format VDISK0#1 AosFS 1024 IDE.Bin ~

FSTools.Mount TEMP AosFS VDISK0#1 ~


FSTools.CopyFiles -oq Build/*.GofG => TEMP:*.Gof ~
FSTools.CopyFiles -oq Build/*.SymG => TEMP:*.Sym ~

FSTools.Watch TEMP ~
FSTools.Unmount TEMP ~

Partitions.SetConfig VDISK0#1
     TraceMode="7" TracePort="1" TraceBPS="115200"
     BootVol1="AOS AosFS IDE0#1"
     AosFS="DiskVolumes.New DiskFS.NewFS"
     Boot1="Test.Test"
     Init=""
     ATADetect="legacy"
     ExtMemSize="256"
     CacheSize="1000"
     ~
VirtualDisks.Uninstall VDISK0 ~

System.Show HDD image build time:  ~
System.Timer elapsed ~

FSTools.CloseFiles A2HDD.img ~
~



More information about the Oberon mailing list