Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 15 - topview - send message - readn - get next n object bytes http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 15 - TopView - SEND MESSAGE - "READN" - GET NEXT N OBJECT BYTES
        AH = 12h
        BH = 12h
        BL = window to read from
            00h handle is DWORD on top of stack
            01h read next N chars or attributes on task's default window
            0Ch (DV 2.26+) read window of task owning handle on top of stack
            0Dh (DV 2.26+) read default window of parent of current task
        STACK: DWORD count
Return: STACK: DWORD width of screen line
               DWORD address
               DWORD count actually read
Notes:  reading starts at the current logical cursor position; the cursor is
          updated to point at the character following the last one read
        any translucent blanks (FFh) which are visible on screen are changed
          to the character which is seen through them
        the string produced by the read is placed in an input buffer which may
          be reused by the next READ or READN of a window
        window stream opcodes D8h and D9h determine whether the read returns
          characters or attributes
SeeAlso: AH=12h/BH=04h"WINDOW",AH=12h/BH=05h"WINDOW"

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson