IS MOD

From LFS Manual
Revision as of 21:21, 9 February 2026 by Bokujishin (talk | contribs)
Jump to navigationJump to search

Introduction

The MODe packet can be used to change screen mode.

IS_MSL packet properties
Type Name Description
byte Size 20
byte Type ISP_MOD
byte ReqI 0
byte Zero
int Bits16 set to choose 16-bit
int RR refresh rate - zero for default
int Width 0 means go to window
int Height 0 means go to window

Packet Details

Size

The size of the packet, 20 bytes.

Type

The packet type from the ISP_ enumeration, always ISP_MOD.

ReqI

Not used

Bits16

Set to choose 16-bit.

RR

The refresh rate to set, zero for default refresh rate.

Width

The screen resolution width. Set to zero for windowed mode.

Height

The screen resolution height. Set to zero for windowed mode.