clean up booting

many machine boot became obsolete
or just neede parfait to boot
actual linker functionality pending
This commit is contained in:
Torsten Ruger
2018-07-01 14:12:42 +03:00
parent e75aef933d
commit c947c27a14
32 changed files with 71 additions and 62 deletions

View File

@ -97,6 +97,15 @@ module Parfait
def test_has_next_address
assert_equal Parfait::ReturnAddress , @space.next_address.next_integer.class
end
def test_address_count
addr = @space.get_address
count = 0
while(addr)
count += 1
addr = addr.next_integer
end
assert_equal 10, count
end
def test_messages
mess = @space.first_message

View File

@ -4,7 +4,7 @@ module Parfait
class TestEmptyWord < ParfaitTest
def setup
Risc.machine.boot
Parfait.boot!
@word = Parfait::Word.new(0)
end
def test_word_create