also separate risc and cpu inits for the machine

interpreter works on risc, but assembler off cpu
This commit is contained in:
Torsten Ruger
2018-03-25 19:36:00 +03:00
parent 3090ccffea
commit 3bd23cee28
3 changed files with 13 additions and 33 deletions

View File

@ -13,7 +13,7 @@ module Risc
Vool::VoolCompiler.ruby_to_vool( @string_input )
Collector.collect_space
@interpreter = Interpreter.new
@interpreter.start Risc.machine.init
@interpreter.start Risc.machine.risc_init
end
# must be after boot, but before main compile, to define method