Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7cf4e9c

Browse files
update
1 parent8b452b8 commit7cf4e9c

File tree

3 files changed

+77
-0
lines changed

3 files changed

+77
-0
lines changed

‎ebOS/Kernel.cs‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
usingSystem;
2+
usingSystem.Collections.Generic;
3+
usingSystem.Text;
4+
usingSys=Cosmos.System;
5+
6+
namespaceebOS
7+
{
8+
publicclassKernel:Sys.Kernel
9+
{
10+
11+
protectedoverridevoidBeforeRun()
12+
{
13+
Console.WriteLine("Cosmos booted successfully. Type a line of text to get it echoed back.");
14+
}
15+
16+
protectedoverridevoidRun()
17+
{
18+
Console.Write("Input: ");
19+
varinput=Console.ReadLine();
20+
Console.Write("Text typed: ");
21+
Console.WriteLine(input);
22+
}
23+
}
24+
}

‎ebOS/ebOS.csproj‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<ProjectSdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net5.0</TargetFramework>
5+
<!--<RuntimeIdentifier>cosmos</RuntimeIdentifier>-->
6+
<Platform>cosmos</Platform>
7+
<SupportsX86Intrinsics>false</SupportsX86Intrinsics>
8+
<SelfContained>True</SelfContained>
9+
</PropertyGroup>
10+
11+
<PropertyGroup>
12+
<EnableGDB>False</EnableGDB>
13+
<StartCosmosGDB>False</StartCosmosGDB>
14+
<VisualStudioDebugPort>Pipe: Cosmos\Serial</VisualStudioDebugPort>
15+
<CosmosDebugPort>Serial: COM1</CosmosDebugPort>
16+
<Launch>VMware</Launch>
17+
<Profile>VMware</Profile>
18+
<Description>Use VMware Player or Workstation to deploy and debug.</Description>
19+
<PxeInterface>192.168.0.8</PxeInterface>
20+
</PropertyGroup>
21+
22+
<ItemGroup>
23+
<PackageReferenceInclude="Cosmos.Build"Version="0-*"NoWarn="NU1604" />
24+
<PackageReferenceInclude="Cosmos.Debug.Kernel"Version="0-*"NoWarn="NU1604" />
25+
<PackageReferenceInclude="Cosmos.System2"Version="0-*"NoWarn="NU1604" />
26+
</ItemGroup>
27+
28+
</Project>

‎ebOS/ebOS.sln‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion =16.0.33027.164
5+
MinimumVisualStudioVersion =10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") ="ebOS","ebOS.csproj","{4E9472D0-4BC5-4B9F-8ADC-10B3DF95ADA0}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) =preSolution
10+
Debug|Any CPU=Debug|Any CPU
11+
Release|Any CPU=Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) =postSolution
14+
{4E9472D0-4BC5-4B9F-8ADC-10B3DF95ADA0}.Debug|Any CPU.ActiveCfg=Debug|Any CPU
15+
{4E9472D0-4BC5-4B9F-8ADC-10B3DF95ADA0}.Debug|Any CPU.Build.0=Debug|Any CPU
16+
{4E9472D0-4BC5-4B9F-8ADC-10B3DF95ADA0}.Release|Any CPU.ActiveCfg=Release|Any CPU
17+
{4E9472D0-4BC5-4B9F-8ADC-10B3DF95ADA0}.Release|Any CPU.Build.0=Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) =preSolution
20+
HideSolutionNode =FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) =postSolution
23+
SolutionGuid ={5DDCC84E-0CED-44FB-940C-12C62249FD59}
24+
EndGlobalSection
25+
EndGlobal

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp