The Parameter Packet is a location in application storage that contains the Mode Data Definition record, which has the following format:
┌──────────────────────────────────────────────────────┐ │Field Length C Datatype │ ├──────────────────────────────────────────────────────┤ │Length WORD USHORT │ ├──────────────────────────────────────────────────────┤ │Type BYTE UCHAR │ ├──────────────────────────────────────────────────────┤ │Color BYTE UCHAR │ ├──────────────────────────────────────────────────────┤ │Text Columns WORD USHORT │ ├──────────────────────────────────────────────────────┤ │Text Rows WORD USHORT │ ├──────────────────────────────────────────────────────┤ │Horizontal Resolution WORD USHORT │ ├──────────────────────────────────────────────────────┤ │Vertical Resolution WORD USHORT │ ├──────────────────────────────────────────────────────┤ │Attribute Format BYTE UCHAR │ ├──────────────────────────────────────────────────────┤ │Number of Attributes BYTE UCHAR │ ├──────────────────────────────────────────────────────┤ │Buffer Address DWORD ULONG │ ├──────────────────────────────────────────────────────┤ │Buffer Length DWORD ULONG │ ├──────────────────────────────────────────────────────┤ │Full Buffer Size DWORD ULONG │ ├──────────────────────────────────────────────────────┤ │Partial Buffer Size DWORD ULONG │ ├──────────────────────────────────────────────────────┤ │Address of Extended Data Area DWORD ULONG │ └──────────────────────────────────────────────────────┘