hikalium / liumos

A toy operating system which supports NVDIMM natively.
MIT License
270 stars 24 forks source link

Window gets black #64

Closed d0iasm closed 2 years ago

d0iasm commented 2 years ago

When brower-rs.bin is executed on liumos, an application window gets black once it is overridden by a cursor or it is moved.

https://user-images.githubusercontent.com/12879646/135707367-e3a39696-1408-4778-ad40-ae38cd3f1d57.mov

hikalium commented 2 years ago

Thanks for the report! I found that it was a problem about how we are allocating a Sheet buffer for apps: it was pointing a user mode memory region, which is not mapped when we move the sheet, so Flush() copies literary "zero" data that results in a black screen.

hikalium commented 2 years ago

Mark as fixed.