Yes. That was a made up excerpt, and I blew the address.
I'm actually using LPT1 at addres 0x278 for the base, controlling a
luminescent display.
It turned out that 3 is the right value to give to the iopl function, not
2.
bug
Marin D wrote:
> On Mon, 10 Aug 1998, Bug Hunter wrote:
>
> ->
> ->main()
> ->{
> ->
> -> iopl(2);
> ->
> -> outb(0,0x3bd);
>
> It should be 0x3bc, port 0x3bd is the status port (read-only).
> You may wich to take a look at the IO-Port-programming mini howto
>
> Regards,
>
> Marin
>
> "Knowledge is not a crime. Some of its applications are..."
>
> - Unknown hacker