├── .gitignore ├── .rspec ├── .ruby-version ├── .ruby-version-for-jruby ├── .travis.yml ├── Gemfile ├── Guardfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── ruby2600 ├── ruby2600-headless └── ruby2600-swt ├── lib ├── ruby2600.rb └── ruby2600 │ ├── ball.rb │ ├── bus.rb │ ├── cart.rb │ ├── constants.rb │ ├── counter.rb │ ├── cpu.rb │ ├── fps_calculator.rb │ ├── frame_generator.rb │ ├── graphic.rb │ ├── missile.rb │ ├── player.rb │ ├── playfield.rb │ ├── riot.rb │ ├── tia.rb │ └── version.rb ├── ruby2600.gemspec └── spec ├── fixtures └── files │ ├── diagonal_hmov.asm │ ├── diagonal_hmov.bin │ ├── diagonal_hmov_bl_p0.asm │ ├── diagonal_hmov_bl_p0.bin │ ├── hello.asm │ ├── hello.bin │ ├── hello2k.asm │ └── hello2k.bin ├── functional ├── diagonal_spec.rb ├── hello_spec.rb └── vertical_delay_spec.rb ├── lib └── ruby2600 │ ├── ball_spec.rb │ ├── bus_spec.rb │ ├── cart_spec.rb │ ├── constants_spec.rb │ ├── counter_spec.rb │ ├── cpu_spec.rb │ ├── frame_generator_spec.rb │ ├── graphic_spec.rb │ ├── missile_spec.rb │ ├── player_spec.rb │ ├── playfield_spec.rb │ ├── riot_spec.rb │ └── tia_spec.rb ├── spec_helper.rb └── support ├── shared_examples_for_bus.rb ├── shared_examples_for_cpu.rb ├── shared_examples_for_riot.rb └── shared_examples_for_tia.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --colour 3 | --order random 4 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.7.2 2 | -------------------------------------------------------------------------------- /.ruby-version-for-jruby: -------------------------------------------------------------------------------- 1 | jruby-9.1.6.0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/Gemfile -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/Guardfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/ruby2600: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/bin/ruby2600 -------------------------------------------------------------------------------- /bin/ruby2600-headless: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/bin/ruby2600-headless -------------------------------------------------------------------------------- /bin/ruby2600-swt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/bin/ruby2600-swt -------------------------------------------------------------------------------- /lib/ruby2600.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600.rb -------------------------------------------------------------------------------- /lib/ruby2600/ball.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/ball.rb -------------------------------------------------------------------------------- /lib/ruby2600/bus.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/bus.rb -------------------------------------------------------------------------------- /lib/ruby2600/cart.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/cart.rb -------------------------------------------------------------------------------- /lib/ruby2600/constants.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/constants.rb -------------------------------------------------------------------------------- /lib/ruby2600/counter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/counter.rb -------------------------------------------------------------------------------- /lib/ruby2600/cpu.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/cpu.rb -------------------------------------------------------------------------------- /lib/ruby2600/fps_calculator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/fps_calculator.rb -------------------------------------------------------------------------------- /lib/ruby2600/frame_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/frame_generator.rb -------------------------------------------------------------------------------- /lib/ruby2600/graphic.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/graphic.rb -------------------------------------------------------------------------------- /lib/ruby2600/missile.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/missile.rb -------------------------------------------------------------------------------- /lib/ruby2600/player.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/player.rb -------------------------------------------------------------------------------- /lib/ruby2600/playfield.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/playfield.rb -------------------------------------------------------------------------------- /lib/ruby2600/riot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/riot.rb -------------------------------------------------------------------------------- /lib/ruby2600/tia.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/lib/ruby2600/tia.rb -------------------------------------------------------------------------------- /lib/ruby2600/version.rb: -------------------------------------------------------------------------------- 1 | module Ruby2600 2 | VERSION = "0.1.4" 3 | end 4 | -------------------------------------------------------------------------------- /ruby2600.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/ruby2600.gemspec -------------------------------------------------------------------------------- /spec/fixtures/files/diagonal_hmov.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/fixtures/files/diagonal_hmov.asm -------------------------------------------------------------------------------- /spec/fixtures/files/diagonal_hmov.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/fixtures/files/diagonal_hmov.bin -------------------------------------------------------------------------------- /spec/fixtures/files/diagonal_hmov_bl_p0.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/fixtures/files/diagonal_hmov_bl_p0.asm -------------------------------------------------------------------------------- /spec/fixtures/files/diagonal_hmov_bl_p0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/fixtures/files/diagonal_hmov_bl_p0.bin -------------------------------------------------------------------------------- /spec/fixtures/files/hello.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/fixtures/files/hello.asm -------------------------------------------------------------------------------- /spec/fixtures/files/hello.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/fixtures/files/hello.bin -------------------------------------------------------------------------------- /spec/fixtures/files/hello2k.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/fixtures/files/hello2k.asm -------------------------------------------------------------------------------- /spec/fixtures/files/hello2k.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/fixtures/files/hello2k.bin -------------------------------------------------------------------------------- /spec/functional/diagonal_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/functional/diagonal_spec.rb -------------------------------------------------------------------------------- /spec/functional/hello_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/functional/hello_spec.rb -------------------------------------------------------------------------------- /spec/functional/vertical_delay_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/functional/vertical_delay_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/ball_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/ball_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/bus_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/bus_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/cart_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/cart_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/constants_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/constants_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/counter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/counter_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/cpu_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/cpu_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/frame_generator_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/frame_generator_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/graphic_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/graphic_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/missile_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/missile_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/player_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/player_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/playfield_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/playfield_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/riot_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/riot_spec.rb -------------------------------------------------------------------------------- /spec/lib/ruby2600/tia_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/lib/ruby2600/tia_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/shared_examples_for_bus.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/support/shared_examples_for_bus.rb -------------------------------------------------------------------------------- /spec/support/shared_examples_for_cpu.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/support/shared_examples_for_cpu.rb -------------------------------------------------------------------------------- /spec/support/shared_examples_for_riot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/support/shared_examples_for_riot.rb -------------------------------------------------------------------------------- /spec/support/shared_examples_for_tia.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chesterbr/ruby2600/HEAD/spec/support/shared_examples_for_tia.rb --------------------------------------------------------------------------------