CodeWalrus

Development => Calculators => Calc Projects, Programming & Tutorials => Topic started by: Alvajoy123 on March 28, 2017, 01:24:32 am

Title: Linux
Post by: Alvajoy123 on March 28, 2017, 01:24:32 am
is this a good loading page

Ti-84+CE

Using CEmu For program one problem how do you insert images on CEmu  ??? ??? ???
Will be needing Linux Commands  :crazy:
if any post Reply and tell me what it does :thumbsup:


Edit by p2: merged doublepost
Title: Re: Linux
Post by: MateoConLechuga on March 28, 2017, 01:35:33 am
Using CEmu For program one problem how do you insert images on CEmu  ??? ??? ???
Step 1) Click file
Step 2) Drag file
Step 3) Drop file

The file needs to be in some kind of TI usable format.
Title: Re: Linux
Post by: Alvajoy123 on March 28, 2017, 01:41:47 am
found a desktop i can use.
What do you think about it
Title: Re: Linux
Post by: DJ Omnimaga on March 28, 2017, 01:42:13 am
is this a good loading page
Could you explain for what purpose you need this loading page? Also don't double-post (unless it's a major project update)
Title: Re: Linux
Post by: Alvajoy123 on March 28, 2017, 01:47:55 am
Loading page is basically the graph screen and it has the background i showed  you and you have to wait and it will come up with setup menu and that where the problem is i don't know how input on the graph screen may someone please help  :w00t: :w00t: :crazy: :crazy: :crazy:
Title: Re: Linux
Post by: DJ Omnimaga on March 28, 2017, 01:53:55 am
Using the BackgroundOn command followed with a number from 1 to 5 will display an image, while a number from 10 to 24 will display a plain color.
Title: Re: Linux
Post by: Alvajoy123 on March 28, 2017, 04:18:29 am
Um I can not use the images I showed you I need a program that draw images

Here is how it look right now
Title: Re: Linux
Post by: p2 on March 28, 2017, 07:54:53 am
are you trying to..... write your own linux-based operating system for the CE hardware? :ninja:
Title: Re: Linux
Post by: Alvajoy123 on March 28, 2017, 11:27:04 am
 :thumbsup:
are you trying to..... write your own linux-based operating system for the CE hardware? :ninja:

Yes maybe for ice version

Here on how the desktop look like
Title: Re: Linux
Post by: kotu on March 30, 2017, 12:12:24 pm
:thumbsup:
are you trying to..... write your own linux-based operating system for the CE hardware? :ninja:

Yes maybe for ice version

Here on how the desktop look like
you are an evil zombie and this does not count as a valid linux screenshot
Title: Re: Linux
Post by: p2 on March 30, 2017, 02:22:23 pm
kotu calm down xD

But still,
it's VERY bad style to do graphics work before you have anything of the code done, especially as a beginner.
How far have you already learned about the language ur gonna use and how much of the mechanisms behind a basic Operating System do you understand yet?
It's really discouraging if u put so much effort in graphics work but then dont know how to do the code work right, having to abandon the project.
Title: Re: Linux
Post by: DJ Omnimaga on March 30, 2017, 04:58:10 pm
This looks like Windows XP except during the rare occasions where XP actually works properly :P
Title: Re: Linux
Post by: p4nix on March 30, 2017, 08:09:55 pm
@Alvajoy123 What do you want to achieve actually? Is it just like some fake-linux or should this become something useful? If it's the first one, you are good to go with basic, but otherwise you need to learn C and ASM.
Title: Re: Linux
Post by: Alvajoy123 on March 30, 2017, 09:33:32 pm
i change the desktop  :thumbsup:
i want it to get in to the system and  that will take a long tine   :w00t:
it will be able to make files and run prgms
Title: Re: Linux
Post by: DJ Omnimaga on March 31, 2017, 01:59:31 am
On a side note, do you have access to TI-Connect CE? It can take direct screenshots from your calculator. Just add a Pause command in the program exactly where you want to take the screenshot then use TI-Connect CE while the calc is connected to take it.
Title: Re: Linux
Post by: Alvajoy123 on April 02, 2017, 11:33:50 pm
This is a look at linux
Title: Re: Linux
Post by: gameblabla on April 02, 2017, 11:51:15 pm
This is a look at linux
I'm sending this to Linus Torvalds
Title: Re: Linux
Post by: DJ Omnimaga on April 03, 2017, 02:31:33 am
I'm sure he would approve an actual ASM/C calculator Linux port that has 100% of the functionalities of Linux, though :P, but this is better to start small.

