Hi,
Two question: Bernd Nottelmann found that the latest egcs 2.95
(19990714) does not compile vgaconvplanar.c with some inline assembler
errors:
/usr/src/svgalib-1.4.0/src/vgaconvplanar.c:100: fixed or forbidden
register 0 (ax) was spilled for class AREG.
A temporary fix is to change the #ifdef __alpha__ block at the start of
the file to make sure USE_ASM is not defined. This slows down X modes a
bit (bankspeed takes 1.53-1.61 seconds without asm code, and with the
asm code 1.32-1.47).
If someone knows how to fix the asm code to compile with the newer egcs,
please do so and send me the patch.
Second question:
When a program recieves a signal can it know the reason for the signal?
Now svgalib uses two signals: one to be notified of virtual console
release, and one for virtual console acquisition. I want to change it to
use only one signal, but how can the called signal handler know if the
reason it was called is a release or an acquire?
--
Matan Ziv-Av. [EMAIL PROTECTED]