Mail Archives: djgpp/1999/01/23/13:12:56
I cannot use the protected-mode funtion setdisplaystart. Everytime I try
to use it, the screen jumps to unpredictable places.
Nevertheless the protected mode bankswitching funtions works.
After I have copied the code from the address-space below 1MB to my own
buffer, I try to call this function via the following syntax.
asm("call *%3" :
:"b"(0),"c"(pixel),"d"(scanline),"a"((unsigned
long)protcode.prot_setdisplaystart)
:"%eax","%ebx","%ecx","%edx","%esi","%edi");
Has anyone some ideas why it does not work ?
Besides, I have read severaltimes something about access rights which
are stored in a subtable of vesa-function 0xA and which are needed to
access ports or something like this. Is this right ? If this is right,
what shall I do with this subtable ?
I thought one could access ports without any restrictions ?
I would be pleased if anyone could explain this.
- Raw text -