On a side note this looks not bad. If you don't mind using pre-made ASM libraries, you could try CE Textlib. It features the ability to change the text foreground and background colors, so you would be able to get rid of the white background behind Linux and Menu,.
Title: Re: Linux
Post by: Alvajoy123 on April 03, 2017, 03:14:28 am
I'm sure he would approve an actual ASM/C calculator Linux port that has 100% of the functionalities of Linux, though :P, but this is better to start small.

On a side note this looks not bad. If you don't mind using pre-made ASM libraries, you could try CE Textlib. It features the ability to change the text foreground and background colors, so you would be able to get rid of the white background behind Linux and Menu,.

Ok will try that out and you have anything‚Äč that can help me make it full screen (full screen is much better !! ):thumbsup:

And please share this around  :w00t:
Title: Re: Linux
Post by: _iPhoenix_ on April 03, 2017, 11:18:13 am
I'm working on a TI-Basic file system, you can use my code if and when I finish it.

[edit] To run in create programs, you will need ASM snippets.
Title: Re: Linux
Post by: Alvajoy123 on April 03, 2017, 01:17:08 pm
I'm working on a TI-Basic file system, you can use my code if and when I finish it.

[edit] To run in create programs, you will need ASM snippets.
Ok I will try when you're done :thumbsup:

What is ASM snippet ???
Title: Re: Linux
Post by: p2 on April 03, 2017, 01:19:41 pm
a snipped is a little piece of code (in a different language) that u can include in ur program.

for example
you do a game in BASIC, which is slow, but enough for your game.
but inverting colors on the whole screen is way too slow?
so you include a tiny piece of ASM that does that for you much faster.
Title: Re: Linux
Post by: Streetwalrus on April 03, 2017, 03:21:16 pm
I'm sure he would approve an actual ASM/C calculator Linux port that has 100% of the functionalities of Linux, though :P, but this is better to start small.
This is definitely not possible. The calculator lacks an MMU which is the most basic requirement for Linux. uCLinux can work without one, but even then, the amount of available memory is probably way too small to do anything useful, and you'll still need GCC which is the only toolchain that can compile Linux properly.

