Cosmos: OS Freezes when drawing an image

Created on 26 Oct 2020  路  11Comments  路  Source: CosmosOS/Cosmos

Area of Cosmos - What area of Cosmos are we dealing with?

GUI.

Expected Behaviour - What do you think that should happen?

Draw a bitmap image

Actual Behaviour - What unexpectedly happens?

the OS freezes

Reproduction - How did you get this error to appear?

I Just wrote this line to draw an image:
canvas.DrawImage(new Bitmap(@"C:\Users\user\Desktop\BITMAP.bmp"), 40, 30);

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

Userkit

Most helpful comment

You can go on VMware Workstation 15.0 player with Cosmos selected and go -> Edit virtual machine settings. Than you go -> Hardisk IDE than go on map virtual disk. Tick off read only mode on the dialog and press enter. Than you can add your Cosmos OS images and other assets to the virtual disk.

All 11 comments

The path to the bitmap must be on the filesystem of the os not the system used to compile it.

but how to do this...

You can go on VMware Workstation 15.0 player with Cosmos selected and go -> Edit virtual machine settings. Than you go -> Hardisk IDE than go on map virtual disk. Tick off read only mode on the dialog and press enter. Than you can add your Cosmos OS images and other assets to the virtual disk.

I Cant Map The virtual disk
Error

:(

I Cant Map The virtual disk
Error

I'd look that up, because there may be a relevant search result for the mapping part. There may be a YouTube video for that.

You can't map the virtual disk because that feature is only avaliable in Vmware pro, unfortunately

Can you try map the vmdk from within Windows Explorer?

how to do this

but how to use it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

geomtech picture geomtech  路  9Comments

Lrios4403 picture Lrios4403  路  12Comments

Vardan2009 picture Vardan2009  路  11Comments

erikpro007 picture erikpro007  路  4Comments

AAli107 picture AAli107  路  10Comments