archao@uniwa.uwa.oz (Arshad Omari) (02/13/91)
HELP !!! I need to call the INT10h bios write string routine from turbo prolog. The problem with this is that turbo prolog's bios/3 predicate does not allow an instantiation of the BP register which is necessary to store the string offset. The 10h interupt to write a string has the following requirements : AH = 13h AL = 00h BH = 00h BL = Attribute CX = Character Count DH = Row DL = Col BP = Offset of Pointer to string ES = Segment of pointer to string My current solution is to use INT21h function 40h (write using handle) which allows me to write text to screen but not to set the text attribute. Arshad :-( archao@uniwa.uwa.oz.au School of Architecture University of Western Australia