With this out of the way, note that the Linux name and logo are registered trademarks (https://www.kernel.org/category/about.html) so you can't use them for something that is definitely not Linux itself or a fork.
Title: Re: Linux
Post by: DJ Omnimaga on April 05, 2017, 05:46:13 am
@Streetwalrus is that why you changed your Linux CW avatar? :P
Title: Re: Linux
Post by: Streetwalrus on April 05, 2017, 07:23:32 am
Lol, no. I've used this one before and I like that it's more original.
Title: Re: Linux
Post by: p2 on April 05, 2017, 09:27:17 pm
also I poked Streetwal on Telegram to do it cuz I love this current avatar 9_9
Title: Re: Linux
Post by: _iPhoenix_ on April 05, 2017, 09:30:18 pm
a snipped is a little piece of code (in a different language) that u can include in ur program.

for example
you do a game in BASIC, which is slow, but enough for your game.
but inverting colors on the whole screen is way too slow?
so you include a tiny piece of ASM that does that for you much faster.

Yes, or it adds functionality that cannot be done in BASIC, like inverting colors on the entire screen, or creating files.
Title: Re: Linux
Post by: p2 on April 05, 2017, 09:33:49 pm
exactly.
If you don't want to use two loops (x-axis and y-axis) to invert all pixxels separately, jsut use an ASM snippet which is a lot faster since asm supports pretty much everything. :)
Buuut it kills ur readability as u include ASM code in HEX (hexadecimal) notation (--> look it up if u dont know it, that's important!)
Title: Re: Linux
Post by: Alvajoy123 on April 07, 2017, 11:03:42 am
I some hex codes‚Äč document and some code don't work on the TI-84+CE :crazy:

Can you please give a link or a document on hex codes for the TI-84+CE :thumbsup:
Title: Re: Linux
Post by: DJ Omnimaga on April 07, 2017, 11:26:31 am
None exists. The hex codes on TI-Basic Developer are exclusively for the TI-83+/84+/SE
Title: Re: Linux
Post by: p2 on April 08, 2017, 07:53:44 pm
Correct me if I'm wrong (which I suspect)

The TI 83+//84+ family uses the Z80 cpu (read about silly development studio for further references) while the CE version uses the eZ80 cpu which is faster. So since they have a different hardware the assambler code mustn't be copied from one to the other since it's interpreted differently and might even harm ur calc.
Title: Re: Linux
Post by: DJ Omnimaga on April 09, 2017, 02:15:52 pm
Even if it used a Z80, the hardware changes would require code changes, like TI-83 vs 83+
Title: Re: Linux
Post by: c4ooo on April 09, 2017, 08:57:47 pm
Correct me if I'm wrong (which I suspect)

The TI 83+//84+ family uses the Z80 cpu (read about silly development studio for further references) while the CE version uses the eZ80 cpu which is faster. So since they have a different hardware the assambler code mustn't be copied from one to the other since it's interpreted differently and might even harm ur calc.
Porting simple instructions from z80 to ez80 isn't too hard, but the memory layout is way different, and also the CE has a memory mapped IO (and LCD) so all the drawing algorithms are a bit different.
Title: Re: Linux
Post by: Alvajoy123 on April 13, 2017, 02:47:19 pm
i am work on the file program part and more
i will give you heads up when i get done
Title: Re: Linux
Post by: p2 on April 20, 2017, 01:13:46 am
If u're working on an actual project it's always a good idea to use git//gitlab//github//... to backup your progress and make the process much easier to understand. Also it helps a lot if u wish to get support from others.

tl;dr: use github.com
Title: Re: Linux
Post by: Alvajoy123 on April 26, 2017, 02:17:37 am
 ;D :thumbsup:
menu is done there are some problems
it will be fixed soon if you want to help make the project
download and edit it and show me  :thumbsup:
http://www.mediafire.com/file/ubzbkq7jkd210jz/LINUX.8xp (http://www.mediafire.com/file/ubzbkq7jkd210jz/LINUX.8xp)
Title: Re: Linux
Post by: Alvajoy123 on April 26, 2017, 02:21:03 am
If u're working on an actual project it's always a good idea to use git//gitlab//github//... to backup your progress and make the process much easier to understand. Also it helps a lot if u wish to get support from others.

tl;dr: use github.com
:thumbsup:you can help me if you want just download and start programing :thumbsup:
am writing it still  :D
have to work on other programs too !!!
Title: Re: Linux
Post by: DJ Omnimaga on April 26, 2017, 07:00:18 pm
Do you still plan to use CE textlib for text background colors?

Edit by p2: I hate this "Sent from my Nexus 5 using Tapatalk" >.<

Title: Re: Linux
Post by: Alvajoy123 on April 27, 2017, 12:20:56 am
Do you still plan to use CE textlib for text background colors?

Edit by p2: I hate this "Sent from my Nexus 5 using Tapatalk" >.<


yes i do plan on using it but i don't know what command to use to change text background
Title: Re: Linux
Post by: DJ Omnimaga on April 27, 2017, 05:04:10 pm
{16,Foreground,17,Background:Asm(prgmTEXTLIB

Foreground must be a value from 10 to 25, same for background.
Title: Re: Linux
Post by: Alvajoy123 on May 11, 2017, 10:32:18 pm
Linux basic is put on a pause now because I need to work on file manager for it
:(
Title: Re: Linux
Post by: Alvajoy123 on May 13, 2017, 06:39:27 am
This s v0.1 it not a full version
By the way a new look is coming for Linux basic
And I am taking away the waiting screen :(
Please make sure you keep up with my lastest new for Linux basic

From:
/me Linux