[fpc-pascal] Re: Ports unit on x64 Linux port

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed Jul 9 13:51:53 CEST 2008


On Tue, Jul 8, 2008 at 5:17 PM, Vladimir Karpenko <cr0acker at mail.ru> wrote:
> Well WritePortB is in x86 unit? which is abscent in X86_64 port:(
> I wonder if some one can write in x64 asm program like this:
> MOV DX,0378H
>
> MOV AL,data //data - char.
>
> OUT DX,AL

I think yes, it should work in linux if you use ioperm.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list