Cool4Cool
Cool4Cool
177 / 11
27th Dec 2016
23rd Sep 2017
This is a BIOS for the R16K1S60 CPU by lbphacker. This is just an idea, and is probably not the best it could be (e.g. it runs slowly, I'm still a noob). Feel free to improve upon the concept w/ credit. Specification/source: http://pastebin.com/JR5jTHra
computer electronics processor bios goodstuff r16k1s60 iherelikespie rterm 60hz subframe

Comments

  • unknownkarma
    unknownkarma
    30th Dec 2016
    LBP, when you make the new compiler any chance you are going to make it so you can directly store values at an address? Currently you need to load it into the register and then store it.
  • LBPHacker
    LBPHacker
    30th Dec 2016
    Btw the screen is already 60Hz, it can process a message (character, cursor position, colour change, scroll) in every frame.
  • Cool4Cool
    Cool4Cool
    30th Dec 2016
    Yeah, the diverse range of REALLY technical/scientific groups in PowderToy really is impressive. @slasher98, a PowderToy subreddit already exists. @LBPHacker, can't wait for that second CPU and its C compiler. Also, my personal thoughts: hopefully someone will write a BASIC interpreter for the CPU, either in Assembly or C, because that would be really awesome. Maybe a faster terminal to support it, larger ram, and even a screen w/ pixels. If I learn subframe electronics I could also contribute.
  • Weretyu777
    Weretyu777
    30th Dec 2016
    I am always surprised at what people on TPT are capable of. First, LBP designs a computer. Then he gives it a keyboard and screen. Now, someone has made a BIOS for it. And LBP is thinking of designing a C compiler for it? This is why I love this game. I find people of such high mental caliber.
  • slasher98
    slasher98
    30th Dec 2016
    Cool4Cool, we should set up a subreddit on reddit for the powder toy. My username is /u/5secondstozerotime; PM me at some point.
  • LBPHacker
    LBPHacker
    30th Dec 2016
    C can be translated to really simple instructions, believe me. Yeah, using structs might be a bad idea, but they would work, lol. And I've been writing a C compiler in Lua for quite some time anyway, so supporting this (or the next midel, *hint-hint*) is just a matter of adding a new target platform.
  • TheNik
    TheNik
    30th Dec 2016
    LBPHacker: C would be too big and complex, wouldn't it? But, as I plan learning C in the near future anyway, if you feel like it - that would be amazing beyond anything!
  • eli573
    eli573
    30th Dec 2016
    I think it'd be too slow, but I'd like to see an in-ROM version of BASIC for this, if it even has enough RAM to boot it successfully, or even enough main storage. Even if it was only capable of a 25-50 line program, it'd be cool, as more people are familiar with it.
  • eden1115
    eden1115
    30th Dec 2016
    meeeeeee!
  • Cool4Cool
    Cool4Cool
    30th Dec 2016
    Couple things to say: @The8BitPotato, lol, im also resorted to using older tech, for example in this parts save (id: 2031286). It would be really nice of @Schmolendevice if he came out with his subframe tutorials. @slasher98, it IS facsinating how there is this minature universe in TPT, with REALLY technical/scientific "factions", such as bomb/reactor/model makers, artists, and our own electronics community. @LBPHacker, it would be AWESOME if you came out with a C compiler for your CPUs. Fun!!!!