R16K1S60

  • Portagoras
    July 2016 Member 1 Permalink

    Hey LBPHacker,

     

    I just did a little bit of programming on your processor and it's amazing. I learned assemler just for that.

    But as I'm bad at building things, is there a way you can make an input device with a STKM to get the keys up, down, left and right. Would be awesome to make a little game like snake or similar stuff on this awesome thing!

     

    EDIT: Did the Fibonacci right now.

    Edited once by Portagoras. Last: July 2016
  • LBPHacker
    July 2016 Member 0 Permalink

    Well, you'd first have to enable Gravity simulation (which I turned off for some reason I can't recall). If you have a more decent STKM cage, I guess you can turn its inputs into a single FILT port that sends direction codes whenever you press a key ... it'd be interesting. Send me a reliable STKM cage and I do it.

     

    Oops, forgot this part. I'm truly happy to hear that someone learned assembly just so they can write programs for my computer. I have this evil plan of bringing back the "assembly awareness" from the old days (older than me, ehheh). The way I see it, most people find C and never go further down into the rabbit hole. But believe me, it's pretty fun down there, with the eternal darkness and the ghosts and all that stuff.

    Edited 2 times by LBPHacker. Last: July 2016
  • Portagoras
    July 2016 Member 0 Permalink

    Offtopic:

     

    Well I'm more the guy to write my stuff in Java, cause it's easy and done pretty fast and I like the amount of librarys I get with most of the IDEs.

    For small scripting I use AutoIt and at my university I have to use C/C++, but assembly is pretty fun!

     

    For that STKM cage, I'm trying to work out a design or at least find some sort of reference to get something done :)

     

    Edit: Published the Fibonacci one, I'm more proud of it then I should be.

     

    Edit: Made it 32bit with hexcode on the display. It finished the whole calculation in seconds, when I turn off the display. Well next challenge is 64bit, 128bit and variable bit size.

    Edited 6 times by Portagoras. Last: July 2016
  • nava27727
    November 2016 Member 0 Permalink

    well nice

  • QuanTech
    November 2016 Member 0 Permalink

    @nava27727 oh be careful next time :D The last comment was posted in July. Unless your post is useful, you shouldn't be replying on a thread where the last comment was over a month ago (necroing, as fellow internet people call it.)

  • QuanTech
    December 2016 Member 1 Permalink

    Important bump. I am getting an error in rasm.lua: rasm.lua:83 bad argument #1 to 'open' (string expected, got nil). I have not made any modifications to it.

    Edited 2 times by QuanTech. Last: December 2016
  • LBPHacker
    December 2016 Member 0 Permalink

    That's not nearly enough information. Are you using it from the console? If so, what arguments do you pass? Or are you using it through RasmUI? How do I replicate it?

    Edited once by LBPHacker. Last: December 2016
  • QuanTech
    December 2016 Member 1 Permalink

    Oh sorry. I typed dofile("rasm.lua") in the console.

  • LBPHacker
    December 2016 Member 0 Permalink
  • QuanTech
    December 2016 Member 1 Permalink

    Ah ok. I don't actually use rasm.lua but I just wanted to make sure others who use it wouldn't have problems. Thank you.