Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 31 12:31
    fxyx commented #1291
  • Mar 31 10:50
    Shadowplays4k commented #1291
  • Mar 30 19:59
    daniel500013 closed #1290
  • Mar 30 19:59
    daniel500013 commented #1290
  • Mar 30 11:00
    thisisprasad commented #1222
  • Mar 29 13:13
    fxyx opened #1291
  • Mar 27 19:52
    daniel500013 edited #1290
  • Mar 27 19:51
    daniel500013 opened #1290
  • Mar 25 09:25
    zarlo commented #1289
  • Mar 24 01:24
    gabearthur4 commented #1289
  • Mar 23 11:35
    VladintTech commented #556
  • Mar 23 11:02
    qqa12 closed #1288
  • Mar 23 11:02
    qqa12 commented #1288
  • Mar 23 10:14
    zarlo commented #1289
  • Mar 23 07:14
    gabearthur4 opened #1289
  • Mar 22 13:23
    VladintTech commented #1286
  • Mar 22 01:12
    VladintTech reopened #1286
  • Mar 22 01:12
    VladintTech commented #1286
  • Mar 21 23:32
    VladintTech closed #1286
  • Mar 21 23:32
    VladintTech commented #1286
gabearthur4
@gabearthur4
would ironpython work?
gabearthur4
@gabearthur4
Because if so then that would be awesome! :0
Wait so right now the kernal is in C#
but can I still integrate IronPython code?
gabearthur4
@gabearthur4
I'll try it when I get back lol
F4lc0131
@Nik300

Guys I have this piece of code

try
{
                Directory.CreateDirectory(@"0:\\System\\Sys32\\exec\\libs\\ABL\\");
                File.Create(@"0:\\System\\Sys32\\exec\\libs\\ABL\\abl.slib");
                File.WriteAllBytes(@"0:\\System\\Sys32\\exec\\libs\\ABL\\abl.slib", ablSLIB);

                File.Create(@"0:\\System\\Sys32\\exec\\libs\\ABL\\printABL.elib");
                File.WriteAllBytes(@"0:\\System\\Sys32\\exec\\libs\\ABL\\printABL.elib", printablELIB);

                File.Create(@"0:\\prog.abl");
                File.WriteAllBytes(@"0:\\prog.abl", progABL);
}
catch(Exception e)
{
                Console.WriteLine(e.Message);
                Kernel.exit();
}

but every time I run it, the kernel returns this error:

argument is null or empty
parameter name: aName
ProgrammerDim
@ProgrammerDim
@gabearthur4 You could write an interpreter for basic python. Like: read line X and execute that by searching the statement at a list.
@gabearthur4 Just some basic python not something complex (like the whole IronPython or some advanced python functions)
gabearthur4
@gabearthur4
yeah okay.
F4lc0131
@Nik300

Guys I have this piece of code

try
{
                Directory.CreateDirectory(@"0:\\System\\Sys32\\exec\\libs\\ABL\\");
                File.Create(@"0:\\System\\Sys32\\exec\\libs\\ABL\\abl.slib");
                File.WriteAllBytes(@"0:\\System\\Sys32\\exec\\libs\\ABL\\abl.slib", ablSLIB);

                File.Create(@"0:\\System\\Sys32\\exec\\libs\\ABL\\printABL.elib");
                File.WriteAllBytes(@"0:\\System\\Sys32\\exec\\libs\\ABL\\printABL.elib", printablELIB);

                File.Create(@"0:\\prog.abl");
                File.WriteAllBytes(@"0:\\prog.abl", progABL);
}
catch(Exception e)
{
                Console.WriteLine(e.Message);
                Kernel.exit();
}

but every time I run it, the kernel returns this error:

argument is null or empty
parameter name: aName

someone could help me??

waffelmagic
@waffelmagic
how can i create a clickable button in CosmosOS its too difficult for me
or a clickable field...
or something like a clickable text
gabearthur4
@gabearthur4
Does anybody here know how to format a disk from my OS?
F4lc0131
@Nik300
That's not yet possible, Cosmos just supports managing a FAT FileSystem
And you cannot format/create partitions
There are guys working on it
@waffelmagic Once I've created a button
But not in the Graphics mode
It was just a kernel that clears the screen and makes the effect that you're moving between the buttons
But it has been very very difficult
gabearthur4
@gabearthur4
Okay.
waffelmagic
@waffelmagic
Then, is it possible to make a clickable text
No graphics Mode
F4lc0131
@Nik300
If you work hard you could get it working even on graphics mode
But you need to make it your self
Skiuileuf
@Skiuileuf
How can I get the mouse cursor's position? (In the graphics mode thing)
F4lc0131
@Nik300
By getting the variable from the MouseManager class
Just by getting the variable from the MouseManager class
int mouseX = (int)Cosmos.System.MouseManager.X;
int mouseY = (int)Cosmos.System.MouseManager.Y;
ProgrammerDim
@ProgrammerDim
What's the maximum resolution supported by Cosmos?
Skiuileuf
@Skiuileuf
Cosmos.System.MouseManager.X and the other one don't seem to work for me
Or maybe I'm doing something wrong
F4lc0131
@Nik300
@Skiuileuf have you initialized the mouse??
@ProgrammerDim man I think that Cosmos only supports the default resolution
I went knowing that there's a method to modify it via the VGA class but I really don't know
Skiuileuf
@Skiuileuf
@Nik300 how do I initialize it?
F4lc0131
@Nik300
By setting MouseManager
Sorry
MouseManager.ScreenHeight and MouseManager.ScreenWeight
*.Width sorry
My phone is retarded as hell
Skiuileuf
@Skiuileuf
Still doesn't work
daniel500013
@daniel500013
Hi i have a question someone know how can i fix thix error ? https://prnt.sc/rpozsx https://prnt.sc/rpp05i
Shadowplays4K
@Shadowplays4k
does cosmos have cuda support?
F4lc0131
@Nik300
@Shadowplays4k man, we're far away from it, the graphical subsystem is not even finished
@Skiuileuf send me in private the source code I'll give a look for you
@daniel500013 Look to get a more detailed info about the problem make a try catch statement to print out the error message and see what's going on
Shadowplays4K
@Shadowplays4k
cuda is not graphics lol, cuda is parallel processing using the gpu
F4lc0131
@Nik300
Yeah I was just making an example man
I now I'm not too good speaking English I'm currently studying it