Changeset 4485

Show
Ignore:
Timestamp:
01/12/08 16:12:17 (5 years ago)
Author:
mrkn
Message:

lang/ruby/CPU-Z80/trunk/lib/CPU/Z80.rb (CPU::Z80::initialize): An instance of CPU::Z80 has an instance of RegisterSet?.
lang/ruby/CPU-Z80/trunk/spec/CPU_Z80_spec.rb: A spec file for CPU::Z80 class.

Location:
lang/ruby/CPU-Z80/trunk
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/CPU-Z80/trunk/ChangeLog

    r4474 r4485  
    112008-01-12  Kenta Murata  <mrkn@gmail.com> 
     2 
     3        * lib/CPU/Z80.rb (CPU::Z80::initialize): An instance of CPU::Z80 
     4        has an instance of RegisterSet. 
     5 
     6        * spec/CPU_Z80_spec.rb: A spec file for CPU::Z80 class. 
     7 
     8        * spec/CPU_Z80_Register8.rb: A spec file for CPU::Z80::Register8 
     9        class. 
     10 
     11        * spec/CPU_Z80_Register16.rb: A spec file for CPU::Z80::Register16 
     12        class. 
     13 
     14        * spec/CPU_Z80_RegisterSet.rb: A spec file for 
     15        CPU::Z80::RegisterSet class. 
    216 
    317        * lib/CPU/Z80.rb, lib/CPU/Z80/register_set.rb, 
  • lang/ruby/CPU-Z80/trunk/lib/CPU/Z80.rb

    r4474 r4485  
    11# $Id$ 
     2 
     3require 'CPU/Z80/register_set' 
    24 
    35module CPU 
    46  class Z80 
     7    def initialize 
     8      @regs = RegisterSet.new 
     9    end 
    510  end 
    611end