-
Notifications
You must be signed in to change notification settings - Fork 7
BASIC Graphics
Curtis F Kaylor edited this page Sep 10, 2023
·
3 revisions
- SCREEN mode
- Controls video mode
- DEF INTLIST list$ = integer, integer, ...
- Creates list of two byte numbers
- SET COLOR palette# [, index] TO rgb, rgb, ...
- SET COLOR palette# [, index] TO list$
- Writes to color palettes
- GETCOLOR$(palette#)
- Returns palette data
- DEF COLORLIST colorlist$ = color#, color#, ...
- Creates list of color indexes
- SET TILE tile# TO color, color, ...
- SET TILE tile# TO colorlist$
- Sets tile data
- GETTILE$(tile#)
- Returns tile data
- DEF TILELIST tilelist$ = tile#, tile#, ...
- Creates list of tile numbers
- DEF ATTRLIST attrlist$ = attr, attr, ...
- Creates list of sprite or tilempap attributes
- DEF SPRITE sprite$ = spritle#, x-offset, y-offset; spritle#, x-offset, y-offset; ...
- Creates sprite structure
- SET SPRITE sprite$ [ON/OFF] [POS x,y] [TILE tilelist$] COLOR [colorlist$] [ATTR attrlist$]
- Populates sprite data
- SET SPRITE spritle# [TILE tiledata$] [ATTR attr]
- SPRITECOL(...)
- Check for sprite collision (syntax to be determined),