Skip to content

v0.10.1

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 20:53
· 8 commits to main since this release
v0.10.1

release 0.10.1

  • Added a "use cases" chapter to the vamos user manual that walks through complete setups for real applications, starting with an ARexx environment

  • Added a lint make target that runs ruff check --fix and ruff format

  • Added support for old AmigaDOS (BCPL) programs: dos.library now builds the system Global Vector and the BCPL call/return trampolines, so the 1.3 BCPL Shell-Seg, BCPL C: commands (Echo, Type, EndCLI) and BCPL l/ handlers mounted with GlobVec = 0 (e.g. Ram-Handler) run unmodified; added --no-globvec to skip the Global Vector, and removed the obsolete --old-dos-guard

  • Added --shell-from (also -f) to name the file the -x/-M shell shell reads its startup commands from (default S:Vamos-Startup); Amiga and host paths are accepted

  • Added --shell-exit (also -X) to exit the shell after the --shell-from file has been read instead of going interactive

  • -x/-M shell now parses positional arguments like the process mode and feeds them to the shell as a command line, read after the --shell-from file (or as the only input) and before the interactive shell; -R/--raw-arg is supported too

  • Implemented the V47 shell interface: ExtendedCli() and DoShellMethod()/DoShellMethodTagList() let a program run from an AmigaOS 3.2 shell call the shell's cle_Hook, and AllocDosObject(DOS_CLI) and the CLI builders now create the extended CLI (cle_Hook/cle_This/cle_Version) the shell looks for

  • Fixed the shell's Execute and Run built-ins: UnGetC(fh, EOF) no longer drops the pushed character (so Execute keeps the first byte of its script), and RunCommand()/SystemTagList() now read a command line from the process input handle's fh_Buf, so Run executes its command

  • Added -F/--floppy to expose floppy images (ADF/ADZ) as DF0:..DF3: through trackdisk.device, with per-image unit=, rw/ro, name= and raw geometry options; floppies are read-only by default and a native handler can mount DFx: too

  • Added a ?ro option to hostfs volumes to mount them read-only: reads work as usual, but every mutating operation fails with ERROR_WRITE_PROTECTED and the volume reports itself as write protected

  • Added --rom/--rom-fake to serve a Kickstart image (or a synthetic version-only Kickstart) from the ROM window at $F80000, so programs and native libraries that read the Kickstart version from ROM during init, such as xvs.library/VirusExecutor, start up; added a trackdisk.device stub published in the boot DeviceList and the standard Boopsi public classes

  • Implemented the remaining utility.library LVOs: 64-bit math (SMult64/UMult64 and the V47 SDivMod64/UDivMod64), the V47 Strncpy/Strncat, the V47 VSNPrintf, the V39 named-object functions and GetUniqueID

  • Fixed SameLock() to return LOCK_SAME, LOCK_SAME_VOLUME or LOCK_DIFFERENT instead of a DOSTRUE/DOSFALSE boolean, which read inverted (DOSTRUE is LOCK_DIFFERENT), and MatchNext() to report the directory that holds each entry of an APF_DODIR scan in ap_Current->an_Lock: C:Copy ALL no longer stops with Infinite loop and now copies files below the first level, and C:Dir ALL no longer needs the scan's base directory lock there

  • Fixed utility.library ToUpper() for Latin-1: ß crashed it (Python upper-cases it to "SS") and ÿ and µ returned characters above 255; like ToLower() it now maps only a-z and à-þ (not ÷)

  • Fixed opening a relative name in a current directory taken through an assign (CurrentDir() to a lock on my:dir, then Open("file")): the joined path kept the unresolved assign and named no handler, so it failed with ERROR_OBJECT_NOT_FOUND. Programs that CurrentDir() to the lock MatchFirst() reports, such as C:Copy my:file, now read files given through an assign

  • The adfs image handler now opens PFS3 volumes as well as OFS/FFS, recognized by the boot block, so a PFS3 hardfile or RDB partition can be mounted with -V without the native pfs3aio handler. Soft links are followed as on OFS/FFS, and Format without a DOS type keeps a PFS3 volume PFS3

  • Split utility.library into topic mixins (intfunc, strfunc, tagfunc, datefunc, hookfunc, namefunc, miscfunc, printffunc) like exec.library/dos.library, leaving UtilityLibrary as the lifecycle shell

  • DosPktHandler now sends AmigaOS 4's 64-bit packets (ACTION_CHANGE_FILE_POSITION64, ACTION_GET_FILE_POSITION64, ACTION_CHANGE_FILE_SIZE64, ACTION_GET_FILE_SIZE64) through do_packet64(), and both packet kinds share one packet pool (#295)

  • Added clean-room vasm sources and a build script for the shipped boot blocks, so the binary blobs can be rebuilt byte-exact

  • init now reserves at least 512 KiB for the RDB area (like HDToolBox/AmiPart) instead of a single cylinder, so a file system driver such as pfs3aio fits with the small default geometries chosen for images below ~4 GiB; an explicit rdb_cyls still overrides the default (#296)

  • Allowed pytest 9.2

  • Christer Solskogen

  • Matt Harlum

  • Stefan Reinauer