Author Topic: ORG: online Z80 IDE and assembler  (Read 45603 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #75 on: June 29, 2012, 05:43:53 pm »
Thank you for the translations! I'll put them in once I figure out a reasonable way to switch back and forth between languages.

EDIT: Done, at least for the controls. Click the round Fr/En button to switch between languages. I'll work on making the log output in French as well.
« Last Edit: July 02, 2012, 12:23:09 am by Deep Thought »




Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #76 on: July 01, 2012, 05:59:45 pm »
"The next three items build your source into a TI-83 Plus–series program, appvar, or app, respectively"
Hm.. I see TI-83 btw. ;)

Nice, now The control panel :
Spoiler For Spoiler:
Le panneau de contrôle
A droite de l'éditeur se trouve le panneau de contrôle ainsi que la console d'erreur. Vous pouvez sauvegarder vos fichiers en ligne (Enregistrer), charger un fichier ou un modèle (Ouvrir), assembler et compiler (Compiler), et télécharger vos fichiers (Exporter).

Le bouton "Ouvrir" permet de sélectionner un fichier sur votre ordinateur pour l'ouvrir avec ORG. Cela peut être un ou plusieurs fichiers source ou une archive ZIP contenant les fichiers sources (telle que celles générées via le bouton "Exporter"). Il y a aussi des modèles disponible via le menu déroulant en cliquant sur la flèche.

Par défaut le bouton "Compiler" compile votre programme dans un fichier binaire (.bin). Le menu déroulant via la flèche permet de choisir les options de compilation. Les questions options qui suivent permettent de compiler respectivement pour : un programme TI-83+/84, un programme TI-83/82.stats(.fr), une application ou une appvar. L'option suivante, "compiler en hexadécimal", permet de créer un fichier texte (.txt) contenant le code assembleur natif que vous pouvez réécrire sur votre calculatrice. Enfin, la dernière option permet de créer un fichier d'auto-chargement tape pour les émulateurs de ZX Spectrum. Voir si dessous pour plus d'informations sur les différents formats.

De même, vous pouvez trouver plus d'options d'exportation en cliquant sur le menu déroulant :
  • "Exporter dans un ZIP" (par défaut) créé une archive au format ZIP contenant tous les fichiers du projet que vous pouvez télécharger.
  • "Coloriser en BBCode" convertit votre code source en BBCode pour les forums via BBify'r.
  • "Pastebin" copie l'onglet sélectionné sur un lien pastebin.
Next tomorrow. ;)
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #77 on: July 02, 2012, 12:32:01 am »
Thanks so much! I haven't added the translations for the manual yet, but I'll do it soon.

Update

New:
  • Many-file support - tab bar finally doesn't glitch up when you have a lot of tabs open
  • Google Chrome-style transitions - just some effects while opening, closing, moving tabs etc.
  • Language preference saved as a cookie
  • More directives - .defb, .defs, and so on, for greater syntax compatibility
Fixed:
  • Broke strings entirely with the last major update; fixed that
« Last Edit: July 02, 2012, 12:32:33 am by Deep Thought »




Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #78 on: July 02, 2012, 10:27:12 am »
Wow, this is amazing! O_O The interface has improved dramatically from before... you are definitely an expert with that :P
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #79 on: July 02, 2012, 06:43:09 pm »
The log console :
Spoiler For Spoiler:
La console d'erreur :
La console d'erreur permet d'afficher les erreurs et autres informations transmis par le serveur après une action. Elle va également afficher les liens vers les fichiers compilés ou exportés.

