Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 22:20
    Build #4150 passed
  • 22:20
    Build #4150 passed
  • 21:38
    Build #4149 passed
  • 21:38
    Build #4149 passed
  • 20:55
    Build #4148 passed
  • 20:55
    Build #4148 passed
  • 20:55
    Build #4147 passed
  • 20:55
    Build #4147 passed
  • 20:54
    Build #4146 passed
  • 20:54
    Build #4146 passed
  • 20:54
    Build #4145 passed
  • 20:54
    Build #4145 passed
  • 20:54
    Build #4144 passed
  • 20:54
    Build #4144 passed
  • 20:11
    Build #4143 passed
  • 20:11
    Build #4143 passed
  • 19:10
    Build #4142 passed
  • 19:10
    Build #4142 passed
  • Jan 18 14:48
    Build #4137 passed
  • Jan 18 14:48
    Build #4137 passed
TheUnknown
@TheUnknown-007
Does Visual Studio Resources work with Cosmos?
nifanfa
@nifanfa
obviously not
os development is different from application development
TheUnknown
@TheUnknown-007
Ok i see...
I guess I will have to implement my own Image Display-er because Cosmos doesn't have one by default. or does it?
Can you suggest me pre-made solution cuz im dumb at such tasks.
Thank you :)
@nifanfa
jwoff78
@jwoff78
Damn what happened to cosmos? Activity--;
Phil Garcia
@tgiphil
^ switched to discord
nifanfa
@nifanfa
use Canvas.DrawImage
@TheUnknown-007
there is a image display-er as you said
in cosmos
TheUnknown
@TheUnknown-007
@nifanfa Isn't that just a struct? There is no implementation
nifanfa
@nifanfa
Use FullScreenCanvas.GetFullScreenCanvas()
but it's not a doublebuffered thing so it would be tough to use
@TheUnknown-007 are you NoFx?
i don't think Cosmos's canvas will be better in drawing mouse cursor
TheUnknown
@TheUnknown-007
How can i have a bytes array
when i hard code it, my editor lags as hell
when i store it as bmp, no way to load it
nifanfa
@nifanfa
add things to filesystem.vmdk
remember you are in a os development
do it like how do you use thing in real hardware
TheUnknown
@TheUnknown-007
yea i see
nifanfa
@nifanfa
you gotta store things in your disk
TheUnknown
@TheUnknown-007
aight ima try
wait but what if its NOT fat formatted
idk what virtual box formats at first
nifanfa
@nifanfa
so it is not usable
TheUnknown
@TheUnknown-007
idk i think yes its not usable until formatted
nifanfa
@nifanfa
if you're creating a new virtual disk file
so it has no format
it just empty
TheUnknown
@TheUnknown-007
How do I format thru cosmos?
@nifanfa
also i just mounted the disk, formatted it into FAT, and put my bmp file
nifanfa
@nifanfa
idk
TheUnknown
@TheUnknown-007
and tried to boot the os
and canvas.DrawImage(new Bitmap(@"0:\Image.bmp"), 0, 0); will not display the image
also i wrote 0 cuz 0 is the identifier of the first partition, idk
nifanfa
@nifanfa
make sure your os is still alive
i mean
TheUnknown
@TheUnknown-007
how?
nifanfa
@nifanfa
not freezing
TheUnknown
@TheUnknown-007
how do i know that?
nifanfa
@nifanfa
idk
use your way
make sure the image is loaded successfully
or call canvas.display
TheUnknown
@TheUnknown-007
canvas.display is not a method