bootstrap.gb icon indicating copy to clipboard operation
bootstrap.gb copied to clipboard

Clearing VRAM on init

Open dannye opened this issue 7 years ago • 0 comments

In Init: there are these two lines:

; Filling vram is not really necessary.
;	fill $8000, $2000, 0

On some emulators (VBA) and on a real Gameboy Color, the BG map is already all cleared, so filling VRAM is unnecessary. But on other emulators (BGB), the BG map has some artifacts in it, resulting in this: bgb00004

Plus, if a game intentionally has a soft-reset option, it may be desirable to deliberately clear VRAM. So for sanity, maybe this line should be un-commented.

dannye avatar Mar 06 '18 16:03 dannye