##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: November 2016 # Modified: 2016-11-25/22:19-0500 ##+ # # Int86.icn, perform an MS-DOS interrupt 21h support routine. # # This sample is UNTESTED, and the feature itself is outdated. # procedure main() # Get disk transfer address flag := 16r21 ax := 16r2f00 result := Int86([flag, ax] ||| list(7, 0)) # filename location is 16 * es + cx (result[8], [3]) + 30 # further access will require use of GetSpace, Peek and Poke end