Ya Sure.
I need the equivalent code to be written in Turbo C
The Target PC configuration is DOS 6.0, 386/486 processor,
I am also attaching the absolute.asm file for explanation on CALL ABSOLUTE
BASIC CODE SEGMENT
DIM SAR$, ER%
DIM GPINIT%, GPOUTPUT%
DEF SEG=&HDC00
GPINIT%=0
GPOUTPUT%=&H1000
A%=0: MAD%=0
CALL ABSOLUTE(A%, MAD%, GPINIT%) //Calling the routine in DC00:0000(SEG:GPINIT%)
ER%=0
SAR$ ="10;U1=75" //Command String
CALL ABSOLUTE(SAR$, ER%, GPOUTPUT%)//Calling the routine in DC00:1000(SEG:GPOUTPUT%)
IF ER% <> 0 THEN
PRINT "ERROR"
STOP
ENDIF