Torsten Ruger
|
2d901bf7b6
|
not wrapping the cpu initial jump anymore
also introduce padding after cpu_init (wip)
|
2018-05-12 18:36:59 +03:00 |
|
Torsten Ruger
|
776a97986d
|
fix instruction positioning
use at as at and only compute difference when needed (to determine if
there is a jump in binary)
Easier to understand that way
|
2018-05-11 18:36:45 +03:00 |
|
Torsten Ruger
|
7ca7e92dda
|
remove link exception class
|
2018-05-08 20:22:04 +03:00 |
|
Torsten Ruger
|
cf06642768
|
start passing positions along inside the position code
|
2018-05-08 19:59:43 +03:00 |
|
Torsten Ruger
|
ce3cc72f9e
|
move all position setting into position
Position and subclasses handle the logic, external to
the classes, so it can be swapped out later
(at runtime positions can’t change)
|
2018-05-07 22:30:43 +03:00 |
|
Torsten Ruger
|
68fb9b1bdc
|
rename Position get/set
|
2018-05-06 20:04:02 +03:00 |
|
Torsten Ruger
|
e89c4d1ce1
|
pass binary that arm instruction belongs to in
at least to first. repositioning and stuff next
|
2018-05-06 19:56:36 +03:00 |
|
Torsten Ruger
|
415df49199
|
hand context into position
|
2018-05-06 00:34:59 +03:00 |
|
Torsten Ruger
|
40f4bfc287
|
change to position objects complete
|
2018-05-05 20:25:10 +03:00 |
|
Torsten Ruger
|
d65a982454
|
start by moving positioned(module) to position(class)
|
2018-05-05 19:47:18 +03:00 |
|
Torsten Ruger
|
43d5521cfc
|
debugging positions
|
2018-05-05 19:32:01 +03:00 |
|
Torsten Ruger
|
d49d2665c5
|
reinit risc_init
fixes over 100 tests :-)
|
2018-05-01 22:36:46 +03:00 |
|
Torsten Ruger
|
6be28e7f55
|
fix (re)positioning when link exceptions are thrown
slow design, but sort of works
|
2018-05-01 19:48:11 +03:00 |
|
Torsten Ruger
|
dd2c2cb975
|
fix init jump bug
the label for the jump was not translated correctly
call needs to go through to_cpu to create single instance
on the way init order slightly changed
|
2018-05-01 19:19:04 +03:00 |
|
Torsten Ruger
|
1acd231a33
|
debugging binaries, initial jump issues
|
2018-04-30 13:28:55 +03:00 |
|
Torsten Ruger
|
9e9b5c7f37
|
move to parfait integers in risc layer
loading constants means loading parfait objects
objects have to me collected in machine
integer ok, string/true/false/nil next
|
2018-03-31 13:25:59 +03:00 |
|
Torsten Ruger
|
e012f16d7f
|
fix positioning and the assembly works
|
2018-03-29 18:03:21 +03:00 |
|
Torsten Ruger
|
34b16a2332
|
use a binary code for the first jump
|
2018-03-29 17:39:31 +03:00 |
|
Torsten Ruger
|
5eee79719d
|
reenable now working tests
|
2018-03-28 13:04:25 +03:00 |
|
Torsten Ruger
|
fcb7f652eb
|
found the culprit
|
2018-03-28 11:37:17 +03:00 |
|
Torsten Ruger
|
500851d246
|
start on new binary creation process
now writing into BinaryCode instead of stream
also in the risc layer, not arm, for reusability
|
2018-03-27 20:47:41 +03:00 |
|
Torsten Ruger
|
4069397fca
|
don't collect labels anymore
don’t need, use binary code as the methods jump point
|
2018-03-27 19:06:16 +03:00 |
|
Torsten Ruger
|
4253d7a6b9
|
move assembly from assembler to machine
id now called position
|
2018-03-27 18:47:39 +03:00 |
|
Torsten Ruger
|
e8f449bc65
|
reuse translator in machine and clean up api
|
2018-03-26 19:42:40 +03:00 |
|
Torsten Ruger
|
3bd23cee28
|
also separate risc and cpu inits for the machine
interpreter works on risc, but assembler off cpu
|
2018-03-25 19:36:00 +03:00 |
|
Torsten Ruger
|
f7aac1d1a4
|
polish docs
and a bit of code style
|
2018-03-11 16:11:15 +05:30 |
|
Torsten Ruger
|
aa79e41d1c
|
rename register to risc
seems to fit the layer much better as we really have a very reduced
instruction set
|
2017-01-19 09:02:29 +02:00 |
|