Commit Graph

75 Commits

Author SHA1 Message Date
4a88f342d3 random checkin
still suffering -1 trauma
2018-05-14 12:38:44 +03:00
866467ee5e change binary labels 2018-05-13 17:21:48 +03:00
68fb9b1bdc rename Position get/set 2018-05-06 20:04:02 +03:00
40f4bfc287 change to position objects complete 2018-05-05 20:25:10 +03:00
3244c7d633 add position tests
and refactor padding out
2018-05-05 20:11:08 +03:00
d65a982454 start by moving positioned(module) to position(class) 2018-05-05 19:47:18 +03:00
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
1acd231a33 debugging binaries, initial jump issues 2018-04-30 13:28:55 +03:00
fb29fb6431 linked list of methods instead of list of methods
api changes slightly, especially for each, but mostly sama sama
2018-04-02 16:36:43 +03:00
efcc33f8a1 get an elf written 2018-03-29 20:37:25 +03:00
3844a738cd rename assembler to text_writer
as “assembly” really happens in the machine now
2018-03-29 18:17:19 +03:00
3090ccffea keep risc and cpu instructions separate in method
that overwriting was a bit of thorn
2018-03-25 19:33:50 +03:00
f7aac1d1a4 polish docs
and a bit of code style
2018-03-11 16:11:15 +05:30
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
0397d4064d fix all positioned uses as helper (not included anymore) 2017-01-01 21:52:55 +02:00
113b349af5 unlinking the objects collection from the machine
passing it around instead
2016-12-31 18:46:17 +02:00
b094bcc64f rename unit and sint to human readable forms 2016-12-31 18:45:22 +02:00
a2ece04b6d a little more minimal elf tests 2016-12-31 15:08:32 +02:00
f0350601a7 Move the space instance to the parfait module
A better fit, maybe even a pattern for singletons
2016-12-30 14:10:49 +02:00
a00f6be3ba remove the space instance from register machine
bad design, probably from the booting
2016-12-30 14:04:59 +02:00
631038dfbd add another test (still failing) 2016-12-30 13:15:08 +02:00
dd6dede6ef refactor object file somewhat 2016-12-16 16:18:14 +02:00
e10fc3eedd some reek assited coding on assembler 2016-12-16 15:41:26 +02:00
e2c006b5ad minor 2016-12-15 18:08:55 +02:00
17023fdeb1 rename method to typed_method 2016-12-12 23:38:55 +02:00
661911de0a comment unused fluff 2016-12-10 23:45:24 +02:00
cc9b515752 fix double label names 2015-11-14 22:53:01 +02:00
278eccbed5 derive binary code form word
long ago hacked the binary code to use integers (thus forsaking correct
arm binaries)
Finally fix by deriving from Word which now has correct binary access
Dumped binary.name in the process, that is available from the method
2015-11-14 15:04:04 +02:00
a5afca10f6 don't pass machine around, its global 2015-11-12 20:02:44 +02:00
ef6cb2a069 use instruction steam from message
had been attached there last week, but was still used mainly through
the source (which i’m trying to remove)
2015-10-28 14:33:38 +02:00
0921073025 remove last block occurrences
fixed.
2015-10-25 12:03:31 +02:00
20ccf58e7c move and remove unused from stream reader/writer 2015-10-10 12:24:43 +03:00
e669489419 went over the various readmes 2015-10-07 11:32:48 +03:00
e3577d18af fix that silly mistake that made the percentage plummet
mostly due to the fact that object is a hash now,
not array. Took a while though
2015-07-21 19:41:30 +03:00
50da6a40f2 Move the Main instruction from register to virtual
also needs a branch in register.
This way the register level is self sufficient
(noticed while writing debugger)
2015-07-17 13:21:57 +03:00
4c315a8115 fix the autocomplete 2015-07-01 09:47:37 +03:00
3a6d3143c5 change method debug format for gdb autocomplete 2015-06-30 09:37:01 +03:00
add79e5157 use sod names for debug info 2015-06-27 20:08:07 +03:00
9b89f6cb16 move the pass running out of elf
and leave it up to user
later partial running planned
2015-06-11 07:04:55 +02:00
c9ec6e2f39 fix debug 2015-06-09 11:38:03 +02:00
20b28077a1 we have executables again
they are missing their initial jump, but reassemble fi
2015-06-09 11:37:32 +02:00
f8688cbe17 it actually assembles again 2015-06-08 12:19:53 +02:00
03bdc16810 fixed layouts
also moved objects to machine, from space
space has a list of objects, but implicit,
not as an explicit array
2015-05-31 13:02:29 +03:00
9376b8bc16 work on ObjectWriter
Back to the root! but lots of adjusting
ObjectWriter takes machine, machine has space
Virtual constants become Parfait::Objects etc
2015-05-16 12:53:10 +03:00
9d711e7766 moving string to parfait
using parfait::word
also rename builtins string to word
2015-05-13 16:17:10 +03:00
b980def84e move space to parfait
Also make the machine the singleton
and space hang off it

Many repercussions, not all fixed in this commit
2015-05-12 15:36:44 +03:00
30a982be0e better debug fo the booting parts 2014-10-07 15:34:43 +03:00
0e3e11a699 add more debug (string values) 2014-10-02 16:06:05 +03:00
95c7e44342 at least it assembles again 2014-09-17 12:11:34 +03:00
e4474e7e2c rename length to mem_length and suffer the consequences 2014-09-17 12:04:54 +03:00