0x10c Forum|Site Info
of 6

Admiral beta

52 replies
369 posts
+108 stars
I am zero filling the free heap after garbage collector's heap compaction phase. Start address depends on the size of the referenced data and end address depends on the number of object handles. Typically I am zero filling about 20k. Luckily garbage collection will anyway require interrupts disabled, so that I can mess with sp. With 8 word block size the inner loop now takes 11 cycles per 8 words.
Posted Mar 29, 13 · OP
0  stars
369 posts
+108 stars
I must have fixed most of the Admiral's bugs for now, as I don't find new bugs so often anymore. I still have couple of unsolved issues:
  1. float to str routine still can't handle e format -> I have tried to fix this, but I have failed - some day I will try again :)
  2. repr() gets into infinite recursion if objects reference each other -> I must decide what I want to do with this
  3. serialization is bound to floppy only -> I will refactor whole serialization stuff once we get network specs from Notch
  4. I will propably remove block scope (if, for, while), I haven't seen much benefit from it, but it has small performance impact

I will propably end Admiral's feature freeze in April and continue development with some new features. I haven't yet selected the next topics, but quite high in my list are things like inline assembler, SPED-3, integration with one of the DCPU operating systems, exception handling, screen library...
Posted Mar 30, 13 · OP · Last edited Mar 30, 13 by orlof
+1  stars
4671 posts
+1619 stars
SPED-3 e2f01be2af3a18ab6daec489931a143a-d52li7c.png
Posted Mar 30, 13
0  stars
of 6
Login or Register
0x10c.com Feed
There are no entries in this feed
Announcement of