Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 26 20:53
    Ekaitxue commented #852
  • Feb 26 13:23
    Silverdimond commented #1261
  • Feb 25 14:35
    Silverdimond commented #1261
  • Feb 24 14:42
    TbT-Developments edited #1283
  • Feb 24 14:41
    TbT-Developments closed #1283
  • Feb 24 14:41
    TbT-Developments commented #1283
  • Feb 23 19:06
    Shadowplays4k commented #1282
  • Feb 23 19:06
    Shadowplays4k commented #1282
  • Feb 23 16:25
    TbT-Developments opened #1283
  • Feb 19 17:55
    zarlo commented #1282
  • Feb 19 12:40
    Shadowplays4k edited #1282
  • Feb 19 12:38
    Shadowplays4k edited #1282
  • Feb 19 12:38
    Shadowplays4k edited #1282
  • Feb 19 12:37
    Shadowplays4k opened #1282
  • Feb 19 04:29
    charlesbetros closed #1257
  • Feb 19 04:29
    charlesbetros commented #1257
  • Feb 19 04:17
    charlesbetros commented #1011
  • Feb 18 14:40
    motosoftos commented #1222
  • Feb 18 14:39
    motosoftos commented #1222
  • Feb 16 20:05
    Ninjastorm380 opened #1281
KM198912
@KM198912
i7 4th gen, gtx750ti, 8GB memory, 240GB kingston SSD, while not top of the line it shouldnt be slow either
TableFlipper2
@TableFlipper2
Canvas canvas;
Sys.Graphics.Pen pen = new Sys.Graphics.Pen(Color.Red);
Sys.Graphics.Point Dock;
protected VGAScreen Vscreen;
protected DisplayDriver screen;
protected override void BeforeRun()
{
Console.WriteLine("Sero OS booted successfully. Shout out to mah boi Serocrux");
canvas = FullScreenCanvas.GetFullScreenCanvas();
        canvas.Clear(Color.Black);
        Dock.X = -20;
        Dock.Y = 0;

        Sys.MouseManager.ScreenWidth = (uint)canvas.Mode.Columns;
        Sys.MouseManager.ScreenHeight = (uint)canvas.Mode.Rows;
    }
    protected override void Run()
    {
        Console.WriteLine("Plz Work");
        uint X = Sys.MouseManager.X;
        uint Y = Sys.MouseManager.Y;
        canvas.DrawLine(pen, X, Y, X + 5, Y);
        canvas.DrawLine(pen, X, Y, X, Y - 5);
        canvas.DrawLine(pen, X, Y, X + 5, Y - 5);
        Console.ReadKey();
    }
What am i doing wrong here?
KM198912
@KM198912
your mouse aint moving right?
TableFlipper2
@TableFlipper2
no
its not that
the vm wont even load
it just closes
KM198912
@KM198912
have you checked what the debugger says
TableFlipper2
@TableFlipper2
Symbols Loaded - C:\Users\TableFlipGod\source\repos\GameKernal\GameKernal\bin\Debug\netcoreapp2.0\cosmos\GameKernal.pdb Setting FirstDataLookupTable to 0x02279BA5 FirstDataLookupTable was set to 0x02279BA5 In Cosmos.System.Kernel..ctor Starting kernel HW Bootstrap Init Global 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. Number of MBR partitions found: 0x00000001 ATA device with speclevel ATAPI found, which is not supported yet! Done initializing Cosmos.HAL.Global KeyboardManager.AddKeyboard Cls Before Run Run Not yet stopped Really before Run The program '' has exited with code 0 (0x0).
KM198912
@KM198912
can you try to load it with bochs?
TableFlipper2
@TableFlipper2
ok
TableFlipper2
@TableFlipper2
i tried looking for it
cant find it
KM198912
@KM198912
rightclick your project
properties
bochs
you need to have bochs installed
TableFlipper2
@TableFlipper2
oh thnaks
TableFlipper2
@TableFlipper2
yea it just closes visual studio
and crashes
KM198912
@KM198912
unusual
are you using the dev or userkit? and which VS
TableFlipper2
@TableFlipper2
vs 0219
lemme check
user kit
from the github
KM198912
@KM198912
can you try creating a new project and booting it without any edits and check if it closes/crashes
TableFlipper2
@TableFlipper2
ok
KM198912
@KM198912
I am on phone right Now as i am reconfiguring my home network (ugh) so i cant check my Remote config right Now
TableFlipper2
@TableFlipper2
oh ok
so
it is my code?
it boots fie
fine
thats off
odd
KM198912
@KM198912
Then it is the Code most likely, i dont Knie Why you initialize a canvas and vga screen, canvas should be enough Really
Knie
Ugh autocorrect
Know*
Cha
Vga only makes Sense on Real Hardware
TableFlipper2
@TableFlipper2
oh
thats un-needed
TableFlipper2
@TableFlipper2
ok so now i have 1 other question
how do i make a boot logo
KM198912
@KM198912
yes?
TableFlipper2
@TableFlipper2
it says show imahe