From 44115f66046ac5bd8b2be26159fc6808c51b86ee Mon Sep 17 00:00:00 2001 From: KG Date: Wed, 24 Jan 2024 19:50:59 -0500 Subject: [PATCH] Add feature descriptions --- tivars/models/model.py | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/tivars/models/model.py b/tivars/models/model.py index d6729f8..1c0b60c 100644 --- a/tivars/models/model.py +++ b/tivars/models/model.py @@ -149,13 +149,44 @@ class TIFeature(Flags): """ Complex = {0: 1} + """ + Whether the model supports complex numbers + """ + Flash = {1: 1} + """ + Whether the model has a flash chip + """ + Apps = {2: 1} + """ + Whether the model supports apps + """ + Clock = {3: 1} + """ + Whether the model has a real-time clock + """ + Color = {4: 1} - ez80 = {5: 1} + """ + Whether the model has a color display + """ + + eZ80 = {5: 1} + """ + Whether the model has an eZ80 chip + """ + ExactMath = {6: 1} + """ + Whether the model supports exact math for fractions and radicals + """ + Python = {7: 1} + """ + Whether the model supports Python + """ features82 = {} @@ -164,7 +195,7 @@ class TIFeature(Flags): features83p = features82a | TIFeature.Apps features84p = features83p | TIFeature.Clock features84pcse = features84p | TIFeature.Color -features84pce = features84pcse | TIFeature.ez80 +features84pce = features84pcse | TIFeature.eZ80 features83pce = features84pce | TIFeature.ExactMath features83pceep = features83pce | TIFeature.Python features84pcepy = features84pce | TIFeature.Python