? ZOS ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password

ZOS

Submitted
Updated
Author
Mariominer
Public Key
R25VX3CJ
Min. Compat.
All
Version
1.1
Rating
13 votes
Description

Say 'hello' to ZOS!

Are you tired of finding Mock OS's that are really just multitools? Do you want an OS that utilizes state-of-the-art programming to run multiple programs smoothly? Do you want an OS that YOU could possibly write code for - (comparatively) easily? Well than ZOS is for you! It comes from my best PTC project that never really lived up to it's potential because of the technological limitations, most of which are no more! ZOS can compile simple BASIC programs and confine them to a window, using a system that allows the OS to be the priority, but can still run programs as fast as is allowed! One of the limitations I stated in the forum post - that all programs were limited to 60 fps max speed - is no longer a problem, thanks to some new code! Though you may not be in to mock OS's, ZOS shows what is possible, and is pretty fun to play around with. Though it does have a couple of glitches...
Instructions Most instructions can be seen by loading the MANUAL into a program slot and reading it. To change a screensaver, just delete GRP:SSAVER and then copy your Screensaver into the file with the name GRP:SSAVER. Notes I was kind of lazy and then rushed it, so if there are more bugs please tell me. Version 1.1 was just a bug fix that should fix the most experienced bug. It's also the only one that I've been able to replicate. Hopefully this helps for those who haven't been able to use ZOS for a while KNOWN BUGS: 1. When closing a window, it closes the first one opened, though erases the one that you closed 2. It may randomly start playing music, but for what reason I have no clue 3. If you bring a window too high on the screen, it will be pushed into the top, and this will be copied down when you move it back
Categories
Keywords
  • OS
  • ZBASIC
  • Cursor
  • Mouse
  • Username
  • Password
