New demo uploaded: quick sort demo

All aspects of programming on the Commander X16.
Post Reply
x16tial
Posts: 177
Joined: Sun Feb 07, 2021 8:23 pm

New demo uploaded: quick sort demo

Post by x16tial »




quick sort demo




View File






Kind of a fun demo of Quick Sort on the CX16, using the random "static" of the startup VERA memory and using the 640x480 bitmap screen.

Tap any key to progress from:


  • Initial static


  • Slow sort, so you can see what's going on, kind of satisfying to watch


  • Re-randomize


  • Full speed sort, this is 37.5k, which the CX16 sorts in a couple seconds


  • Back to Basic


Written in assembly






 
User avatar
desertfish
Posts: 1096
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

New demo uploaded: quick sort demo

Post by desertfish »


the 'full speed' sort runs faster than I expected

CreativityTheEmotion
Posts: 6
Joined: Sun Feb 28, 2021 8:21 pm

New demo uploaded: quick sort demo

Post by CreativityTheEmotion »


Now this is a demo I would like to see running on real hardware.

Post Reply