Omnimaga

General Discussion => Technology and Development => Web Programming and Design => Topic started by: Keoni29 on August 17, 2013, 02:25:49 pm

Title: eZ8 programming website
Post by: Keoni29 on August 17, 2013, 02:25:49 pm
(http://ez8tut.sourceforge.net/media/header.png) (http://ez8tut.sourceforge.net/)

Working on this website about Zilog eZ8 programming. It uses php for loading pages and I am working on an article editor. Trying to figure out a way to make it more secure before I let people edit articles.

Webdesign and php by me. Articles by both me and Willrandship.
What do you guys think about the layout. Nothing distracting you while reading? Text not too small? Does it look right on your device?
Thanks in advance for your feedback :)
Title: Re: eZ8 programming website
Post by: AssemblyBandit on August 17, 2013, 02:31:53 pm
Its nice, it has a forum, code highlighter tool, and irc chat.
Title: Re: eZ8 programming website
Post by: Keoni29 on August 17, 2013, 02:33:18 pm
And of course a lot of reference material and tutorials coming up.
Title: Re: eZ8 programming website
Post by: DJ Omnimaga on August 17, 2013, 07:26:12 pm
Looks nice, as long as you won't try to lure every Omni member away to your own forum or something :P
Title: Re: eZ8 programming website
Post by: Keoni29 on August 18, 2013, 04:15:01 am
The forums are just for asking eZ8 related questions. Not for calcs. I think there will remain at least a handful here at omnimaga ;)

Edit: Got the article editor to work. Now I can edit and create new entries on the website. It's a really crude filesystem based CMS, but it works and it's 99% secure I think.
Title: Re: eZ8 programming website
Post by: Keoni29 on September 18, 2013, 07:26:47 am
Some changes: hitcounter, page statistics and working entry editor. Not a lot of new articles though.
Title: Re: eZ8 programming website
Post by: Keoni29 on October 25, 2013, 01:49:08 pm
Added reference for Flash.
http://ez8tut.sourceforge.net/index.php?p=reference/flash.php . I want to cover all math operations too, so that will be my next article.
Title: Re: eZ8 programming website
Post by: Sorunome on October 25, 2013, 06:05:40 pm
redirects to the 404 page to me
Title: Re: eZ8 programming website
Post by: Keoni29 on October 25, 2013, 06:06:46 pm
Fixed :)
Title: Re: eZ8 programming website
Post by: ClrDraw on October 25, 2013, 06:13:45 pm
Really nice and clean looking!
Title: Re: eZ8 programming website
Post by: Keoni29 on October 25, 2013, 06:18:36 pm
Thank you! That's the style I went for. It is inspired by the arduino website. I figured newcomers would be more at easy with a familiar design.
Title: Re: eZ8 programming website
Post by: Keoni29 on November 02, 2013, 10:39:11 am
Added page about Serial communication.
http://ez8tut.sourceforge.net/?p=reference/serial.php
Edit:
Also added a page about math instructions:
http://ez8tut.sourceforge.net/?p=reference/math.php

It takes a while to pump out these articles. Whenever I have nothing better to do I will try to write two of these.
If you spot any errors please say so.
Title: Re: eZ8 programming website
Post by: Keoni29 on January 18, 2014, 05:08:30 am
I asked some people to proofread the tutorial pages. Based on their feedback I ironed out some typo's. The website has a html article editor. I want to switch to wysiwyg because it's more readable and making modifications is easier. Does anyone know a simple js/php wysiwyg text editor with custom stylesheets and tag restrictions?
Title: Re: eZ8 programming website
Post by: Sorunome on January 18, 2014, 11:03:19 am
CKEditor: http://ckeditor.com/

It is pretty awesome, i also love their inline editing support.
Title: Re: eZ8 programming website
Post by: chickendude on January 18, 2014, 02:11:54 pm
Are there any devices that use the Z8 Encore! or do you have to build your own? I like the tutorial pages, they look nice. I haven't read through everything but i don't quite get how the General Purpose Register File is different from RAM, and on the third tutorial "If you did not create a new project yet read tutorial 1 again." The "...did not create... yet" bit to me sounds like it should be "...have not created... yet", though maybe we just have a different style of speaking. And what exactly does srp do? What would the difference be between srp #00h and srp #10h? It's a cool little site, though :)

