Skip to content

Commit

Permalink
RAM Usage reduction + GPIO Speed
Browse files Browse the repository at this point in the history
Major reduction on RAM use and removal of Maximum widgets limit.
Complete re-write of GRAM functions for slightly faster GPIO switching and future compatibility.
More demos added.
  • Loading branch information
James-4DSystems committed Nov 14, 2022
1 parent 60bee8e commit ab38d30
Show file tree
Hide file tree
Showing 27 changed files with 8,451 additions and 1,621 deletions.
20 changes: 14 additions & 6 deletions keywords.txt
Expand Up @@ -10,23 +10,27 @@
# Methods and Functions (KEYWORD2)
#######################################

GFX4d KEYWORD1
GFX4d KEYWORD1
strWidth KEYWORD2
charWidth KEYWORD2
charHeight KEYWORD2
imageGetWord KEYWORD2
GradientShape KEYWORD2
ButtonXstyle KEYWORD2
GetSliderValue KEYWORD2
DecodeKeypad KEYWORD2
ResetKeypad KEYWORD2
ResetKeypad KEYWORD2
KeypadStatus KEYWORD2
SpriteEnable KEYWORD2
SpriteSetPalette KEYWORD2
SpriteGetPalette KEYWORD2
SpriteTouched KEYWORD2
SpriteInit KEYWORD2
SpriteAdd KEYWORD2
SpriteInit KEYWORD2
SpriteAdd KEYWORD2
SpriteAreaSet KEYWORD2
GetSpriteImageNum KEYWORD2
SetSprite KEYWORD2
GetSprite KEYWORD2
SetSprite KEYWORD2
GetSprite KEYWORD2
GetSpritesAt KEYWORD2
SpriteGetPixel KEYWORD2
UpdateSprites KEYWORD2
Expand Down Expand Up @@ -151,6 +155,10 @@ getFontData KEYWORD2
# Constants (LITERAL1)
#######################################

IMAGE_XPOS LITERAL1
IMAGE_YPOS LITERAL1
IMAGE_WIDTH LITERAL1
IMAGE_HEIGHT LITERAL1
GFX4d_RED LITERAL1
GFX4d_GREEN LITERAL1
GFX4d_BLUE LITERAL1
Expand Down
2 changes: 1 addition & 1 deletion library.properties
@@ -1,5 +1,5 @@
name=GFX4d
version=1.0.7
version=1.0.8
author=4D Systems Pty Ltd
maintainer=4D Systems Pty Ltd <engineering@4dsystems.com.au>
sentence=Graphics Library for the gen4-IoD by 4D Systems
Expand Down
427 changes: 427 additions & 0 deletions src/Examples/IoD16kSpectrumEmulator/Basic.h

Large diffs are not rendered by default.

0 comments on commit ab38d30

Please sign in to comment.