The value table editor provides a list of values which can be exported/imported to tables in the code. Value may be generated from formulas.
The left side shows the current list of values. Here you can add/remove and move single values. Values are decimal/double, but will be truncated to bytes in the range of 0 to 255 when imported in code.
On the right side the formula editor allows the entering of a formula where a variable called "x" is the step value. The formula is evaluated for every step from start to end value.
Direct Value Editing
You can add a value with "+", remove a value with "-" and move with the up and down arrows. When an entry is selected changing the value in the edit box below will automatically update.
Formula Editing
The "Function" edit box expects a expression with a variable x which will be evaluated for every step from "Start Value" to "End Value" with steps of "Step Value". Any values to be entered will be evaluated as decimals/doubles.
The function parser also supports general math operations and also a few mathematical functions. Currently there's sin, cos and tan.
Caution: The math functions expect degrees, not radians!
Having "Automatic Generation" checked will update the value list on every change in the formula or its loop values.
"Clear Previous Values" will clear the previous list of values on regeneration. Unchecking this allows to append different formulas to a longer table.
On the project pane several import/export functions are available. Note: All values will be mapped to a byte range of 0 to 255.
Export to file
Exports all values to a binary file.
Export to data
Exports the binary data to assembly text. The fields Prefix with and wrap are used to build the resulting text.
Export to BASIC data
Exports the binary data to BASIC data lines.
Import from file
Imports values from a binary file.
Import from ASM
Parses the given assembly and imports any found data (usually !byte statements)
Import from HEX
Parses the given text as HEX data and imports as values