Skip to content

Commit

Permalink
Merge pull request #2171 from pto-buon/patch-1
Browse files Browse the repository at this point in the history
Updates on readme and docs
  • Loading branch information
quajak authored Apr 6, 2022
2 parents 2b905bc + 04a67ba commit 0952705
Show file tree
Hide file tree
Showing 20 changed files with 17 additions and 25 deletions.
12 changes: 3 additions & 9 deletions Docs/articles/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ assembly is used by all Cosmos projects.
## Code Based Breakpoints


Debugger.Break();
mDebugger.Break();

Break can be used to issue a code based break. Visual Studio will break on the
line after this statement.
Expand All @@ -100,7 +100,7 @@ base breaks are very useful for implementing such. For example:


if (x == 5) {
Debugger.Break();
mDebugger.Break();
}

Alternatively you can call the .NET class libary break:
Expand All @@ -117,7 +117,7 @@ does not support watches yet, this functionality can be very useful for
watching variable values and for performing tracing without breakpoints.


Debugger.Send("Hello from Cosmos!");
mDebugger.Send("Hello from Cosmos!");

When this line is executed, it will send a message over the debugging channel
and it will appear in the Visual Studio output window.
Expand All @@ -133,12 +133,6 @@ foreach loops), file systems (partial support exists), threads, networking, and
graphics. We have prototypes and experimentation for each, but none have been
rolled into the mainline Cosmos development as of yet.

## What was that Syslinux thing I saw on boot?

Cosmos does not run on Linux. A boot loader called Syslinux is used to boot
Cosmos. After booting, Syslinux is not used. Syslinux is a bootloader and is
not a Linux distro. Syslinux simplifies the booting process by doing tasks such as enabling the A20 gate, initializing hardware, and switching to real mode (all of which are required by modern operating systems).

## Obtaining Cosmos

* Cosmos Website - [http://www.GoCosmos.org](http://www.GoCosmos.org)
Expand Down
7 changes: 0 additions & 7 deletions Docs/articles/Kernel/VFS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ Next, we register our VFS at the VFS manager, this will initiate the VFS and mak
Sys.FileSystem.VFS.VFSManager.RegisterVFS(fs);
```

After the initialization process is done, a message like this would appear on your screen:
![Initialize](https://raw.githubusercontent.com/CosmosOS/Cosmos/master/Docs/articles/Kernel/images/File%20System%20Initialize.PNG)

This message is printed by the RegisterVFS() method and it provides info about the partition.

**Note**: From now on, we'll be using some plugged functions from ``System.IO``, so be sure to use that reference to your code. Alright, now, let's get started over some useful functions:

## Format drive
Expand Down Expand Up @@ -138,8 +133,6 @@ catch (Exception e)

We can also [check our files list](https://github.com/CosmosOS/Cosmos/wiki/FAT-FileSystem#get-files-list) and see our new file in it.

![Create File](https://raw.githubusercontent.com/CosmosOS/Cosmos/master/Docs/articles/Kernel/images/File%20System%20Create%20File.PNG)

## Write to file

Now we will write to an existing file.
Expand Down
Binary file not shown.
Binary file modified Docs/articles/Kernel/images/File System Files List.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Docs/articles/Kernel/images/File System Free Space.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file modified Docs/articles/Kernel/images/File System Read Specified File.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Docs/articles/Kernel/images/File System Type.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Docs/articles/images/SNAG-0000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Docs/articles/images/SNAG-0001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Docs/articles/images/SNAG-0002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Docs/articles/images/SNAG-0003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/articles/images/SNAG-0004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Docs/articles/images/SNAG-0005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Docs/articles/images/SNAG-0006.png
Binary file not shown.
Binary file modified Docs/articles/images/SNAG-0007.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Docs/articles/images/SNAG-0008.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions README-IT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Cosmos

[![Stato costruzione](https://ci.appveyor.com/api/projects/status/kust7g5dlnykhkaf/branch/master?svg=true)](https://ci.appveyor.com/project/CosmosOS/cosmos/branch/master)
[![Vieni nella chat a (https://discord.com/invite/kwtBwv6jhD](https://img.shields.io/discord/833970409337913344)](https://discord.com/invite/kwtBwv6jhD)

Cosmos è un "kit di costruzione" per SO. Fai il tuo sistema operativo con linguaggi gestiti come C#, VB.NET, e altri!

Per avere informazioni su come usare Cosmos, visita il [sito web di Cosmos](http://www.gocosmos.org).

Per documentazione e informazioni tecniche, visita la [documentazione di Cosmos](https://cosmosos.github.io).

Se hai domande su come usare Cosmos, vuoi mostrare ciò che hai fatto o hai domande generali, vai a controllare le [Discussioni GitHub](https://github.com/CosmosOS/Cosmos/discussions). Se pensi di aver trovato un bug in Cosmos, controlla prima i [problemi](https://github.com/CosmosOS/Cosmos/issues) esistenti prima di aprirne uno nuovo.

Noi abbiamo anche un [Server Discord](https://discord.com/invite/kwtBwv6jhD)!
9 changes: 0 additions & 9 deletions readme-IT.md

This file was deleted.

0 comments on commit 0952705

Please sign in to comment.