EDIT: Also, the math link you posted in here doesn't load anything. The one on the site loads fine, though: http://ez8tut.sourceforge.net/index.php?p=reference/math.php
Comparison only has one 's', btw. And woohoo! mult! Is there no div?
Title: Re: eZ8 programming website
Post by: Keoni29 on January 18, 2014, 02:18:20 pm
SRP = Set Register Pointer. With this instruction you set the base address of the zero page called "working registers".

There is no DIV instruction, but I have ported a division routine from the z80 to the eZ8!

Edit: Changed some little things and added ckeditor
Title: Re: eZ8 programming website
Post by: Keoni29 on January 19, 2014, 04:19:37 pm
Milestone:
Title: Re: eZ8 programming website
Post by: Sorunome on January 20, 2014, 07:49:57 am
yay, congradulations! :D
Title: Re: eZ8 programming website
Post by: DJ Omnimaga on February 02, 2014, 12:41:14 am
Are there any devices that use the Z8 Encore! or do you have to build your own? I like the tutorial pages, they look nice. I haven't read through everything but i don't quite get how the General Purpose Register File is different from RAM, and on the third tutorial "If you did not create a new project yet read tutorial 1 again." The "...did not create... yet" bit to me sounds like it should be "...have not created... yet", though maybe we just have a different style of speaking. And what exactly does srp do? What would the difference be between srp #00h and srp #10h? It's a cool little site, though :)

EDIT: Also, the math link you posted in here doesn't load anything. The one on the site loads fine, though: http://ez8tut.sourceforge.net/index.php?p=reference/math.php
Comparison only has one 's', btw. And woohoo! mult! Is there no div?
Back in 2010, there was a project on Omni with Alberthrocks and Graphmastur, who wanted to build a set of two calcs. One being an eZ8 calc and the other, higher end model, an ARM one. Sadly, it died, but I guess such projects requires too much planning unless you are in vacations during 6 months.
Title: Re: eZ8 programming website
Post by: Keoni29 on February 02, 2014, 04:48:21 am
There is also an atari2600 cartridge reader made by me that uses the eZ8 as well as a homebrew computer.
Title: Re: eZ8 programming website
Post by: Keoni29 on February 24, 2014, 06:10:28 pm
Working on some new articles. I also made a page for the eZ8 operating system which I'm developing for my eZ8 computer. It is currently empty, but I will update this page frequently as the featurelist grows.
http://ez8tut.sourceforge.net/?p=ez8os.php
Title: Re: eZ8 programming website
Post by: TIfanx1999 on February 24, 2014, 07:23:36 pm
Are there any devices that use the Z8 Encore! or do you have to build your own? I like the tutorial pages, they look nice. I haven't read through everything but i don't quite get how the General Purpose Register File is different from RAM, and on the third tutorial "If you did not create a new project yet read tutorial 1 again." The "...did not create... yet" bit to me sounds like it should be "...have not created... yet", though maybe we just have a different style of speaking. And what exactly does srp do? What would the difference be between srp #00h and srp #10h? It's a cool little site, though :)

EDIT: Also, the math link you posted in here doesn't load anything. The one on the site loads fine, though: http://ez8tut.sourceforge.net/index.php?p=reference/math.php
Comparison only has one 's', btw. And woohoo! mult! Is there no div?
Back in 2010, there was a project on Omni with Alberthrocks and Graphmastur, who wanted to build a set of two calcs. One being an eZ8 calc and the other, higher end model, an ARM one. Sadly, it died, but I guess such projects requires too much planning unless you are in vacations during 6 months.

