CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.94k stars 552 forks source link

The problem is compiling the program into an .iso image. #2983

Closed Amongasik4334 closed 8 months ago

Amongasik4334 commented 8 months ago

The problem is compiling the program into an .iso image I created a mini program that has a small list of commands. When testing the program, I discovered that upon reboot it freezes on an endless loading screen. image I tested it on a real laptop, it just freezes when turned on. image

Visual Studio Output Logs

In Cosmos.System.Kernel..ctor
Starting kernel
HW Bootstrap Init
Creating Console
Creating Keyboard
HW Init
Creating Primary ATA IOGroup
Creating Secondary ATA IOGroup
Before Core.Global.Init
PCI Devices
ACPI Init
PS/2 Controller Init
ATA device with speclevel ATA found.
Creating Secondary ATA IOGroup
ATAPI: Primary controller: False Bus postion: IsMaster: True
ATA device with speclevel ATAPI found
Network Devices Init
Done initializing Cosmos.HAL.Global
Network Stack Init
KeyboardManager.AddKeyboard
Cls
Before Run
Mounting disk
Mounted partition.
Mounting disk
ATAPI: Reading block. Sector: 1 SectorCount: 1
ATAPI: Polling
ATAPI: Polling complete
ATAPI: Reading block. Sector: 0 SectorCount: 1
ATAPI: Polling
ATAPI: Polling complete
Run
Not yet stopped
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
KeyboardManager.HandleScanCode
Number of keys: 
0x00000058
Программа "" завершилась с кодом 0 (0x0).

Screenshots image image image

winbamstudios commented 8 months ago

You need to disable "Cosmos Remote Debugger." You can turn it off through Project > [Solution Name] Properties.

Amongasik4334 commented 8 months ago

Вам необходимо отключить "Удаленный отладчик Cosmos". Вы можете отключить его через Проект> Свойства [Название решения].

Thank you!