Omnimaga

Calculator Community => Other Calculators => Topic started by: ClrDraw on November 19, 2013, 10:34:25 pm

Title: AlphaCS - ClrDraw
Post by: ClrDraw on November 19, 2013, 10:34:25 pm
AlphaCS - ClrDraw

http://clrdraw.weebly.com (http://clrdraw.weebly.com)


   _|_|    _|            _|                    _|_|_|    _|_|_| 
 _|    _|  _|  _|_|_|    _|_|_|      _|_|_|  _|        _|       
 _|_|_|_|  _|  _|    _|  _|    _|  _|    _|  _|          _|_|   
 _|    _|  _|  _|    _|  _|    _|  _|    _|  _|              _| 
 _|    _|  _|  _|_|_|    _|    _|    _|_|_|    _|_|_|  _|_|_|   
               _|                                               
               _|                                               
 _               ______ _       _____                   
| |             / _____) |     (____ \                 
| | _  _   _   | /     | | ____ _   \ \ ____ ____ _ _ _
| || \| | | |  | |     | |/ ___) |   | / ___) _  | | | |
| |_) ) |_| |  | \_____| | |   | |__/ / |  ( ( | | | | |
|____/ \__  |   \______)_|_|   |_____/|_|   \_||_|\____|
      (____/                                           

AlphaCS v1, by ClrDraw (November 2013)

AlphaCS has a beautiful GUI and is both fast and small compared to similar apps. You can now lock, hide, and archive programs quickly and easily. It is password protected to stop people from tampering with your programs. See the included readme file for more information.

NOTE: zStart IS REQUIRED FOR THE RUN FEATURE TO WORK. Everything else will work either way.

(http://img.ourl.ca/AlphaCS%20%28v1%29.gif)
Title: Re: AlphaCS - ClrDraw
Post by: ClrDraw on November 22, 2013, 10:41:50 am
(bump)
What should I add for the next version?
I'm thinking custom icons for each program because I already have a lot of that code written and I think I'll add a page with general info about the calculator (free ram free rom and battery status). Also I might make password even more secure and encrypt programs like Krolypto (http://www.ticalc.org/archives/files/fileinfo/277/27719.html). And then my ultimate long term goal would be to include folders  :)
Title: Re: AlphaCS - ClrDraw
Post by: Sorunome on November 22, 2013, 11:18:15 am
Do you already have icons for basic progs? (like DCS parses 'em)

Also, running from home screen?
Running from archive?

Just some ideas :D

Also, make hooks being able to chain with zStart once you start using 'em :D
Title: Re: AlphaCS - ClrDraw
Post by: ClrDraw on November 22, 2013, 11:27:41 am
I can definitely make icons! Running from archive already workd  ;D I can't do hooks (I don't think) in Axe. But zStart shouldn't be affected because I'm using ZSTAXE axiom.
Title: Re: AlphaCS - ClrDraw
Post by: Sorunome on November 22, 2013, 11:31:10 am
Oh, right, axe, i totally forgot by its awesomeness XD

Also, for icons of basic programs, this might help you a bit: http://dcs.cemetech.net/index.php/BASIC_Header (note, not all progs use that :P)
Title: Re: AlphaCS - ClrDraw
Post by: ClrDraw on November 22, 2013, 05:06:42 pm
Haha thanks!
I could do that for BASIC programs but I don't think I would be able to read the asm Mirage and Doors program icons... I tried and the documentation confused me too much  *.* So as a solution, the code for the next version will probably let the user embed their own custom icons into any program (with two preceding return statements) and v2 will be able to read them.
Title: Re: AlphaCS - ClrDraw
Post by: JosJuice on November 22, 2013, 05:19:38 pm
Haha thanks!
I could do that for BASIC programs but I don't think I would be able to read the asm Mirage and Doors program icons... I tried and the documentation confused me too much  *.*
The format is actually pretty simple. If the first line is ::DCS, the second line is an 8x8 icon. If the first line is ::DCS6, the second line is a 16x16 icon. If the first line is a colon followed by a string and the second line starts with a colon, the second line contains a 16x16 icon after the colon. All icons are hex encoded and stored in strings.
Title: Re: AlphaCS - ClrDraw
Post by: Sorunome on November 22, 2013, 05:22:37 pm
Haha thanks!
I could do that for BASIC programs but I don't think I would be able to read the asm Mirage and Doors program icons... I tried and the documentation confused me too much  *.*
The format is actually pretty simple. If the first line is ::DCS, the second line is an 8x8 icon. If the first line is ::DCS6, the second line is a 16x16 icon. If the first line is a colon followed by a string and the second line starts with a colon, the second line contains a 16x16 icon after the colon. All icons are hex encoded and stored in strings.
He's talking about the asm ones.

Also, i guess the icon is just stored in hex at the beginning of the file, you just have to hit the correct offset :P
Suggestion: try out some offsets for progs you know the icon of ^^
Title: Re: AlphaCS - ClrDraw
Post by: ClrDraw on November 22, 2013, 06:00:44 pm
Yes, I'm talking about the ASM ones only.
But are you sure? I compiled my tunnel program for mirage and doors (attatched) with an icon but it doesn't look like a hex when I edit it.
Title: Re: AlphaCS - ClrDraw
Post by: Runer112 on November 22, 2013, 06:05:05 pm
/me points to his reply (http://ourl.ca/19799/364893) in your existing program icon topic
Title: Re: AlphaCS - ClrDraw
Post by: ClrDraw on November 22, 2013, 07:23:02 pm
I know, when I got the time to work on that I was confused. Are you saying that the 256 bytes after the return statement are what I need to copy and bitmap? How do I use the bitmap command with external data?
Title: Re: AlphaCS - ClrDraw
Post by: mickio1 on February 10, 2014, 06:09:07 pm
hey dude i really like your stuff and your games and your shell is pretty good but i have a few questions

first up what does locking a game do? i really dont know.
also there seems to be a problem where quite a few games when runned with Alpha CS crashes the calculator resulting in a wiping of ram causing me to have to reinstal Math OS (wich dosent work if MathOS1,2 and 3 are archived)

also for ideas maybe something letting you "lock" a game and making it impossible to be deleted (dunno if possible but could be cool)

also i got an idea for a next game (honestly i dont know if its possible) but a coin dozer-like game could be really awesome!
Title: Re: AlphaCS - ClrDraw
Post by: ClrDraw on February 10, 2014, 06:46:49 pm
Quote
first up what does locking a game do? i really dont know.
Locking a game will make it not show up under the program>edit menu.

Quote
also there seems to be a problem where quite a few games when runned with Alpha CS crashes the calculator resulting in a wiping of ram causing me to have to reinstal Math OS (wich dosent work if MathOS1,2 and 3 are archived)
Hmmm... IDK :/ sounds like a problem with zStart then. It could be that those games require libs, which AlphaCS doesn't support (so that it can be so much smaller). If that's the case then you need to install DoorsCS. Also, what's Math OS? Is it an actual operating system?

Quote
also for ideas maybe something letting you "lock" a game and making it impossible to be deleted (dunno if possible but could be cool)
That would be pretty cool. If it's hidden though (and password protected) then nobody should be able to mess with it unless they know enough about calculators.

Quote
also i got an idea for a next game (honestly i dont know if its possible) but a coin dozer-like game could be really awesome!
A what? Coin tosser like probability simulator?
Title: Re: AlphaCS - ClrDraw
Post by: bb010g on February 19, 2014, 09:13:27 pm
Are there plans for AlphaCS detecting and hooking into libs that are already installed (DoorsCS, Ion, Mirage...)?
Title: Re: AlphaCS - ClrDraw
Post by: ClrDraw on February 19, 2014, 10:43:33 pm
I'm afraid I do not know how to do that. But I thought zStart did, so if you set up zStart, AlphaCS will work.
Title: Re: AlphaCS - ClrDraw
Post by: Aspiring on April 04, 2014, 09:52:52 pm
In the next version maybe you could add support for running basic (if not already done) from the app and also allow editing non-protected programs using the standard tios editor (you might need some help one of the asm kings around here).
Title: Re: AlphaCS - ClrDraw
Post by: ClrDraw on April 04, 2014, 11:24:04 pm
Basic already works. But what do you mean non-protected? Unlocked?


I've been thinking about adding program encryption...
Title: Re: AlphaCS - ClrDraw
Post by: Aspiring on April 05, 2014, 10:44:16 am
How do you launch basic from your app?  I found a routine for running basic but it seems to crash when compiled as an app.  :(
Title: Re: AlphaCS - ClrDraw
Post by: Hayleia on April 05, 2014, 12:34:03 pm
I think he is using zStaxe (so is dependent on zStart but zStart is awesome).
Title: Re: AlphaCS - ClrDraw
Post by: ClrDraw on April 05, 2014, 07:37:30 pm
Yes, I used zstaxe (http://www.omnimaga.org/ti-z80-calculator-projects/zstart-an-app-that-runs-on-ram-clears/msg323735/#msg323735). Sadly zStart has to be on the calculator for the program to work, but that's really not a huge problem since so many people have zStart anyways.


Edit: 400th post :)
Title: Re: AlphaCS - ClrDraw
Post by: Hayleia on April 06, 2014, 02:35:39 am
Well that's true on Omnimaga, but on Cemetech, most people don't know what zStart is. Even Kerm once asked me "zStart can do <I don't remember the feature I was talking about> ? Isn't it just a startup-like app ?". They all use DoorsCS only there.
Title: Re: AlphaCS - ClrDraw
Post by: ClrDraw on April 06, 2014, 11:49:06 am
That's surprising that they don't know about it... Although that makes sense, because Kerm made DoorsCS and Cemetech is his website.
Title: Re: AlphaCS - ClrDraw
Post by: Aspiring on April 07, 2014, 10:40:01 am
Thanks! Just what I needed.  ;D