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
|
# database
|
||||||
db
|
db
|
||||||
|
|
||||||
#salama copied lib (for reloads)
|
|
||||||
app/main/lib
|
|
||||||
|
|
||||||
# rdoc generated
|
# rdoc generated
|
||||||
rdoc
|
rdoc
|
||||||
|
|
||||||
|
@ -42,7 +42,9 @@ module Main
|
|||||||
c = Volt::Model.new :name => name
|
c = Volt::Model.new :name => name
|
||||||
page._classes << c
|
page._classes << c
|
||||||
end
|
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
|
end
|
||||||
def fill_regs
|
def fill_regs
|
||||||
register_names = (0..8).collect {|i| "r#{i}"}
|
register_names = (0..8).collect {|i| "r#{i}"}
|
||||||
|
Loading…
Reference in New Issue
Block a user