SopaXorzTaker
SopaXorzTaker
115 / 2
8th Jul 2016
9th Jul 2016
This is a very slow, but interesting prime number finding program running on LBPHacker's R16K1S60 CPU.
realworld wait1minute electronics wait2hours 60hz subframe advanced program computer r16k1s60

Comments

  • SopaXorzTaker
    SopaXorzTaker
    8th Jul 2016
    https://gist.github.com/SopaXorzTaker/7fdcc7acca40460474cdb0ce54e5ce03 - here it is
  • SopaXorzTaker
    SopaXorzTaker
    8th Jul 2016
    Ah, seems like it didn't scroll either, lol. Maybe I did something wrong. Anyway.
  • LBPHacker
    LBPHacker
    8th Jul 2016
    In any case, 0x3000 works for me, that is, it does what it's supposed to do.
  • LBPHacker
    LBPHacker
    8th Jul 2016
    It's not a newline sequence. You have to do cursor bookkeeping for that. When I say "scroll", I mean scroll. 0x3000 scrolls the whole screen down by a single line.
  • SopaXorzTaker
    SopaXorzTaker
    8th Jul 2016
    @LBPHacker, BTW, I wrote a small library in R16K assembly to help with stuff like I/O and misc. BTW, your new line sequence 0x3000 doesn't work with the terminal. No idea why :P
  • LBPHacker
    LBPHacker
    8th Jul 2016
    Please do.
  • SopaXorzTaker
    SopaXorzTaker
    8th Jul 2016
    LBPHacker, I can publish th source I used to assembe this thing.
  • tptquantum
    tptquantum
    8th Jul 2016
    Why not make some fibonnaci numbers? +1
  • LBPHacker
    LBPHacker
    8th Jul 2016
    Holy crap, decimals! +1 This is seriously awesome.