Re: off topic - Assembler using GCC
>Are you poking fun? Do you really think it should be allowed for any user to
>program interrupts?
No - not poking fun and I don't believe that any user should have access to
interrupts. This programme is compiled/run as root.
>
>The whole purpose of the Linux kernel is to protect the hardware from the
>user processes.
With good reason :)
>
>If this code can work at all, then only if it is run as root, and even then
>I think you need a way to get permission from kernel (although I am not
>sure). Please check the source code of svgatextmode and svgalib.
I tried checking the source code of svgalib - if it's going to remain as
difficult as it seems I may find a simpler project.
I was hoping that there would be a simple method of getting permission from
the kernel for this operation and for direct access to video memory/registers.
Thanks for the reply Marcus.
Ivan.
Reply to: