#holiday activities (last week ongoing).
I learned how to compile DOS COM executables with the latest GCC. It can be done with a trivial LD script, i.e. dump to 0x100. It has a memory topology of single 16-bit code and data segment.
I also learned that event with ELF toolchain “-nostdlib” is still required because crt0.o is not compatible with MS-DOS.
I also implemented couple of features for this “not for profit MS-DOS framework”:
Not sure what I’m going to do with this next but no rush with MZ EXE (I have idea how approach that w/o sacrificing modern tools) because 64 kB is enough for some time, and I have no data limit ;-)
Few things I like in IRC over Matrix, or any other protocol in professional setting:
Few things I like in IRC over Matrix, or any other protocol in professional setting:
note to myself: when #zsh completions are not working as expected in any OS, 9/10 times it is missing -u flag for compinit ;-) Had forgotten this.
From zshcompsys man page:
To avoid these tests and make all files found be used without asking, use the option -u, and to make compinit silently ignore all insecure files and directories use the option -i. This security check is skipped entirely when the -C option is given.
Great I get in my “hello bpf” truncated stacks delivered through a ringbuf:
❯ sudo build/hello-ebpf
[0]: 0xffffa5c74e6e9498
[1]: 0x0000000000000000
[2]: 0x0000000000000000
[3]: 0x0000000000000000
[4]: 0x0000000000000000
[5]: 0x0000000000000000
[6]: 0x0000000000000000
[7]: 0x0000000000000000
It looks like this because I temporarily hooked kprobe to a syscall. Next I change the hook to tpm_transmit.
I do all post-processing from this at the host.
#iLok comes much more nicer to use once you discover by accident that there is a command-line tool installed to /usr/local/bin
iloktool - 5.9.0 (b5097, edaa5278, Release, 64 bit, built Oct 25 2023)
Copyright 2023, PACE Anti-Piracy, Inc., All rights reserved. CONFIDENTIAL.
Usage: iloktool <operation> <options>
<operation> is one of the following:
help Prints this help message.
auths Show all of the authorizations (licenses) available to your computer.
cloud --open Open an iLok cloud session. Requires --account & --password for the iLok account.
cloud --close Close all iLok cloud sessions or with --account & --password close a single session.
cloud --status Returns the cloud status: "Open" or "Closed".
list List iLok devices attached to this machine.
<options>:
-h [ --help ] Show these usage instructions.
-a [ --account ] arg This is the account login ID in the "cloud" operation.
-c [ --close ] This is used with the "cloud" operation to close all or
a single open cloud session.
-o [ --open ] This is used with the "cloud" operation to open a cloud
session.
-p [ --password ] arg This is the account password for the "cloud" operation.
-s [ --status ] This is used with the "cloud" operation to get the
cloud status (Open or Closed).
-t [ --type ] arg If specified, this filters the "list" operation by the
specified iLok type.
-V [ --version ] Show the version number.
-v [ --verbose ] Indicate verbose output.
Examples (omit the -v at the end if you don't want verbose):
If you specify no operation, you get a non-verbose list of all local and
remote iLoks:
iloktool
List all, just iLok1, just iLok2 and just iLok3 type devices respectively:
iloktool list -v
iloktool list --type 1 -v
iloktool list --type 2 -v
iloktool list --type 3 -v
Display all auths (licenses) available to your computer:
iloktool auths -v
Open a cloud session, close a cloud session, close all cloud sessions or get
cloud status respectively:
iloktool cloud --open --account your_account --password your_password -v
iloktool cloud --close --account your_account --password your_password -v
iloktool cloud --close -v
iloktool cloud --status -v
Once you successfully use your account and password to open or close a cloud
session, your password will be saved in the computer's key chain, and you can
omit the password in subsequent open and close operations:
iloktool cloud --open --account your_account -v
iloktool cloud --close --account your_account -v
I used to hate iLok but these days I think that it would best if all #audio #plugin companies would use the only solution that has matured somewhat usable instead of inventing their own factors worse licensing schemes.