rpicsim 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/ChangeLog.md +8 -1
- data/lib/rpicsim/mplab/mplab_disassembler.rb +0 -2
- data/lib/rpicsim/sim.rb +10 -1
- data/lib/rpicsim/variable_set.rb +4 -0
- data/lib/rpicsim/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d41b2c70c97b2d8129b34801fdd6344cc5b57c5
|
4
|
+
data.tar.gz: 2c54285f1ffcc4e4eb0ad19d0bda948641c2edc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44351582e59474aec0fec8ffec411ba8dffe81e3d1c6003f79b180236fe86e2f92c8b82a22c00030e334fadd27f06686603daf302bc12ffefef9ac5dc667ea0f
|
7
|
+
data.tar.gz: 6f424c03cab34851a7943530f2c31c7014b47908713b5bb06f775452f6c28c75b10c0f892fda30d326d5cc2f746d9d4c6d9506da0a47e9fbbfcdb1056cfb7d97
|
data/docs/ChangeLog.md
CHANGED
@@ -1,11 +1,18 @@
|
|
1
1
|
Change log
|
2
2
|
====
|
3
3
|
|
4
|
+
0.2.2
|
5
|
+
----
|
6
|
+
Released on 2014-03-07.
|
7
|
+
|
8
|
+
- Fixed a bug in {RPicSim::Sim#new_ram_watcher} that prevented it from working.
|
9
|
+
|
4
10
|
0.2.1
|
5
11
|
----
|
6
12
|
|
7
13
|
Released on 2014-03-07.
|
8
|
-
|
14
|
+
|
15
|
+
- This release includes many, many breaking changes.
|
9
16
|
|
10
17
|
0.1.0
|
11
18
|
----
|
@@ -8,8 +8,6 @@ module RPicSim::Mplab
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def disassemble(address)
|
11
|
-
# To avoid showing a large, difficult to understand Java trace, we
|
12
|
-
# catch the InvalidInstructionException here.
|
13
11
|
begin
|
14
12
|
instr = @disasm.Disassemble(address, nil, nil)
|
15
13
|
rescue Java::ComMicrochipMplabMdbcoreDisasm::InvalidInstructionException
|
data/lib/rpicsim/sim.rb
CHANGED
@@ -605,7 +605,7 @@ module RPicSim
|
|
605
605
|
# changes to RAM. For more information, see {file:RamWatcher.md}.
|
606
606
|
# @return [MemoryWatcher]
|
607
607
|
def new_ram_watcher
|
608
|
-
MemoryWatcher.new(self, @simulator.fr_memory,
|
608
|
+
MemoryWatcher.new(self, @simulator.fr_memory, ram_vars + sfr_vars)
|
609
609
|
end
|
610
610
|
|
611
611
|
def shortcuts
|
@@ -619,6 +619,15 @@ module RPicSim
|
|
619
619
|
end
|
620
620
|
|
621
621
|
private
|
622
|
+
def ram_vars
|
623
|
+
ram_var_names = self.class.variable_set.var_names_for_memory(:ram)
|
624
|
+
@vars.values_at(*ram_var_names)
|
625
|
+
end
|
626
|
+
|
627
|
+
def sfr_vars
|
628
|
+
@sfrs.values
|
629
|
+
end
|
630
|
+
|
622
631
|
def address_increment
|
623
632
|
@assembly.device_info.code_address_increment
|
624
633
|
end
|
data/lib/rpicsim/variable_set.rb
CHANGED
data/lib/rpicsim/version.rb
CHANGED