Assembling Projects (Compilation des projets)
How does assembling work?
Spoiler For Spoiler:
Comment la compilation fonctionne ?
Lorsque vous appuyer sur le bouton "Compiler", tous les fichiers sont envoyés au serveur et sauvegardés temporairement (si vous êtes connecté sur votre profil, cela revient à appuyer sur le bouton "Sauvegarder"). Le premier fichier de la liste (celui qui est ouvert dans l'onglet de gauche) sera le premier à être analysé. Le nom de ce dernier fichier sera utilisé pour le programme compilé. Les autres fichiers seront analysés si le premier programme les a inclus avec la commande #include "nomdufichier.z80" (voir ci dessous).

Après quelques secondes, le script devrait avoir assemblé votre projet. En regardant la console d'erreur vous apercevrez un lien pour télécharger le programme compilé. Ce lien n'est valable que 24 heures.

Assembler directives :
Spoiler For Spoiler:
Directives assembleur
ORG est très complet, mais il est toujours en développement. La plupart des fonctionnalités que vous attendez de l'assembleur z80 (macros, instructions conditionnelles, inclusion de fichiers, etc.) sont déjà implémentées.
La syntaxe est similaire à Spasm's. Voici une liste complète des directives supportées avec un exemple de syntaxe :
#include "nomdufichier" ou #include <nomdufichier>
#define variable ou #define variable valeur ou #define macro(passed, arguments) lignes \ de \ code
#defcont \ plus de \ lignes \ de \ code
#if expression
#ifdef variable
#ifndef variable
#elseif expression
#elseifdef variable
#elseifndef variable
#else
#endif
.org pointeur
.echo expression
.end
.block octet
.fill octets ou .fill octets, valeur
.defs octets ou .ds octets ou .defs octets, valeur ou .ds octets, valeur
.db data ou .byte data ou .defb data ou .defm data ou .dm data
.dw data ou .word data ou .defw data

Include files :
Spoiler For Spoiler:
Ajouter des fichiers
Comme toute commande de préprocesseur, #include peut être utilisé à partir de n'importe quel fichier source. Cependant vous être limité qu'à deux inclusions imbriqués, le troisième fichier inclus ne pourra pas utiliser la directive #include.

Vous êtes autorisé d'ajouter tous les fichiers que vous avez créé, ainsi que tous les modèles universelles, soit les fichiers :
ti83plus.inc (la principale bibliothèque d'assimilation pour les séries TI-83+, incluant les assimilations non documentées)
mirage.inc (inclus la bibliothèque Ion et Mirage OS)
dcs.inc (inclus la bibliothèque ion, Mirage OS et Doors CS)
app.inc (les macros pour compiler en application ; voir ci dessous)
ti83.inc (la principale bibliothèque pour la série TI-83)
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #80 on: July 02, 2012, 08:07:26 pm »
Wow, this is amazing! O_O The interface has improved dramatically from before... you are definitely an expert with that :P
Thanks :)

Update

New:
  • Ctrl+S to save - haven't decided on the other keyboard controls yet
  • Full-screen mode - press F11 to toggle (BONUS: it'll even make your browser go fullscreen if it's supported)
  • Warnings on closing tabs that have changed content
Fixed:
  • Fixed tabs jumping around in Firefox when creating a new file

Also kindermoumoute, thanks again for working on these translations—I realize they're very long and pretty technical. Here's a list of all the possible errors generated by ORG:
Error parsing line (line "{LINE}" in {FILE})
Unknown instruction or directive $words[1] (line "{LINE}" in {FILE})
Too many files deep (line "{LINE}" in {FILE})
Missing or invalid arguments for $words[1] (line "{LINE}" in {FILE})
Equate or label $words[1] has already been defined (line "{LINE}" in {FILE})
Included filename $byte is invalid (line "{LINE}" in {FILE})
Either missing or extra #endif (line "{LINE}" in {FILE})
Nonexistent file {FILE}
Unmatched parenthesis (line "{LINE}" in {FILE})
Target of $word[1] out of range (line "{LINE}" in {FILE})
Reference to undefined equate $word (line "{LINE}" in {FILE})
Math syntax error (line "{LINE}" in {FILE})
« Last Edit: July 02, 2012, 08:14:03 pm by Deep Thought »




Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #81 on: July 02, 2012, 08:35:28 pm »
Respectively :
Erreur de compilation (ligne "{LINE}" dans {FILE})
L'instruction ou la directive $words[1] est inconnue (ligne "{LINE}" dans {FILE})
Trop de fichiers inclus imbriqués (ligne "{LINE}" dans {FILE})
Argument manquant ou invalide pour $words[1] (ligne "{LINE}" dans {FILE})
Mauvais label pour assimilation, $words[1] est déjà défini (ligne "{LINE}" dans {FILE})
Le fichier inclus $byte est invalide (ligne "{LINE}" dans {FILE})
#endif manquant ou en surnombre (ligne "{LINE}" dans {FILE})
Fichier manquant {FILE}
Parenthèse manquante (ligne "{LINE}" dans {FILE})
Cible $word[1] non trouvée (ligne "{LINE}" dans {FILE})
Assimilation de $word non définie (ligne "{LINE}" dans {FILE})
Erreur de syntaxe mathématique (ligne "{LINE}" dans {FILE})

PS : Unmatched parenthesis = missing parenthesis ?
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #82 on: July 03, 2012, 02:01:57 am »
Quote from: kindermoumoute
PS : Unmatched parenthesis = missing parenthesis ?
Either missing or extra (like the line with #endif).




Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #83 on: July 03, 2012, 11:51:55 am »
Wow, thisis really awesome ! This is a very impressive job!

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: ORG: online Z80 IDE and assembler
« Reply #84 on: July 03, 2012, 12:02:31 pm »
Erm ... I think that :

Reference to undefined equate $word (line "{LINE}" in {FILE})

would be traduced in :

Symbole $word non défini (ligne "{LINE}" dans {FILE})

EDIT : Unmatched parenthesis (line "{LINE}" in {FILE}) -> Mauvais nombre de parenthèses (ligne "{LINE}" dans {FILE})

Target of $word[1] out of range (line "{LINE}" in {FILE}) -> Cible de $word[1] hors limites (ligne "{LINE}" dans {FILE})

Equate or label $words[1] has already been defined (line "{LINE}" in {FILE}) -> Symbole ou label $words[1] déjà défini (ligne "{LINE}" dans {FILE})

:)
« Last Edit: July 03, 2012, 12:07:32 pm by Matrefeytontias »

Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #85 on: July 03, 2012, 05:39:07 pm »
@Matrefeytontias : à partir de demain je serais complètement déconnecté d'internet, du moins pas assez pour traduire le reste de ORG. Est ce que tu peux prendre le relais (surtout que tu connais l'asm). ;)
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: ORG: online Z80 IDE and assembler
« Reply #86 on: July 04, 2012, 05:31:22 am »
@kinder pas de problème, j'assure ;)