45 Comment(s) 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 Is this still being worked on? Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Meh I'm kind of slacking on everything right now haha So not really, but I'd like to. chicken chicken A way you could make this optimized for the O3DS is by making the windows fullscreen only. Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength That could actually work. It would take a complete redesign of the operating system on o3DS though. Plus it could only run one thing at a time, which still technically fulfills the goals that I set for this technology (being able to report back to the operating system while running a program), but it still is a bit more work. I'll try when I finish my current project. chicken chicken Actually, you could have an os that has a taskbar... on the bottom screen! So windows that are open but aren't on the front layer aren't rendered at all, just the one on top. Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength That could work, but if it runs them all at the same time, it's still going to be lagging on o3DS. Now you could have them all open at the same time, but it wouldn't run at the same time. chicken chicken at least it wouldn't be flickering. real os' lag when there are too many windows open. Ptcguy Ptcguy First Week Joined in the very first week of SmileBASIC Source Website Minecraft Is Awesome! I love Minecraft! Express Yourself Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength On o3ds, everytime I log in: Subscript out of range in 0:200 and some illegible text that is on the desktop. EDIT: If I change line 199 from FOR I=0 TO LEN(DDAT$)-1 to FOR I=0 TO LEN(DDAT$)-2 it works but everything flashes and is mostly unusable. A2D_apps A2D_apps Minecraft Is Awesome! I love Minecraft! Express Yourself Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself Pokemon Is Awesome! I love Pokemon! Express Yourself i get the same results. (n3ds and o3ds,) {i can switch to o3ds clockrate using homebrew} EDIT:it only flashes with o3ds. n3ds i get no problem after i edit that line ptcguy mentioned Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength I swore I fixed this. Did you download the update? A2D_apps A2D_apps Minecraft Is Awesome! I love Minecraft! Express Yourself Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself Pokemon Is Awesome! I love Pokemon! Express Yourself how about i just do that Ptcguy Ptcguy First Week Joined in the very first week of SmileBASIC Source Website Minecraft Is Awesome! I love Minecraft! Express Yourself Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Mariominer: I'm on the latest update. I just redownloaded to confirm. Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength That's odd. I made that update that specifically fixed just that. I'm not experiencing any of the issues that are being reported though, so I'm not sure why. AnswerXOX AnswerXOX Great Page Hidden Achievements osu! Is Awesome! I love osu! Express Yourself Third Year My account is over 3 years old Website i'm trying to make my own version of a multitasking os, but i get stack overflow galore :D A2D_apps A2D_apps Minecraft Is Awesome! I love Minecraft! Express Yourself Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself Pokemon Is Awesome! I love Pokemon! Express Yourself bug: on the old 3ds if you open a window and click the check or the X it will continuously flash. works great on n3ds though Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Yeah, unfortunately, it's not very optimized for the old 3ds. There's probably some more optimization that can fix things like this, but I'm not sure it will ever be fully optimized for the old 3ds. A2D_apps A2D_apps Minecraft Is Awesome! I love Minecraft! Express Yourself Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself Pokemon Is Awesome! I love Pokemon! Express Yourself Ok now it doesnt work at all. I downloaded it twice and ran zos but it crashes EVERY time now Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength That's very odd. Can you find the details of the error? A lot of people have been reporting crashes, but I haven't been able to actually replicate any of them. This is a very late response, but it still counts :P A2D_apps A2D_apps Minecraft Is Awesome! I love Minecraft! Express Yourself Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself Pokemon Is Awesome! I love Pokemon! Express Yourself I open it and it crashes. AnswerXOX AnswerXOX Great Page Hidden Achievements osu! Is Awesome! I love osu! Express Yourself Third Year My account is over 3 years old Website probably just an error w/ the passwrd, does it send you to the homescreen or ends the program? A2D_apps A2D_apps Minecraft Is Awesome! I love Minecraft! Express Yourself Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself Pokemon Is Awesome! I love Pokemon! Express Yourself I run it and it closes the program instantly 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 Really cool! I have a suggestion: In Zsketch, use GLINE instead of GPSET(or whatever you are doing to get little dots). So your code would look something like this: WHILE TRUE CLS OLDX=X OLDY=Y GLINE OLDX,OLDY,X,Y VSYNC 1 WEND Flashlight Flashlight Don't forget about extra code to not connect everything 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 Oh yeah. I made an example that uses the touch screen: ACLS XSCREEN 2 DISPLAY 1 VISIBLE 1,1,1,1 WHILE TRUE IF BUTTON(2) AND #X THEN GCLS OLDX=TX OLDY=TY TOUCH OUT TT,TX,TY IF TT<1 THEN GLINE TX,TY,TX,TY IF TT>1 THEN GLINE OLDX,OLDY,TX,TY VSYNC 1 WEND CodeTrooper CodeTrooper I don't think using WHILE is a good idea. It's hard to find the loop when editing the program. I think @Lable is much more visible. 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 CodeTrooper, it was just an example. chicken chicken When no one notices your previous comment: You need to connect the previous frame's touch x and touch y to the current touch x and touch y with gline. (in zsketch) Flashlight Flashlight Hey, I use a New Nintendo 3DS. The system doesn't really work and it crashes often. Mostly when loading programs. This program is very buggy. Any help? CodeTrooper CodeTrooper "ZOS" is the program I want to run, right? Also how in the world do I log in? Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength There are some instructions in the manual, but I'll explain more. Due to some reports on bugs when making new profiles, just use mine (Username: Zee Password: ZOS). If you want to make a new one and potentially break the whole system (I haven't personally ran into these problems, but they still probably exist), you click the +, enter your username and password, then click the right-sided plus. CodeTrooper CodeTrooper Oh, ok. Sorry, I did not see there was a manual. chicken chicken You need to connect the previous frame's touch x and touch y to the current touch x and touch y with gline. (in zsketch) MasterR3C0RD MasterR3C0RD Amazing Contributor Someone thinks I'm an awesome person who has done so much for the community! Achievements Third Year My account is over 3 years old Website osu! Is Awesome! I love osu! Express Yourself How exactly did you implement multitasking? Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Here's how it works, this is the main reason I made the entire thing: So first, it starts out with 2 programs, lets say that both of them areWHILE TRUE GPSET RND(400),RND(240),RGB(25,50,0) WEND Then it breaks the programs into multiple different labels@CODE_1 'MARKER RETURN @CODE_2 GPSET RND(400),RND(240),RGB(25,50,0) RETURN @CODE_3 GO_L 1 'This command makes the reader go back to @CODE_1 RETURNThis is then saved as a file. When the reader then goes to run the programs, it checks if it is loaded by checking if it's labels exist. If not, it loads the program into the slot (by putting it's text into the file so it doesn't have to load it again). Then it will run the code in however many labels is denoted by the ARAM array. This will look something like:FOR I=0 TO WINDOWS-1 FOR J=0 TO ARAM[I]-1 INC WINDOWC[I] 'FINDS NEXT LABEL GOSUB "1:@"+WINDOWCN$[I]+"_CODE_"+STR$(WINDOWC[I]) NEXT NEXTSo it uses WINDOWCN$ (the name of the code label) and WINDOWC (the array telling the OS what label to run in the program) to find the label to run for each program currently being run. Did I explain it well, or do you have questions still? MasterR3C0RD MasterR3C0RD Amazing Contributor Someone thinks I'm an awesome person who has done so much for the community! Achievements Third Year My account is over 3 years old Website osu! Is Awesome! I love osu! Express Yourself What would happen if a program used PRINT? Wouldn't it glitch outside the window? EDIT: Wouldn't it be the same situation for your other example too? Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength My compiler that splits it into separate labels is more complex than what I showed. What happens is that it sees GPSET and turns it into DRAW_WINDOW, a different command that uses the data available for the window to draw only in that window in the proportions of that window. However, PRINT does not currently work, but GPUTCHR does (though you need to use every argument or it won't go too well). It does this for multiple drawing commands. AnswerXOX AnswerXOX Great Page Hidden Achievements osu! Is Awesome! I love osu! Express Yourself Third Year My account is over 3 years old Website Dat cursor bro :O Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength I took way longer on perfecting the cursor than I should have lol. I used multiple different examples, examined them, and created the perfect result. What you see, sir, is PERFECTION >:-D (lol) AnswerXOX AnswerXOX Great Page Hidden Achievements osu! Is Awesome! I love osu! Express Yourself Third Year My account is over 3 years old Website I meant teh art, c'est magnifique Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength I was talking about the art too. It's UTTER PERFECTION (as both the controls and the art are now PERFECTION) lol TheFallingCheez TheFallingCheez Every time you log in or make an account it gives you a illegal funtion call in 0:163 AnswerXOX AnswerXOX Great Page Hidden Achievements osu! Is Awesome! I love osu! Express Yourself Third Year My account is over 3 years old Website Another bug btw, after you make an account and you start it up again, it gives off a syntax error when trying to boot ZOS Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Oh, I think I may know the cause of this. If you go into the USERS file and delete the last line, it should work. This is a temporary solution, and hopefully will be fixed soon. If this doesn't work, then I have no idea what's happening, and will try to find out. Thanks for the report though :) Mariominer Mariominer First Day Joined on the very first day of SmileBASIC Source Website Promoted Page My page was promoted on SmileBASIC Source! Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Warning: I just was told that this does not run too smoothly on the o3DS. I think it still runs, but I have not an o3DS to confirm any of this. But hey, this is now reason enough to buy a n3DS, right? Haha atm959 atm959 Avatar Taboo I didn't change my avatar for 180 days Website Third Year My account is over 3 years old Website Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself This is very neat!