LoginLogin

Alpha

Root / Submissions / [.]

HTV04Created:
Version:v1Size:~6 KB
Alpha is an open-source terminal for SmileBASIC. It allows you to enter commands and perform functions within the program. It currently doesn't have that many commands, but it still has useful ones.

Instructions:

To run Alpha, open the Alpha project after downloading it via the key and run the ALPHA program.

Notes:

ChangelogChangelog:
  • v1
    • Initial Release
FAQFAQ: Q: Why didn't you put this under the "Mock OS" genre? A: I don't really see this as trying to be a mockup of an OS for SmileBASIC (though I did base Alpha around MS-DOS). It's meant to be a terminal for performing functions by entering commands. Q: Why did you create this? A: I first thought of Alpha when thinking about the upcoming Pasocom Mini. Since it's based on a classic computer, I thought of it having a classic terminal as well. And then I decided to make that a reality by attempting to create a terminal with the ability to perform functions easily using SmileBASIC. Soon after, I heard about Alpha OS X (made by SilverBlue on Miiverse), which was a GUI for SmileBASIC. I really liked it, and I even helped translate it. I asked if I could collaborate with SilverBlue in making Alpha OS X, but he said that the process would be too difficult, especially for making a SmileBASIC program. I at least wanted to help with something, however, and then I found the perfect idea. Since the terminal was kind of hard to use considering that not much focus was put into it (the focus was more to the GUI and the rest of Alpha OS X), I wanted to help by creating a new, easier to use terminal. I then named my terminal Alpha, and adapted it so it would be easier to put into other programs. It isn't in Alpha OS X at the moment, but I'm currently trying to convert it! Q: Can't I just use the GUI/enter a SmileBASIC command to do what Alpha can do? A: Alpha doesn't just replicate commands or functions of SmileBASIC. It has other commands that perfom multiple functions. Alpha even has a speed test command! Just enter "speedtest" in Alpha. Q: Will there more commands/updates coming up? A: Of course! My main focus is Alpha currently, so you can expect to get multiple updates coming up soon! Q: What do you hope for Alpha in the future? A: I hope Alpha becomes a fill-in terminal similar to MS-DOS and other terminals, not just a command input. Hopefully that will be the case one day!

Suggestion, making an TOUPPERCASE$ function is not that hard, this may help with your whole "commands must be lowercase" issue. Lowerdash library has such a function that may be worth looking at.

Replying to:NateDogg1232
Suggestion, making an TOUPPERCASE$ function is not that hard, this may help with your whole "commands must be lowercase" issue. Lowerdash library has such a function that may be worth looking at.
I'll look into it!

ACALC crashes when I accidentally executed a division by zero...

Replying to:CyberYoshi64
ACALC crashes when I accidentally executed a division by zero...
Oops, guess I have to make a safeguard for that.

Replying to:CyberYoshi64
ACALC crashes when I accidentally executed a division by zero...
Here's my edit:
IF OPERATION$=="/" AND NUMBERTWO!=0 THEN ANSWER=NUMBERONE/NUMBERTWO
IF NUMBERTWO==0 THEN ?"You can't divide by zero":GOTO @ANSWER

Replying to:CyberYoshi64
ACALC crashes when I accidentally executed a division by zero...
Thanks! Is it okay if I use this as a patch?

Replying to:CyberYoshi64
ACALC crashes when I accidentally executed a division by zero...
Sure, maybe I'll help you with various glitches (if I find moreโ€ฆ) XD

Replying to:CyberYoshi64
ACALC crashes when I accidentally executed a division by zero...
BTW I found more: >exec What program/text file would you like to execute? EXTRACOMMANDS Undefined variable in 0:2 === Press ENTER to exit === or >exec What program/text file would you like to execute? ECBACKUP Undefined variable in 0:10 === Press ENTER to exit === These errors occur because of these facts: โ€ข If you type in "ACALC", it executes ACALC in PRG slot 2. โ€ข If you don't type "ACALC", the program will execute in PRG slot 0. EXTRACOMMANDS and ECBACKUP crash because they read a variable "0:I$" that doesn't exist because these programs are been executed in PRG slot 0, causing "0:I$" to be erased. My hint: โ€ข You should do an if statement to check if "0:I$" is "ECBACKUP" or "EXTRACOMMANDS". If the check is successful, then it should display a custom error. Next: IDK if you think it's okay when this happens: >quit Quit Alpha? (y/n)? n > Quit Alpha? (y/n)? When you type a command such as "quit", press Enter and go back to @MAIN, pressing Enter without typing something else causes to execute "quit" again... The same thing counts for every variable you can enter via INPUT. (Well, holding A/Enter and typing nothing else will repeat the process, like I always typed the same thing the whole time...)

Replying to:CyberYoshi64
ACALC crashes when I accidentally executed a division by zero...
Geez, there seem to be a lot of bugs in Alpha. Are there any more I don't know about ๐Ÿ˜‚? I'll try to fix these bugs as soon as I can. Thanks for the feedback!