DISPLAYTYPE(1A) MISC. REFERENCE MANUAL PAGES DISPLAYTYPE(1A)
NAME
displaytype, pal, ntsc - inquire about Amiga display type
SYNOPSIS
/usr/amiga/bin/displaytype
/usr/amiga/bin/pal
/usr/amiga/bin/ntsc
/usr/amiga/bin/ecs
DESCRIPTION
displaytype prints to standard output the `displaytype'
parameter used by the kernel. The value is printed in hex
with "0x" prefixed. Bit 0 of the value, when set, indicates
that the video output is in NTSC format. Bit 1, when set,
indicates PAL format. Bit 2 indicates the presence of an
Amiga A2024 or Moniterm Viking monitor, suitable for the
scan converting high resolution video modes (1024 x 800 or
1024 x 1024). Other bits are reserved for future use. pal,
ntsc, and ecs are versions of displaytype which do not print
anything, but indicate with their exit status whether the
given video format is in use. These can be used with the if
shell builtin in a shell script to conditionalize special
handling of a certain video format.
SEE ALSO
screen(7A). The Amiga Hardware Manual.
Amiga Unix Last change: 1