c128lib Framework
A Commodore 128 software framework for enabling high-level development of C128 programs.
|
Functions | |
macro | c128lib_BubbleSort (indirizzoArray, dimensioneArray, switchToFastModeWhileRunning) |
Sort module. | |
macro c128lib_BubbleSort | ( | indirizzoArray | , |
dimensioneArray | , | ||
switchToFastModeWhileRunning | ) |
Sort module.
Macros for array sorting.
This macro implements the Bubble Sort algorithm.
[in,out] | arrayAddress | The starting address of the array to be sorted. |
[in] | arraySize | The size of the array to be sorted. |
[in] | switchToFastModeWhileRunning | If true, the macro will switch to 8502 fast mode. |
This macro sorts an array in ascending order using the Bubble Sort algorithm. If 'switchToFastModeWhileRunning' is true, the macro will switch to 8502 fast mode while running. This can be beneficial for larger arrays.