Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 28 lines (23 sloc) 0.544 kb
#!/usr/bin/env ruby
require 'rubygems'
require 'bundler'
require 'readline'
Bundler.require :default
Dir.glob(File.join(File.dirname(__FILE__), '{cpu,lib}', '**', '*.rb')).each do |f|
require f
end
$options = Antiquitas::Options.parse(ARGV)
# here, the only thing left in ARGV should be the name of the rom
rom = ARGV.first
if $options.debug
if $options.cpu
cpu = Kernel.const_get("Cpu#{$options.cpu}")
end
loop do
line = Readline::readline('> ')
Readline::HISTORY.push(line)
puts line
end
else
puts 'cool'
end
Jump to Line
Something went wrong with that request. Please try again.