I’m trying to set the VGA mode to 720×480 resolution with 16-bit depth. I’m getting 6 errors when using the code below.
Sys.Graphics.VGAScreen.SetGraphicsMode(VGADriver.ScreenSize Size720x480, ColorDepth ColorDepth16);
The errors are below:
Error CS1003 Syntax error, ‘,’ expected
Error CS1003 Syntax error, ‘,’ expected
Error CS0119 ‘VGADriver.ScreenSize’ is a type, which is not valid in the given context
Error CS0103 The name ‘Size720x480’ does not exist in the current context
Error CS0119 ‘VGADriver.ColorDepth’ is a type, which is not valid in the given context
Error CS0103 The name ‘ColorDepth16’ does not exist in the current context
I even tried to change the directories and use the official documentation.
Any help would be appreciated.