[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] XaAES sources for FreeMiNT 1.16.3
The TRAP API (like any other TOS system call) is very inefficient, and the
VDI/AES is probably the worst. A new API, directly from the user programs to
the VDI implementation would be far better, there is no doubt.
But why the VDI would have to be a kernel module ? Most of its work is to
draw in the video memory, there is no need to switch to supervisor mode and
play with the hardware or kernel internals to do that...
Heh.
Everything needs to be a "kernel module" because a kernel module sounds cool,
and besides it runs in "supermode", which sounds even more cool.
Once, before XaAES became the kernel module, I tried to convince the list that
implementing the AES as user-space libraries would be better. I haven't been
even understood: I wrote "user-space libraries", and the readers read something
like "client-server architecture" - consequently I got replies completely
irrelevant to my suggestion (such as "client-server architecture is
inefficient" or "it was implemented in XaAES before[1]" etc.)
[1] there was an API in a version of XaAES which used MiNT pipes to transfer
messages between the app and the XaAES core, or something like that.
Pozdrawiam
KMK