? Dedicated Machine to run SmileBASIC? (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Dedicated Machine to run SmileBASIC?

  • #1 ✎ 210 Shelly It might sound like a stretch, but it has actually been done in the past (Wang 2200). How would it work?: We would microcode a CPU so that it would take the BASIC instructions, and execute them. We could also run it at a higher level (such as assembly), but that would result in slower execution times. Is it feasible?: Maybe. The computer would definitely run at a lower clock speed than the 3ds, but it would also use the clock cycles FAR more efficiently. Its hard to tell. Posted Edited by Shelly
  • #2 ✎ 341 ToadIsTheBest Avatar Embargo I didn't change my avatar for 90 days Website Video Games I like to play video games! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength
    It might sound like a stretch, but it has actually been done in the past (Wang 2200). How would it work?: We would microcode a CPU so that it would take the BASIC instructions, and execute them. We could also run it at a higher level (such as assembly), but that would result in slower execution times. Is it feasible?: Maybe. The computer would definitely run at a lower clock speed than the 3ds, but it would also use the clock cycles FAR more efficiently. Its hard to tell.
    hasn't this already happened? oh wait that was just a raspberry pi with SB, a screen, an emulator for some obscure console and a keyboard, so it wasn't technically built for SB, but it's included with it.
    Posted Edited by ToadIsTheBest
  • #3 ✎ 220 spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength The Pasocom Mini exists. Posted Edited by spaceturtles
  • #4 ✎ 49 CyberYoshi64 Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself
    The Pasocom Mini exists.
    There's even an extra thread on the Pasocom Mini.
    Posted
  • #5 ✎ 341 ToadIsTheBest Avatar Embargo I didn't change my avatar for 90 days Website Video Games I like to play video games! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength
    The Pasocom Mini exists.
    uh i already mentioned that, turtles... 2 days before you posted your post actually LOL
    Posted
  • #6 ✎ 220 spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength You didn't say "Pasocom Mini" :p Posted
  • #7 ✎ 341 ToadIsTheBest Avatar Embargo I didn't change my avatar for 90 days Website Video Games I like to play video games! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength
    You didn't say "Pasocom Mini" :p
    i was talking about it
    Posted
  • #8 ✎ 136 Warrior Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Night Person I like the quiet night and sleep late. Express Yourself Drawing I like to draw! Hobbies
    You didn't say "Pasocom Mini" :p
    i was talking about it
    You could have talked about something else.
    Posted
  • #9 ✎ 222 Lacks
    You didn't say "Pasocom Mini" :p
    i was talking about it
    You could have talked about something else.
    Let's get back on topic boys. Semantics are boring.
    Posted
  • #10 ✎ 59 ninjagnu It'll be like the LISP machines of yore but, more fun to program. Posted
  • #11 ✎ 210 Shelly
    It might sound like a stretch, but it has actually been done in the past (Wang 2200). How would it work?: We would microcode a CPU so that it would take the BASIC instructions, and execute them. We could also run it at a higher level (such as assembly), but that would result in slower execution times. Is it feasible?: Maybe. The computer would definitely run at a lower clock speed than the 3ds, but it would also use the clock cycles FAR more efficiently. Its hard to tell.
    Another possibility is something like a FPGA being ran as a coprocessor (the most likely way this could be done is with something like an esp8266, a FPGA, and branching off of Coinz's work).
    Posted
  • #12 ✎ 171 CoinzReturns
    It might sound like a stretch, but it has actually been done in the past (Wang 2200). How would it work?: We would microcode a CPU so that it would take the BASIC instructions, and execute them. We could also run it at a higher level (such as assembly), but that would result in slower execution times. Is it feasible?: Maybe. The computer would definitely run at a lower clock speed than the 3ds, but it would also use the clock cycles FAR more efficiently. Its hard to tell.
    Another possibility is something like a FPGA being ran as a coprocessor (the most likely way this could be done is with something like an esp8266, a FPGA, and branching off of Coinz's work).
    With TCP SmileNet, you could easily set up a SmileBasic program that sends opcodes over the network to another machine, to have it co-process that, and then have a wait-on loop in the main loop of the SmileBasic program for the recieved transmission of opcode completed running but, this isn't practical for JUST in time complications or compilations because of the fact that it would always take more time for packets to transfer to another machine, be processed, and then be returned. That's just due to SmileBasic and SmileNet requiring MORE loop cycles to complete packet transmissions than is needed for SmileBasic to run the calculation on it's own (unless the calculation is so specialized the gains from network transmission co-processing would be greater than the time-wait loss.) That's just my two cents. Alternatively, you coudl set up a dummy server within SmileNet that runs a SmileBasic program who's only job is to parse and run transmitted code results from another machine. A good example of this, is an nes Emulator running on the PC side, transmitting pixel frame data to the 3ds, and recieving 3ds-side input data and sending it to the Nes-Emulator on PC. This is something that would benefit from co-processing, even if the lag would be pretty reasonable, it wouldn't be impossibly unreasonable you'd probably get up to 30 plus frames considering that SmileNet can transmit alot of packets in a little time.
    Posted