Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 25 17:42
    quajak synchronize #1099
  • Nov 25 17:42

    quajak on netcoreapp2.1

    Spans work now, should be close… (compare)

  • Nov 24 08:00
    quajak edited #1099
  • Nov 24 03:25
    zarlo commented #1099
  • Nov 23 21:16
    quajak synchronize #1099
  • Nov 23 21:16

    quajak on netcoreapp2.1

    Updated to .net50 All plug changes to get il2cpu … Further tests and plugs (compare)

  • Nov 23 10:44
    quajak closed #1566
  • Nov 23 10:44
    quajak commented #1566
  • Nov 23 09:54
    boyangsic commented #1566
  • Nov 20 21:05
    quajak closed #1574
  • Nov 20 20:19
    MishaTY commented #1574
  • Nov 20 20:18
    MishaTY commented #1574
  • Nov 20 19:48
    Vardan2009 commented #1543
  • Nov 20 19:35
    quajak commented #1574
  • Nov 20 19:18
    Edx09 closed #1568
  • Nov 20 19:18
    Edx09 closed #1572
  • Nov 20 19:18
    Edx09 commented #1572
  • Nov 20 15:12
    MishaTY reopened #1574
  • Nov 20 15:12
    MishaTY commented #1574
  • Nov 20 14:50
    MishaTY closed #1574
Quajak
@quajak

how do i install the devkit?

Follow the instructions on the website.

how to draw text in CGS canvas?

You have to implement your own method or use the devkit which has DrawString

anyway to handle the CPU 0x06 and 0x05 exceptions without going into the main source

CPU Exceptions only happen when you either dont catch an exception or cosmos is doing something incorrectly/has a bug. The first case should be easy to handle and the second is impossible to handle without fixing the problem

GodToRun
@GodToRun
hello i downloading devkit, then i got error "System.Exception: The process failed to execute!" on Build - Build.sln. then i open my cosmos project, i got 25 errors "
CS0246 The type or namespace name 'Cosmos' could not be found (are you missing a using directive or an assembly reference?)" and project cannot build
:((( how do i fix???????
carcarjg
@carcarjg
Did you install it
Quajak
@quajak
In the devkit logs above there should be more information about the error
GodToRun
@GodToRun
i installed userkit
carcarjg
@carcarjg
so..... did you install the devkit?
GodToRun
@GodToRun
i got error while install devkit
carcarjg
@carcarjg
Ok. You got System.Exception: The process failed to execute when installing right?
GodToRun
@GodToRun
yes
GodToRun
@GodToRun
how to fix
Quajak
@quajak
we need the logs from when you try installing
there is a copy button, can you please post the logs in a pastebin?
GodToRun
@GodToRun
ok
Quajak
@quajak
you have to rename Cosmos-master to Cosmos
GodToRun
@GodToRun
thanks, its working
ShiroHive
@ShiroHive
@quajak yeh it is throwing General fault for every single exception. i already catch General fault but dont see a way to catch InvalidOp(0x06) or Bound Exception (0x5) or Whatever its name xd
:/ running into invalid Op from switching back to kernel from multitasking. it says for example the end of a method is causing an invalid op SomeMethod.ENDOFMETHOD_NORMAL
Quajak
@quajak
the thing is that you shouldnt be trying to handle these faults, since cosmos has run into some unrecoverable problem
there is currently a problem where multiple try catch statements within each other will cause faults
the only real way to figure out what cosmos is doing wrong in your case is to use bochs debugger
ShiroHive
@ShiroHive
not using try catch
Quajak
@quajak
do you have stack corruption enabled for every operation?
ShiroHive
@ShiroHive
yeh i check for stack corruption
Quajak
@quajak
not only at ends of methods but everywhere?
ShiroHive
@ShiroHive
the thing is if i task switch without Timer IRQ is works okay but with it after a few Task switcheds causes eith 0x05 or 0x06
Quajak
@quajak
thats very weird, i think your only chance really is using bochs debugger in that region
does it always crash at the same place?
ShiroHive
@ShiroHive
yes it crashes the same place
always at the end of SomeMethod.ENDOFMETHOD_NORMAL
Quajak
@quajak
then you might be able to set the breakpoint there
GodToRun
@GodToRun
i got error while build
alt
GodToRun
@GodToRun
how do i fix?? :(
ShiroHive
@ShiroHive
Maybe its not implemented?
GodToRun
@GodToRun
idk
carcarjg
@carcarjg
No that isnt from what I remember
GodToRun
@GodToRun
hmm
ShiroHive
@ShiroHive
@quajak As i figured it is only happening in the kernel. When i make standalone processes it switches with no issues
Quajak
@quajak
@ShiroHive Can you post the relevant code?
ShiroHive
@ShiroHive
@quajak the kernel uses segement 0x18 instead of 0x10?
Quajak
@quajak
?
ShiroHive
@ShiroHive
i mean the selector for ss, es,fs, gs..
Quajak
@quajak
I still dont understand what you are talking about
I dont know every part of Cosmos :)
ShiroHive
@ShiroHive
xD the gdt
Quajak
@quajak
I have no idea :D @charlesbetros @mterwoord Any insight?
ShiroHive
@ShiroHive
With bochs those registers get set with 0x18 rather than 0x10
Quajak
@quajak
can you send me a link to the file where that is done?
ShiroHive
@ShiroHive
using the bochs debugger