@DeepThought since kinder won't be able to carry on the traducing, I'll replace him :)
« Last Edit: July 04, 2012, 05:31:59 am by Matrefeytontias »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #87 on: July 05, 2012, 11:19:32 pm »
@DeepThought since kinder won't be able to carry on the traducing, I'll replace him :)
Thank you too :) I'll put in kindermoumoute's translations so far when I get the chance.

Update

New:
  • Drag-and-drop file upload
  • Sample app source template
Fixed:
  • Scrolling code stopped working, fixed

That's right—if you're using a modern browser (and no, IFE9 does not count), you can drag-and-drop any number of source files from your computer directly onto the editor!
« Last Edit: July 06, 2012, 12:48:38 am by Deep Thought »




Offline blue_bear_94

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 801
  • Rating: +25/-35
  • Touhou Enthusiast / Former Troll / 68k Programmer
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #88 on: July 06, 2012, 09:35:12 am »
Are you planning on adding additional languages for the interface?
Due to dissatisfaction, I will be inactive on Omnimaga until further notice. (?? THP hasn't been much success and there's also the CE. I might possibly be here for a while.)
If you want to implore me to come back, or otherwise contact me, I can be found on GitHub (bluebear94), Twitter (@melranosF_), Reddit (/u/Fluffy8x), or e-mail (if you know my address). As a last resort, send me a PM on Cemetech (bluebear94) or join Touhou Prono (don't be fooled by the name). I've also enabled notifications for PMs on Omnimaga, but I don't advise using that since I might be banned.
Elvyna (Sunrise) 4 5%
TI-84+SE User (2.30 2.55 MP 2.43)
TI-89 Titanium User (3.10)
Casio Prizm User? (1.02)
Bag  東方ぷろの

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #89 on: July 18, 2012, 01:15:41 pm »
Probably not, unless there's a lot of demand for it. (The way I have it set up handles two languages nicely.)

I've added kindermoumoute and Matrefeytontias's translation for the error messages, and I'm thinking about the best way to toggle the documentation language.

And here are some more strings I need translated if either of you have the time, from the status messages shown when an action starts:
Creating ZipArchive
Adding file {FILE}
Zip file created successfully (download)
Please log in or register to save online
Creating folder
Storing file {FILE}
Files saved successfully
Pass one
Pass two
Program assembled with no errors/n errors (download)
Penguins unite
« Last Edit: July 18, 2012, 01:36:05 pm by Deep Thought »