waterfoul/lib/waterfoul.rb

35 lines
870 B
Ruby
Raw Permalink Normal View History

2016-05-08 09:20:05 +02:00
require "waterfoul/version"
require "waterfoul/cli"
require "waterfoul/skip_boot"
require "waterfoul/helper"
require "waterfoul/interrupt"
require "waterfoul/mmu"
require "waterfoul/timer"
2016-05-08 09:20:05 +02:00
require "waterfoul/cpu"
require "waterfoul/errors"
require "waterfoul/sdl"
2016-05-08 09:20:05 +02:00
require "waterfoul/screen"
2016-09-25 09:36:23 +02:00
require "waterfoul/ppu"
2016-05-08 09:20:05 +02:00
require "waterfoul/cartridge"
require "waterfoul/emulator"
2016-09-01 04:01:18 +02:00
require "waterfoul/input"
2016-05-08 09:20:05 +02:00
module Waterfoul
BIT_0 = 0b0000_0001
BIT_1 = 0b0000_0010
BIT_2 = 0b0000_0100
BIT_3 = 0b0000_1000
BIT_4 = 0b0001_0000
BIT_5 = 0b0010_0000
BIT_6 = 0b0100_0000
BIT_7 = 0b1000_0000
BIT_8 = 0b0000_0001_0000_0000
BIT_9 = 0b0000_0010_0000_0000
BIT_10 = 0b0000_0100_0000_0000
BIT_11 = 0b0000_1000_0000_0000
BIT_12 = 0b0001_0000_0000_0000
BIT_13 = 0b0010_0000_0000_0000
BIT_14 = 0b0100_0000_0000_0000
BIT_15 = 0b1000_0000_0000_0000
end