π
<-
Chat plein-écran
[^]

ICE Compiler

Assembleur, Axe, C/C++, ICE...

Re: ICE - an interpreter/compiler of CE-BASIC

Message non lude PT_ » 27 Juin 2016, 20:29

Ti64CLi++ a écrit:Also, ICE 1.1 cann't download?

That is what I said. I'm currently busy with that version. You can only download my real first version (outside of bugfixing)
Age of CEmpires I - In progress!
40%
Avatar de l’utilisateur
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Prochain niv.: 57.2%
 
Messages: 259
Inscription: 09 Fév 2016, 23:06
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: ICE - an interpreter/compiler of CE-BASIC

Message non lude Ti64CLi++ » 27 Juin 2016, 20:36

Sorry for my english. :?
I modified my post
Image
Avatar de l’utilisateur
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 32.3%
 
Messages: 3441
Images: 75
Inscription: 04 Juil 2014, 14:40
Localisation: Clermont-Ferrand 63
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes
GitHub: Ti64CLi

Re: ICE - an interpreter/compiler of CE-BASIC

Message non lude PT_ » 02 Juil 2016, 14:54

Oki, some *big* updates from me:
- located the program data at UserMem, no need to calculate offsets. it jumps to the actual data of ICE with this routine:
Code: Tout sélectionner
start:
   ld hl, ICEName
   call _Mov9ToOP1
   call _ChkFindSym
   ld hl, ICEStart-start+4                           ; skip this pc routine + 4 bytes size+header
   add hl, de
   jp (hl)
ICEStart:
Now I can mess up UserMem easily
- the variables are now located at $E30800, which has 2 wait states, instead of 3, and thus you can save 1cc each time you get a variable :)
- implemented IS>( and DS<( for respecitively incrementing and decrementing variables :D
- another method for jumping to a function routine. Not a bunch of "cp XX \ jr nz, +_" but a jump table. Much easier for adding functions.
Age of CEmpires I - In progress!
40%
Avatar de l’utilisateur
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Prochain niv.: 57.2%
 
Messages: 259
Inscription: 09 Fév 2016, 23:06
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: ICE Compiler

Message non lude PT_ » 04 Juil 2016, 21:03

Implemented Lbl/Goto. Works fine, despite some struggles:

Image

:troll:

(Fixed it already)
Age of CEmpires I - In progress!
40%
Avatar de l’utilisateur
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Prochain niv.: 57.2%
 
Messages: 259
Inscription: 09 Fév 2016, 23:06
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: ICE Compiler

Message non lude Epharius » 05 Juil 2016, 10:34

Yea, it seems you installed PHASM before running ICE :troll:
Actually, I had the same bug when I was trying to add a feature :p
Le projet Geometry Dash est terminé ! N'hésitez pas à aller jeter un coup d’œil au topic du projet ! Vous pouvez le télécharger ici.

Unis par la flèche sacrée de cupidon :favorite:
Image
Avatar de l’utilisateur
EphariusPremium
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 7.1%
 
Messages: 1110
Images: 4
Inscription: 08 Déc 2014, 17:38
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile
Classe: Ensimag
GitHub: MathisLav

Re: ICE Compiler

Message non lude PT_ » 05 Juil 2016, 21:32

Epharius a écrit:Yea, it seems you installed PHASM before running ICE :troll:
Actually, I had the same bug when I was trying to add a feature :p

Nope :troll:

ICE v1.1 is ready! Input, Lbl/Goto and Disp <string> now works too!
Here's an example program:
Image

Code: Tout sélectionner
rand->A
Repeat A=B
   Input B
   If B>A
   Goto TOOHIGH
   Disp "TOOLOW"
   Goto GETNEXT
   Lbl TOOHIGH
   Disp "TOOHIGH"
   Lbl GETNEXT
   1->C
   While C
      IS>(C
      Pause 5
   End
End
Asm(CD8C0D02     // call _GetKey
Disp A

Pretty good, right? Size = 104 vs 211 bytes. WOW :D :D :D

I can't say it's bugless (notice the wrong value of A at the end), but yeah, I'm super happy with this. I hope to upload it very soon! :)
Age of CEmpires I - In progress!
40%
Avatar de l’utilisateur
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Prochain niv.: 57.2%
 
Messages: 259
Inscription: 09 Fév 2016, 23:06
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: ICE Compiler

Message non lude Lionel Debroux » 06 Juil 2016, 06:59

Good work, ICE v1.1 is a major usability improvement over what was labeled v1.0 :)

You should upload to ticalc.org as well, so that it can be featured there.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.2%
 
Messages: 6859
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

Re: ICE Compiler

Message non lude Ti64CLi++ » 06 Juil 2016, 10:05

What is the range of the function rand? (0 to 65535?)
Image
Avatar de l’utilisateur
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 32.3%
 
Messages: 3441
Images: 75
Inscription: 04 Juil 2014, 14:40
Localisation: Clermont-Ferrand 63
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes
GitHub: Ti64CLi

Re: ICE Compiler

Message non lude PT_ » 06 Juil 2016, 11:43

Ti64CLi++ a écrit:What is the range of the function rand? (0 to 65535?)

All the functions or numbers are yet 8 bit numbers and thus in the range 0-255. Will be changed in v1.2 :)
Age of CEmpires I - In progress!
40%
Avatar de l’utilisateur
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Prochain niv.: 57.2%
 
Messages: 259
Inscription: 09 Fév 2016, 23:06
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: ICE Compiler

Message non lude Ti64CLi++ » 06 Juil 2016, 13:51

Ok, thanks :)
Image
Avatar de l’utilisateur
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 32.3%
 
Messages: 3441
Images: 75
Inscription: 04 Juil 2014, 14:40
Localisation: Clermont-Ferrand 63
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes
GitHub: Ti64CLi

PrécédenteSuivante

Retourner vers Langages alternatifs

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 3 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1389 utilisateurs:
>1366 invités
>18 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)