mirror of
https://github.com/tonytins/tomas.git
synced 2025-03-15 04:11:24 +00:00
Relicensed under GPL
This commit is contained in:
parent
c11f987521
commit
af6bab2e4f
16 changed files with 667 additions and 388 deletions
|
@ -6,15 +6,14 @@ TOMAS (**To**ny's **Ma**naged Operating **S**ystem) is a operating system based
|
|||
|
||||
### Prerequisites
|
||||
|
||||
- TOMAS OS
|
||||
- Operating System
|
||||
- Visual Studio 2019
|
||||
- COSMOS User Kit v20190508+
|
||||
- COSMOS User Kit v20190508 or later
|
||||
- VMWare Workstation Player
|
||||
- TOMAS Terminal Emulator and OS
|
||||
- .NET Core 2.1 or later
|
||||
- .NET Core 2.1 or later
|
||||
|
||||
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the MPL 2.0 License - see the [LICENSE](LICENSE) file for details.
|
||||
This project is licensed under the GPL 3.0 License - see the [LICENSE](LICENSE) file for details.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
extensions: designer.cs generated.cs
|
||||
extensions: .cs .cpp .h .fs
|
||||
// TOMAS is licensed under the MPL 2.0 license.
|
||||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
|
@ -1,3 +1,5 @@
|
|||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
namespace Tomas.Common
|
||||
{
|
||||
public struct ComConsts
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
using System;
|
||||
using Tomas.Interface.Shell;
|
||||
|
||||
|
@ -20,12 +22,18 @@ namespace Tomas.Kernel.Programs
|
|||
[ [ / \/ _/
|
||||
_[ [ \ /_/";
|
||||
|
||||
readonly string[] _fenPhrases = { "Screams in fennec!", "Some people call me a coffee fox." };
|
||||
readonly string[] _fenPhrases =
|
||||
{
|
||||
"[Screams in Fennec]",
|
||||
"Some people call me a coffee fox.",
|
||||
"Drink Soda. It makes you see faster.",
|
||||
"10/10, Wouldn't Recommend."
|
||||
};
|
||||
|
||||
public bool Start()
|
||||
{
|
||||
var rng = new Random();
|
||||
var phrases = _fenPhrases[rng.Next(0, _fenPhrases.Length)];
|
||||
var phrases = _fenPhrases[rng.Next(_fenPhrases.Length)];
|
||||
Console.WriteLine($"{phrases}{Environment.NewLine}{FENNEC}");
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
namespace Tomas.Interface.Shell
|
||||
{
|
||||
public interface IProgram
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
namespace Tomas.Interface.Shell
|
||||
{
|
||||
public interface IShell
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// TOMAS is licensed under the MPL 2.0 license.
|
||||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
@ -26,7 +26,7 @@ namespace Tomas.Kernel
|
|||
}
|
||||
|
||||
|
||||
Console.WriteLine("Booted successfully. Type a line of text to get it echoed back.");
|
||||
Console.WriteLine($"{ComConsts.NAME} v{ComConsts.VersionGit} Booted successfully.");
|
||||
}
|
||||
|
||||
protected override void Run()
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
// TOMAS is licensed under the MPL 2.0 license.
|
||||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using Tomas.Interface.Shell;
|
||||
using Tomas.Kernel.Programs;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
using System;
|
||||
using Tomas.Common;
|
||||
using Tomas.Interface.Shell;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// TOMAS is licensed under the MPL 2.0 license.
|
||||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
using System;
|
||||
using Tomas.Common;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// TOMAS is licensed under the MPL 2.0 license.
|
||||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
using System;
|
||||
using System.IO;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Tomas.Terminal
|
||||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
namespace Tomas.Terminal
|
||||
{
|
||||
class Program
|
||||
{
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
using System;
|
||||
using Tomas.Common;
|
||||
using Tomas.Interface.Shell;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
using System;
|
||||
using Tomas.Interface.Shell;
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// I license this project under the GPL 3.0 license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
using System.Collections.Generic;
|
||||
using Tomas.Interface.Shell;
|
||||
using Tomas.Kernel.Programs;
|
||||
|
|
Loading…
Add table
Reference in a new issue