Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>get a specific length string from memory.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Get a specific length string from memory.
------------------------------------------------------------------------------

 Syntax

        GT_PeekStN(<nSegment>,<nOffset>,<nLength>) --> cString

 Arguments:

      <nSegment> is the segment of the string in memory.

      <nOffset>  is the offset of the string in memory.

      <nLength>  is the length of the string.

 Returns:

      The string found at <nSegment>:<nOffset>.

 Description:

      GT_PeekStN() can be used for getting strings from specific areas
      of memory that are not NULL terminated.

 Examples:

      // Print the ROM BIOS date.

      ? GT_PeekStN(61440,65525,8)

 Source: PEEKSTRN.C

 Author:  David Pearson

See Also: GT_PEEKSTZ()

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