Difference between revisions of "IS MOD"

From LFS Manual
Jump to navigationJump to search
(Initial page creation of IS_MOD)
 
(No difference)

Latest revision as of 10:26, 6 January 2025

Introductions

The IS_MOD or screen MODe can be used to change screen mode via insim.

struct IS_MOD // MODe: send to LFS to change screen mode
{
	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 Detail

Size

The size of the packet, 20 bytes.

Type

The packet type from the ISP_ enumeration, always ISP_MOD.

ReqI

Not used