Files
CydandClaude Fable 5 db7745fcd0 sda4: commit the Glaze developer hard-drive dump
Un-ignored: the dev drive is the ground truth the restoration and
emulator work constantly reference (DPL3/LIBDPL + VRENDER i860 renderer
source, BT/RP live+dev game trees, VGL_LABS pod boot, scene/audio
content). Kept in-repo for the pod-owner community.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 19:41:15 -05:00

44 lines
1.4 KiB
C++

/*
FILE : magic.H
PROJECT : dView
Author : Phil Atkin
(C) Division Ltd 1991 / 1992.
define all magic bits for use by HSP driver code
*/
#define driverSel 1
#define syncOnGreenSel 2
#define dblLinesSel 4
#define PALSel 8
#define NTSCSel 16
#define interlaceSel 32
#define multiSyncSel 64
#define tesselateSel 128
#define syncStereoSel 256
#define syncStereoMaster 512
#define boardRevision 1024
#define syncLinkMask 2048+4096
#define syncLinkShift 11
#define syncLink0 (0<<syncLinkShift)
#define syncLink1 (1<<syncLinkShift)
#define syncLink2 (2<<syncLinkShift)
#define syncLink3 (3<<syncLinkShift)
#define VGA (0x06000000 | (driverSel | boardRevision))
#define VGAesque (int860) 0x06000481
#define leftStereoBits (syncStereoSel|syncStereoMaster)
#define rightStereoBits (syncStereoSel)
#define NTSC_left (0x04000000 | (driverSel|NTSCSel|interlaceSel|boardRevision|leftStereoBits))
#define NTSC_right (0x04000000 | (driverSel|NTSCSel|interlaceSel|boardRevision|rightStereoBits))
#define PAL_left (0x04000000 | (driverSel|PALSel|interlaceSel|boardRevision|leftStereoBits))
#define PAL_right (0x04000000 | (driverSel|PALSel|interlaceSel|boardRevision|rightStereoBits))
#define NTSC_mono (0x04000000 | (driverSel|NTSCSel|interlaceSel|boardRevision))