Skip to content

Commit

Permalink
Add feature descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed Jan 25, 2024
1 parent d51257f commit 44115f6
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions tivars/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand All @@ -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
Expand Down

0 comments on commit 44115f6

Please sign in to comment.