www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/10/07/06:31:52

To: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU
From: A DOT APPLEYARD AT fs1 DOT mt DOT umist DOT ac DOT uk
Date: 7 Oct 93 10:52:32 GMT
Subject: ah=17hex int21 (i.e. rename a file)

  On trying to call the DOS interrupt "ah = 17hex, dx = address of array with
old and new local filenames in int21" (i.e. rename file), I got an illegal
instruction. On examining my file C:\GCC\GO32\EXPHDLR.C (I have go32 version
1.08) I found that in function i_21() there is no special code for ah=17hex to
convert the input address of the userdefined characters (in DX) from virtual
mode to absolute mode in this case, although this interrupt accesses an array.
  Some time ago I found that for the same reason these interrupts don't work
with my version of Gnu C/etc:-
  AH=0x11, AL=0, int10: load own characters into an EGA font table
  AH=0x11, AL=0x10, int10: as AL=0, but also activate it.

  Will go32's interface for these interrupts be put right in 1.11?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019