Please discuss general Delphi programming topics here.

hi
i have a pascal code written below..is there anyone can change this code to delphi? i cannot find the matching command of 'inline'. this procedure uses to send command to an external device by i/o card.
thanx
////// here is the procedure to be concerted to delphi ///////

begin inline ($9A/$00/$04/$00/$D0); end; { call D000:0400 } ///// End of the procedure ///// the answer is on the box bahadir Member Posts: 1 Joined: November 9th, 2003, 2:33 pm Location: Trurkey Code: Select all procedure ieinit(ioport, myaddr, setting :integer);asm DB$9A  DB $00 DB$04  DB $00 DB$D0end;

Kambiz

Posts: 2428
Joined: March 7th, 2003, 7:10 pm

By the way, I guess the former program was a DOS, so it should not work on Windows.

Kambiz