-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathWaveSystemInit.cs
More file actions
35 lines (31 loc) · 1006 Bytes
/
WaveSystemInit.cs
File metadata and controls
35 lines (31 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using Cosmos.System.Graphics;
using IL2CPU.API.Attribs;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace WaveOS
{
internal class WaveSystemInit
{
[ManifestResourceStream(ResourceName = "WaveOS.Resources.WaveOS.bmp")] public static byte[] waveLogo;
public void Start()
{
WaveConfigs.Processes waveInit = new();
waveInit.procID = 0;
waveInit.running = true;
WaveConfigs.proc.Add("WaveSystem", waveInit);
//Canvas boot = FullScreenCanvas.GetFullScreenCanvas(new Mode(640, 480, ColorDepth.ColorDepth32));
/*VBECanvas boot = new();
boot.Clear();
boot.Clear(Color.Black);
boot.DrawImageAlpha(new Bitmap(waveLogo), 640 / 4, 480 / 2);
boot.Display();
Thread.Sleep(3000);
boot.Disable();:*/
}
}
}