Hasty Briefsbeta

Bilingual

How I fixed the infamous Basilisk II Windows "Black Screen" bug in 2013

a year ago
  • #windows
  • #debugging
  • #emulation
  • Bug in Basilisk II emulator causing black screen on newer Windows versions.
  • Issue traced to ROMBaseHost address being below RAMBaseHost in host memory space.
  • Fix involved combining RAM and ROM allocations into a single call to prevent address misalignment.
  • Problem was more frequent on newer Windows versions due to changes in memory allocator behavior.
  • Solution was inspired by the Unix version of the code, which already handled allocations correctly.
  • Bug was related to the emulated Mac's Slot Manager failing when ROM was mapped to an unexpected virtual address.
  • Fix was submitted and merged in 2013, resolving the issue for Windows users.
  • Author reflects on their early GitHub contributions and growth over the past decade.