From 1a4a1507a57cf6ed6905825d228348b791fcb555 Mon Sep 17 00:00:00 2001 From: Ivan Izaguirre Date: Sat, 17 Oct 2020 13:42:31 +0200 Subject: [PATCH] Remove warnings --- screen/videoSource.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/screen/videoSource.go b/screen/videoSource.go index 6ca4448..a772d42 100644 --- a/screen/videoSource.go +++ b/screen/videoSource.go @@ -1,7 +1,7 @@ package screen +// Base Video Modes const ( - // Base Video Mode VideoBaseMask uint16 = 0x1f VideoText40 uint16 = 0x01 VideoGR uint16 = 0x02 @@ -14,14 +14,18 @@ const ( VideoRGBMix uint16 = 0x12 VideoRGB160 uint16 = 0x13 VideoSHR uint16 = 0x14 +) - // Mix text modifiers +// Mix text video mdes modifiers +const ( VideoMixTextMask uint16 = 0x0f00 VideoMixText40 uint16 = 0x0100 VideoMixText80 uint16 = 0x0200 VideoMixText40RGB uint16 = 0x0300 +) - // Other modifiers +// Other video mode modifiers +const ( VideoModifiersMask uint16 = 0xf000 VideoSecondPage uint16 = 0x1000 )