Two9A / jsGB

JavaScript emulation of the GameBoy console
http://imrannazar.com/
Other
726 stars 110 forks source link

what about the bios? #5

Open thewilli opened 8 years ago

thewilli commented 8 years ago

Hi,

you included a BIOS but do not use it after all.

Is this BIOS somehow needed, and why did you include it but do not use it in your demo?

Thanks in advance :)

pmcanseco commented 8 years ago

While he has the bios there, it seems that he just sets the values of the registers to what they would be at the end of the bios sequence, skipping it altogether. This method has worked for me better than actually using the bios.

Akhil841 commented 2 years ago

The problem with that approach is that the BIOS also writes values to some IO control addresses in RAM, as well as setting values in certain memory addresses (such as 0x8011), throughout WRAM, VRAM, and OAM.