by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 04 22:49
    valentinbreiz commented #1383
  • Jul 04 22:48
    valentinbreiz edited #1384
  • Jul 04 22:48
    valentinbreiz edited #1384
  • Jul 04 22:48
    valentinbreiz opened #1384
  • Jul 04 22:47

    valentinbreiz on multibootvbe

    add Multiboot and VBE structs (compare)

  • Jul 04 21:52
    valentinbreiz review_requested #1237
  • Jul 04 20:55

    valentinbreiz on master

    GPT Support Undid change to kernel test set Merge pull request #1285 from m… (compare)

  • Jul 04 20:55
    valentinbreiz closed #1285
  • Jul 04 20:34
    quajak closed #1349
  • Jul 04 20:34

    quajak on CGSE

    (compare)

  • Jul 04 20:33
    quajak commented #1371
  • Jul 04 20:28
    quajak commented #1237
  • Jul 04 20:27

    quajak on buildernotclosing

    (compare)

  • Jul 04 20:27
    quajak commented #1349
  • Jul 04 20:07

    valentinbreiz on master

    double buffering working! MemoryBlock changes MemoryBloc… Add summary = + Copy MemoryBloc… and 7 more (compare)

  • Jul 04 20:07
    valentinbreiz closed #1381
  • Jul 04 20:02
    quajak review_requested #1381
  • Jul 04 20:02
    valentinbreiz synchronize #1381
  • Jul 04 20:02

    valentinbreiz on doublebuffering

    remove useless variables (compare)

  • Jul 04 19:53
    valentinbreiz review_requested #1381
Matthijs ter Woord
@mterwoord
as long as your physical hardware has a (real) serial port, you can still debug
KM198912
@KM198912
it doesnt
its a very basic laptop
Matthijs ter Woord
@mterwoord
ah
fabiosarts
@fabiosarts
wouldn't an USB-RS232 adaptor work? or it would require an USB controller?
Matthijs ter Woord
@mterwoord
yes, real serial port is really low level. usb needs pci, usb implementation etc, all in assembler
KM198912
@KM198912
but so far everything, beside the HDD works on the laptop with cosmos so i cant complain
Matthijs ter Woord
@mterwoord
cool
in the early days of cosmos @czhower and me did a presentation with 3 computers and 2 beamers, showcasing real-hardware debugging
KM198912
@KM198912
i think i have seen pictures of that with some card danging around in the case
funny is that the laptop even detected the PS2 without any patches
but i might look into the routine to detect the hdd
just need to find a way to see if it detected the hdd, and not the volumes
fabiosarts
@fabiosarts
as far i know, PS/2 it's the "default" keyboard input, as it connect directly to the cpu by using interrupts
by the other hand, i think most of the motherboards emulates an ps/2 keyboard from usb
KM198912
@KM198912
It doesnt work correctly in cosmos correctly yet
fabiosarts
@fabiosarts
doesn't it?
i assumed usb keyboards worked everywhere :O
KM198912
@KM198912
No my Computers apart from the Laptop all throw ps2 errors without patches
Kudzu
@czhower

@mterwoord I dont know which person you were responding to but:

https://www.youtube.com/watch?v=kXwlg-NN8NI

https://www.youtube.com/watch?v=d_1Bup3TR_M

KM198912
@KM198912
that was to me
because i said i wasnt able to debug on my laptop
Kudzu
@czhower
Cosmos has very limited hardware support and remote debugging on physical hardware requires a bus based serial connection
KM198912
@KM198912
yeah you told me that ages ago when my i7 was laying in its last breath
but now that i am back i am keeping my promise by helping where i can :P and if it is just writing wikis
Kudzu
@czhower
best for now is VM
KM198912
@KM198912
to debug yeah, but apart from that my laptop works perfectly with cosmos, the PS/2 is detected etc, only thing not working correctly is the HDD in Compability mode, but for that i am making AHCI talk active now to tell me what it detects @czhower
KM198912
@KM198912
anyone knows where i am going wrong here and why with 2 partitions they repeat on the second partition?
            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?