π
<-
Chat plein-écran
[^]

ICE Compiler

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

Re: ICE Compiler

Message non lude PT_ » 14 Oct 2017, 22:29

Several main bugs has been fixed, and tilemaps has been added, and much more, so just check it out!
http://htmlpreview.github.io/?https://g ... mands.html
https://github.com/PeterTillema/ICE/releases
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_ » 01 Déc 2017, 23:01

I'm more than happy to finally officially announce ICE v2.0.0! It has been a long road to this version, because pretty much everything changed. I want to thank EVERYONE who has contributed to this long project, writing the documentation, and finding many bugs. I hope you all enjoy this new version, and if there's anything you want to be changed, feel free to poke or PM me! :D

Image ICE Compiler v2.0.0



Edit admin: Changelog from the file:
Version 2.0.0: December 1, 2017
☑ Added pointers + masking + address of variable
☑ Added file input/output
☑ Implemented more C functions
☑ Added several custom tokens
☑ Removed some custom tokens
☑ Open the editor if there's an error
☑ Added tilemaps
☑ Better documentation
☑ Negative numbers
☑ Binary, hexadecimal numbers
☑ Added string concatenation + substrings, length
☑ Added icon + description for Cesium
☑ Fixed many bugs
☑ Fixed all the errors in commands.html
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 Adriweb » 01 Déc 2017, 23:07

Nice job :)

I added the changelog to your post, from the file.
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80.1%
 
Messages: 14606
Images: 1216
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: ICE Compiler

Message non lude PT_ » 05 Déc 2017, 00:01

Let me bump this issue, since adding floats is one of the first things on my to-do-list, but I've no idea how. Plz help me!!!!!!!!!!!!!!!!!! :)

https://github.com/PeterTillema/ICE/issues/34
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 critor » 19 Déc 2017, 19:06

I think I've got some problem with the included TWHG example, although it may not come from your code.
archives_voir.php?id=587211

With a TI-84 Plus CE-T L-0515A 5.3.0.0037, works perfectly. :)

With a TI-83 Premium CE L-0816E 5.3.0.0042, never works. :(
I'm getting either a freeze with a white screen, either an immediate reset.

It's the latest C libs, and the files were sent each time from the 84+CE to the 83PCE, so they're the same.
Image
Avatar de l’utilisateur
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Prochain niv.: 41.8%
 
Messages: 41470
Images: 14480
Inscription: 25 Oct 2008, 00:00
Localisation: Montpellier
Genre: Homme
Calculatrice(s):
MyCalcs profile
YouTube: critor3000
Twitter/X: critor2000
GitHub: critor

Re: ICE Compiler

Message non lude PT_ » 19 Déc 2017, 19:28

Uh oh, that's very bad. I don't have a 83PCE (ROM) though, so I wonder what's going wrong. :(
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 TheMachine02 » 19 Déc 2017, 19:34

I can confirm the behaviour, at least on my emulator which is a ROM of 83PCE with OS 5.3. I am gonna investigate some more.

EDIT : okay, I have found the guilty code.

It is :
Code: Tout sélectionner
Copy(L1,sum(18,LEVELS),AMTBALLS*13)


Which compilated look like this :

Code: Tout sélectionner
D1AA50     DD6E89        ld l,(ix-$77)      ; most likely load LEVELS
D1AA53     E5            push hl
D1AA54     CD3CA9D1      call $D1A93C   ; sum(18,....)
D1AA58     C1            pop bc                  ; clean the stack
D1AA59     E5            push hl                 ; push first result, SOURCE_COPY
D1AA5A     DD27A4        ld hl,(ix-$5C)    ; load AMTBALLS
D1AA5D     E5            push hl
D1AA5E     D1            pop de
D1AA5F     29            add hl,hl
D1AA60     19            add hl,de
D1AA61     29            add hl,hl
D1AA62     29            add hl,hl
D1AA63     19            add hl,de               ; here we have the result * 13 this result should go to BC register for copy
D1AA64     E5            push hl                  ; push the result, okay why not
D1AA65     C1            pop bc                   ; copy it to bc, nice !
D1AA66     E1            pop hl                    ; pop the SOURCE_COPY
D1AA67     E5            push hl
D1AA68     C1            pop bc                   ; why :\
D1AA69     11F631D0      ld de,$D031F6 ; DEST_COPY
D1AA6D    EDB0          ldir
Avatar de l’utilisateur
TheMachine02Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 29.4%
 
Messages: 341
Images: 0
Inscription: 16 Jan 2013, 18:27
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile
Classe: Médecine

Re: ICE Compiler

Message non lude critor » 19 Déc 2017, 19:36

Wait, it seems to be random.

Just worked on my TI-83 Premium CE L-0816E several times in a row after adding useless AppVars.
I've then deleted some AppVars and same problem again.
Image
Avatar de l’utilisateur
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Prochain niv.: 41.8%
 
Messages: 41470
Images: 14480
Inscription: 25 Oct 2008, 00:00
Localisation: Montpellier
Genre: Homme
Calculatrice(s):
MyCalcs profile
YouTube: critor3000
Twitter/X: critor2000
GitHub: critor

Re: ICE Compiler

Message non lude PT_ » 19 Déc 2017, 21:09

So it pushes HL while it shouldn't? Hmm, I can fix that. :P
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 TheMachine02 » 19 Déc 2017, 21:38

I rather say it does an extra push hl \ pop bc like it wanted to copy bc, but since bc is already copied it fail miserably and only do hl->bc with hl being the adress :p
Avatar de l’utilisateur
TheMachine02Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 29.4%
 
Messages: 341
Images: 0
Inscription: 16 Jan 2013, 18:27
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile
Classe: Médecine

PrécédenteSuivante

Retourner vers Langages alternatifs

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 11 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.
2527 utilisateurs:
>2517 invités
>5 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)