by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 09:18
    EliaSulimanov commented #1371
  • 08:50
    quajak commented #1371
  • 06:00
    NezbednikSK commented #1366
  • 05:25
    typicalname0 commented #1371
  • Jul 02 21:23
    valentinbreiz synchronize #913
  • Jul 02 21:23

    valentinbreiz on CGSE

    Remove bochs check inside the Vโ€ฆ (compare)

  • Jul 02 20:57
    valentinbreiz synchronize #913
  • Jul 02 20:57

    valentinbreiz on CGSE

    VirtualBox detection in canvas โ€ฆ (compare)

  • Jul 02 19:56
    EliaSulimanov synchronize #1363
  • Jul 02 19:27
    valentinbreiz opened #1374
  • Jul 02 19:26

    valentinbreiz on cgs

    (compare)

  • Jul 02 18:45
    EliaSulimanov opened #1373
  • Jul 01 23:39
    Arawn-Davies opened #1372
  • Jul 01 18:09
    Arawn-Davies commented #1322
  • Jul 01 18:06
    Arawn-Davies commented #1367
  • Jun 30 20:08
    EliaSulimanov synchronize #1363
  • Jun 30 19:45
    EliaSulimanov commented #1365
  • Jun 29 20:09
    EliaSulimanov synchronize #1363
  • Jun 29 20:06
    EliaSulimanov synchronize #1363
  • Jun 29 19:46
    EliaSulimanov commented #1371
KM198912
@KM198912
            int count = vFS.GetVolumes().Count;

            for (int i = 0; i < count; i++)
            {
                string label = vFS.GetFileSystemLabel(i.ToString());
                int UsedSpace = (int)vFS.GetTotalSize(i.ToString()) - (int)vFS.GetTotalFreeSpace(i.ToString());
                long intBytes = UsedSpace;
                m_log.InfoFormat("FILE SYSTEM", "Detected Partition Label for Partition: " + i.ToString() + " is " + label);

                m_log.InfoFormat("FILE SYSTEM", @"Total Size for Partition " 
                + i.ToString() +
                " is " + FormatBytes(vFS.GetTotalSize(i.ToString())) + 
                " Free: "+ FormatBytes(vFS.GetTotalFreeSpace(i.ToString())) + 
                " Used: "+ FormatBytes((long)intBytes));
            }
i think that it is because the for loop will only count to one less than is found?
Elia Sulimanov
@EliaSulimanov
image.png
tried your code, the count is 1 on first init of VFS
and it goes to this:
image.png
have you done anything oherwise then initing the VFS?
also while debugging your code, I noticed 2 additional problems of the debugger.
Elia Sulimanov
@EliaSulimanov
  1. I can't step into "m_log.InfoFormat("FILE SYSTEM", @"Total..." line, as there is blank line in between
  1. the IDE would crash each time I try to open the debugger "locals" tab
KM198912
@KM198912
    public void InfoFormat(string area,string text)
    {
        Console.ForegroundColor = ConsoleColor.Yellow;
        Console.Write("[" + area + "] ");
        Console.ForegroundColor = ConsoleColor.White;
        Console.WriteLine(text);

    }
but i figured it now
i.ToString() + "://"
Elia Sulimanov
@EliaSulimanov
Great
Elia Sulimanov
@EliaSulimanov
I opened PR about generating XML docs along with nuget package, and I noticed many of the methods have no documentation. Is it something you are looking for?
KM198912
@KM198912
has anyone done a plug for enums?
ThatBlazeKing ๐Ÿ‘‘
@thatblazeking_twitter
when is DrawString() coming
KM198912
@KM198912
You mean to draw text on canvas?
ThatBlazeKing ๐Ÿ‘‘
@thatblazeking_twitter
yea with font
KM198912
@KM198912
with font i cant help but i could help to display text at all
ThatBlazeKing ๐Ÿ‘‘
@thatblazeking_twitter
i know how to display text, i need to know abt font
KM198912
@KM198912
font is not implemented yet and as far as i know a long way ahead as it needs to be seen how ttf files can be used at all, i think the next possible thing that might be comming is psf fonts
ThatBlazeKing ๐Ÿ‘‘
@thatblazeking_twitter
Do you know when will it probably come?
KM198912
@KM198912
i will check if i can do something about that as the implementation to load the fonts seems fairly simple, and with some pointers i could probably manage that but right now i am finishing up another thing which almost works
Quajak
@quajak
@EliaSulimanov Thanks for the PR, will look into merging it. We greatly appreciate all help including adding documentation to methods.
Elia Sulimanov
@EliaSulimanov
@quajak happy to hear it, started working on API docs
KM198912
@KM198912
just a few little changes and we have a buffered canvas :D
365Tito
@365Tito
@KM198912 did you make a basic compiler for COSMOS?
KM198912
@KM198912
for?
oh i got a basic compiler running with quajaks help
but it is really basic
can only run very limited things
365Tito
@365Tito
oh ok! Good to know :)
I made an interpreted language ... i can't learn asm
to make a compiler
never found good resources for learning asm tbh
KM198912
@KM198912
yeah assembly aint my cup of beer
365Tito
@365Tito
how'd you make a compiler then?
KM198912
@KM198912
it aint a compiler
C# just interprets the basic functions, and Cosmos Compiles it to asm
KM198912
@KM198912
little tip for anyone dealing with slow canvas debugging, in your userkit is a DEBUG.vmx, in there add serial0.pipe.charTimePercent = "time" <<< replace time with a number, best is to start by 100 and go down until you find a setting that works good for you
F4lc0131
@Nik300
Guys I lost all my data due to a pc problem and I havenโ€™t saved the double buffering project anywhere... so I need to start the whole work back๐Ÿ˜”๐Ÿ˜”
Iโ€™m sooo frustrated
Matthijs ter Woord
@mterwoord
create a github account and store the data there in git....
F4lc0131
@Nik300
Sure Iโ€™ll do that
365Tito
@365Tito
@KM198912 so you basically made a BASIC interpreter? Not a compiler?
I didn't know BASIC can be an interpreted language too.
I also made an interpreted language called OOL (Object Oriented Language)
KM198912
@KM198912
well you just need to know what a function in basic does and clone it
365Tito
@365Tito
which is more COBOL like.