Skip to content

AMB conversion of system documentation #169

@mateuszviste

Description

@mateuszviste

Last night I improved AMB so the format and toolset supports compression through MVCOMP. This makes the help files about 40% smaller.

A possibly interesting next step could be to convert all system documentation (files that live in %DOSDIR%\DOC) to AMB. This would make the documentation much more compact: no cluster waste when a single package has lots of txt files + all documentation would be now nicely compressed.

The one downside is that it would no longer be possible to consult a readme file using TYPE, but I do not think it is a very common practical need. Myself, I rarely use TYPE for this since I need to be able to go back and forward reading the documentation, so I usually load it in SVED. Using AMB instead makes little difference.

Compacting documentation in such a way would decrease the default install size to below 1.5M, allowing to have a functional SvarDOS installation (with pkg management etc) on a single 1.44 floppy. This would solve #15 at the same time.

Converting a set of TXT files to AMB should be rather straigh-forward with some relatively simple script:

  • generate an index file that lists all the TXT files available (with links)
  • word-wrap the TXT files to 78 characters
  • escape characters that need to be escaped (%)
  • compress the files with MVCOMP
  • pack it all up with AMBPACK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions