The contents of this package are public domain.

bios.exe is a BIOS that exports various functions in the
C library, starting with a bodged printf for now. It is
in Amiga hunk format and has been built targeting the
68020 so you will either need a machine with a 68020 or
you will need to rebuild it with your own 68000 compiler.
It is suitable for standard AmigaOS. I used makefile.ami
to build.

osworld.exe is a 68000 (not 68020) program that depends
on a suitable BIOS such as the above. Although it is in
AmigaOS hunk format, it will not be possible to run it
from AmigaOS but maybe a future version of AmigaPDOS
would support this interface (or something similar) for
application programs, but it would probably need a different
identifier. It especially makes a difference whether
AmigaPDOS is being built to run AmigaOS executables or
whether AmigaPDOS has been built to run its own standard
for executables, which would require a different format
so that it can identify the processor, the size of char,
short etc, so that it can adjust program arguments
appropriately and switch to a different coprocessor if
required. I used compami.bat to build.

Run by going:

bios.exe osworld.exe

on any AmigaOS system, with a 68020 or above unless you
have compiled your own bios.exe. The reason it has been
built using 68020 instructions is because I don't yet
have public domain 68000 assembler code (or even C code)
to do 32-bit division as needed by the compiler I am
currently using (vbcc).

See exeloadLoadAmiga() in exeload.c for copious documentation
on how everything should work. Note that bios.c has been
tested in an 80386-like environment (run compbios.bat and
comppdos.bat to build) and a S/370-like environment (run
allmvs.bat). I don't have AmigaOS or an emulator currently
available for testing.
