X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/7c1b9e8ea3a9ec0d0c00009df9212a1829e072ec..1eefdc8e89a69963b1c1a084fe4ecec844997293:/GBZ80Core.v diff --git a/GBZ80Core.v b/GBZ80Core.v index e1aa308..3c2f770 100644 --- a/GBZ80Core.v +++ b/GBZ80Core.v @@ -295,8 +295,11 @@ module GBZ80Core( busaddress <= address; buswr <= wr; busrd <= rd; - if (wr) + if (wr) begin buswdata <= wdata; + if (address == 16'hFF50) + bootstrap_enb <= 0; + end end end `STATE_DECODE: begin /* Make sure this only happens for one clock. */