Not to get off topic too much, but I thought one of those projects was an ez80, which is different from the ez8.
Title: Re: eZ8 programming website
Post by: Streetwalrus on February 24, 2014, 07:38:00 pm
Yeah it was an ez80 that was planned not an ez8.
Title: Re: eZ8 programming website
Post by: Keoni29 on February 24, 2014, 07:44:48 pm
The eZ80 is a very nice cpu. There are a lot of peripherals on board. Some people use them to host webpages.
Title: Re: eZ8 programming website
Post by: Streetwalrus on February 24, 2014, 07:47:22 pm
Really ? A Raspberry Pi can barely run a LAMP setup so I hardly imagine an ez80 serving pure HTML. ::)
Title: Re: eZ8 programming website
Post by: pimathbrainiac on February 24, 2014, 07:48:53 pm
If an Arduino can do it (and it does :P), an eZ80 should be able to do it, no problem :D
Title: Re: eZ8 programming website
Post by: Streetwalrus on February 24, 2014, 07:55:22 pm
LOL yeah but only for very lightweight tasks.
Title: Re: eZ8 programming website
Post by: Keoni29 on March 30, 2014, 08:45:58 am
Added a page for the devboard schematics I made.
http://ez8tut.sourceforge.net/index.php?p=cpu/devboard.php

I am also working on a projects page. It will feature projects of mine as well as build instructions.
Title: Re: eZ8 programming website
Post by: DJ Omnimaga on April 05, 2014, 02:25:49 am
Looks very good, as always :) The only complaint is that on 1920x1080, the page content looks really slim. Maybe you could make the content so it's proportional to the screen resolution but 100% on mobile?
Title: Re: eZ8 programming website
Post by: Keoni29 on July 05, 2014, 04:56:11 pm
I noticed the website is still very usable in a text-only browser. I made some tweaks so it's a bit more user-friendly. I moved the menu bar to the bottom of the page.You usually skip trough these links so you can read the text anyways.



Browser is elinks. To get it to look just like this picture you need to enable 256 color mode.
Title: Re: eZ8 programming website
Post by: willrandship on July 06, 2014, 01:41:44 am
@Street, LAMP is much more than pure HTML. Serving HTML is literally just spitting out text over TCP/IP. LAMP implies a database, a server-side scripting language, a specific HTML server (all you really need), and the Linux kernel. It's not entirely surprising that the RPi would choke on not only running a complete kernel, but also a fairly inefficient HTML server, database AND scripting language. It's a problem that screams for a parallel solution, but being run on a single-core device.

On the other hand, if you just want to handle HTML, you just need to be able to speak TCP/IP and vomit text documents. As pimath points out, the Arduino has been demonstrated to be able to do this, albeit with an ethernet shield. So, practically speaking, it's not so crazy to suggest a self-hosting ez8 site.
Title: Re: eZ8 programming website
Post by: Princetonlion.tibd on July 06, 2014, 04:12:36 am
I should link to it on my BASIC website :D
Only prob, while you have a real site, I'm struggling with the HTML porting for my google site... And some friends are not exactly helping.
Title: Re: eZ8 programming website
Post by: willrandship on July 06, 2014, 04:39:24 am
Your google site? Does it use any server-side features like PHP?

There shouldn't be any "conversion" necessary if it's a normal web page.
Title: Re: eZ8 programming website
Post by: Streetwalrus on July 06, 2014, 06:41:51 am
@Street, LAMP is much more than pure HTML. Serving HTML is literally just spitting out text over TCP/IP. LAMP implies a database, a server-side scripting language, a specific HTML server (all you really need), and the Linux kernel. It's not entirely surprising that the RPi would choke on not only running a complete kernel, but also a fairly inefficient HTML server, database AND scripting language. It's a problem that screams for a parallel solution, but being run on a single-core device.

On the other hand, if you just want to handle HTML, you just need to be able to speak TCP/IP and vomit text documents. As pimath points out, the Arduino has been demonstrated to be able to do this, albeit with an ethernet shield. So, practically speaking, it's not so crazy to suggest a self-hosting ez8 site.
I know what that is, I am only saying that too many requests will make it slow quickly. Also, you need a way to host bigger stuff such as images.
Title: Re: eZ8 programming website
Post by: Keoni29 on July 06, 2014, 06:49:55 am
I think this website could easily be hosted on an eZ80 or maybe even an eZ8. It's mostly text and very little images. For images I'd use a different machine though.
Title: Re: eZ8 programming website
Post by: Keoni29 on August 17, 2014, 10:58:32 am
Added a construction guide for making a smartcable: http://ez8tut.sourceforge.net/?p=cpu/cable.php
Also corrected some articles that stated it was impossible to make your own cable :P