? otya window system ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password

otya window system

Submitted
Updated
Author
otya128
Public Key
Q3HE34KD
Min. Compat.
All
Version
5.0
Rating
18 votes
Description This is a window system for SmileBASIC. "--RUN" is a program loader, run this file.
  1. Stacking window manager
  2. Multitasking
  3. A hierarchical file system
Instructions A function key 1(FILES) toggles key input. "LR" button is disabled while key input is enabled. L,BBUTTON: left click R,ABUTTON: right click TOUCH, STICK : mouse program list
  1. Text editor(TXTED)
  2. Filer(OTYFIL)
  3. Program editor(PRGED)
  4. Music player(MPLAY)
  5. Document editor(OTYDOC)
  6. Run(RUN)
  7. FREEMEM(OTWFREEMEM)
  8. Paint(PAINT)
  9. Eyes(EYES)
  10. Minesweeper(OTYMINE)
  11. Clipboard viewer(CLPBRD)
  12. Benchmark(OTWBENCH)
  13. About(ABOUT)
  14. Window viewer(WINLIST)
  1. Terminal(OTWTERM)
  2. Shell(SH)
  3. cd(shell command)
  4. echo
  5. ls
  6. cat
  7. ptree
  8. find
  9. ps
  10. diff
  11. freemem
  12. mkdir
  13. mount
  14. rm
  15. ren
  16. act
  17. ofsgc
  18. loadmod
  19. lsmod
  20. symlink
Notes OTYAX API document : https://otya128.github.io/OTYAX5/ Japanese, English (by ateesdalejr and PatheticFish) OTW API document : http://otya128.github.io/OTYAX5/jp/OTW/API(Japanese) EXAMPLE VAR OTWEXAMPLECTL 'init COMMON DEF I_OTWEXAMPLE IF!CHKCALL("IsWinRunning")||!IsWinRunning()THEN PrintConsoleln "window system is required." ExitProcess 1 RETURN ENDIF 'WND:window handle 'E:error (0: success) VAR WND,E IF!OTWEXAMPLECTL THEN 'OTWEXAMPLECTL is uninitialized ' control name control handle ExtendControl "OTWEXAPMLE",GetWindowControl() OUT OTWEXAMPLECTL,E IF E THEN E=DeleteControl(OTWEXAMPLECTL) ExitProcess 1 RETURN ENDIF ENDIF NewTopLevelWindow OTWEXAMPLECTL,"OTWEXAMPLE",128,64 OUT WND,E IF E THEN E=DeleteWindow(WND) ExitProcess 1 RETURN ENDIF SetProcessVar WND END 'loop COMMON DEF L_OTWEXAMPLE 'process window events IF UpdateWindow(GetProcessVar())THEN ExitProcess 0 RETURN ENDIF END
Categories
Keywords
27 Comment(s) SmileForTheKiddies SmileForTheKiddies I tried to save a file in a project folder and it crashed with the error: Illegal function call in 4:1648(SAVE). I did use the smiletool thing to save in the folder. SmileForTheKiddies SmileForTheKiddies The program's bugs sometimes have weird errors. Most of the crashes are from program 4, and when I list the error, it says Out of range. CyberYoshi64 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 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 PRG4? You ran the program via the smile tool? PRG4 is the program slot where the smile tool is executed. Since you ran it in PRG4 (using the smile button) it tells it. LIST ERR, LIST 4:1 and others will error out since the user cannot access PRG4 on his own. Ertas Ertas Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself Program 4 doesnt exist, also explain the bugs ToadIsTheBest ToadIsTheBest Avatar Taboo I didn't change my avatar for 180 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 CyberYoshi64 literally just said what PRG4 was (SmileTool button) and explained the bugs. CyberYoshi64 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 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 @Ertas PRG4 exists (hence errors coming from 4:Line) but it's inaccessible for the user unless he/she presses the smile button which loads the Smile tool which runs in this extra slot 4. PRG4 serves a purpose to keep all your programs in slots 0-3 intact. If the slot wouldn't exist, the smile tool would overwrite the slots for the desired tools programmed in it. OTYA's system is very clever & did it like SmileBoom but betterIt crushes all needed sub-programs and tools into one huge program to load it in PRG4. and keeps these intact so you can use the tool, close the tool and continue running the programs in the slots afterwards. Ertas Ertas Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself awesome! its like a sequel to alpha os, also i didnt know people still used this website XD Simeon Simeon Scholar Received for knowing a great deal about programming topics Achievements Amazing Page Hidden Achievements Drawing I like to draw! Hobbies This is amazing 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website Here's my chip 8 interpreter https://smilebasicsource.com/page?pid=1131 SwanBot SwanBot Halloween 2017 Contest Runner Up I placed 2nd in the SmileBASIC Source Halloween 2017 Contest! Programming Contest Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength First Year My account is over 1 year old Website i have a super old version of this from like the first time it was released so im excited to see what has been added spaceturtles 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 What was it called? 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website Working on a chip-8 interpreter: //www.youtube.com/watch?v=37T3TQUqvk0 (I don't have input support yet so now it's just simulating random button presses) 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website //www.youtube.com/watch?v=rD6Uhd6Iy_w https://paste.ee/r/WaqCP (Almost done) bluekrill bluekrill Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Video Games I like to play video games! Hobbies Is anyone here able to translate the API document? Y_ack Y_ack Head Admin https://github.com/ateesdalejr/OTYAX5/tree/master/docs/en ninjagnu ninjagnu otya merged our pull request into the official docs page so you should probably read from there. 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website To have the ability to load files from other projects (which is only allowed for programs running as the smile tool), make sure you assign the "SMILETOOL" to the smile button, and then you can press A to launch the default smile tool and B to launch the OS. ColeslawProductions ColeslawProductions YES! I have waited for this to exist for 3 years! You have the windows! You have the multitasking! You have the hierarchical file system! You have the Windows 9X style! I thought I would have to be the one to make this, and I thought I would, but I lacked the skill, patience and drive for this type of project on my own. Thank you so much for making this! You made my weekend! CyberYoshi64 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 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 Minesweeper's back!? Awesome. Playing games like in the early 90's. Very good. But the crashes and bugs make it a bit frustrating. Nice "eyes.exe" XD. Minxrod Minxrod Summer 2016 Contest Participant I participated in the SmileBASIC Source Summer 2016 Contest! Programming Contest Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Pokemon Is Awesome! I love Pokemon! Express Yourself Decent 'OS' style program is created by Japanese user? How unsurprising. Looks like a great program, I need to try it as soon as I can. :D bluekrill bluekrill Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Video Games I like to play video games! Hobbies There are a few stability issues, but other than that, this is absolutely incredible. Guzzler Guzzler First Week Joined in the very first week of SmileBASIC Source Website Drawing I like to draw! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength This is brilliant. I love the Windows 98 feeling it has. Y_ack Y_ack Head Admin hoping for a guide to making programs otyax-compliant soon bluekrill bluekrill Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Video Games I like to play video games! Hobbies This is very cool! I feel inspired to make something similar. :) ninjagnu ninjagnu I'm so happy they decided to include the de-facto X11 tech demo "eyes". :P spaceturtles 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 "file system" bit is pretty cool. The cursor speed could use a little work and translation could smooth things out a bit, not very important. MZ952 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Reading I like to read books! Hobbies hole-ee-crap