get vm source on screen
This commit is contained in:
parent
4305ddaf1d
commit
19a0b7f9fe
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,9 +1,6 @@
|
||||
# database
|
||||
db
|
||||
|
||||
#salama copied lib (for reloads)
|
||||
app/main/lib
|
||||
|
||||
# rdoc generated
|
||||
rdoc
|
||||
|
||||
|
@ -42,7 +42,9 @@ module Main
|
||||
c = Volt::Model.new :name => name
|
||||
page._classes << c
|
||||
end
|
||||
page._block = BlockModel.new Virtual.machine.init
|
||||
b = Virtual.machine.init
|
||||
page._block = BlockModel.new b
|
||||
page._source = InstructionModel.new b.codes.first.source
|
||||
end
|
||||
def fill_regs
|
||||
register_names = (0..8).collect {|i| "r#{i}"}
|
||||
|
Loading…
Reference in New Issue
Block a user