Excerpts from netnews.comp.lang.asm.x86: 6-May-98 Unix has protection
Yep. You can't call the bios from under unix. It would be a lot ofQuote:> Can anyone tell me if it is true that Unix(x86) has protection
> againist user calling BIOS interrupts... I am currently trying to learn
> writting Assembly codes under Linux..(w/ NASM).. but for whatever reason
> I always get "Segmentation fault (core dumped)" after running the
> someone told me it was because Unixes has protection againist user calling
> BIOS interrupts..If that's true, does anyone know of a way to go above it?
> I dun want to boot to my MSDOS just to do assembly coding...
work to rewrite all of the bios in protected mode for x86 unix. It
would also be a security risk and it defeats all ideas of portability.
If you want to call bios interrupts from under unix, look at dosemu.