Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in - nap
Bubblesid   [2021]

Bubblesid Released by :
Artline Designs [web]

Release Date :
31 October 2021

Type :
C64 256b Intro

AKA :
Audiovisual presentation of bubble sort algorithm in 255 bytes

Released At :
Inércia Demoparty 2021

Achievements :
WiLD Demo Competition at Inércia Demoparty 2021 :  #7

User rating:*********_  9.2/10 (9 votes)   See votestatistics

Credits :
Code .... Frostbyte of Artline Designs

Download :

Look for downloads on external sites:
 Pokefinder.org


Production Info
Submitted by Frostbyte on 31 October 2021
Original Bubble Sort source (40 bytes until done):
https://codebase64.org/doku.php?id=base:bubble_sort_8-bit_eleme..
Modified version is 33 bytes without the extra line draws and sid writes.

Also utilises a slimlined BASIC start from sidecoding.org wiki:
http://www.sizecoding.org/wiki/6502_based_CPUs#Program_file_ove..

And also while reading LFT's blog post about A Mind Is Born, I learned that jsr $e544 also sets screenram with the colour in $286. :) Otherwise the code is what my n00b 6502 asm programmer brain could come up with. Please be gentle, I've just popped my cherry.

Footprint:
2 - Load address
12 - Basic start and setting A, X = 0
1 - Stopping interrupts
14 - Clearing bitmap
38 - Initialising MC mode, bitmap location, colours and SID
42 - Generating index tables for 1st bytes in each pixel row of the bitmap
11 - Generate a list of 200 random numbers
65 - Bubble sort the list, with SID updates and drawline routine calls
70 - Line drawing routine
= 255 bytes total
Search CSDb
Advanced
Navigate
Prev - Random - Next
Detailed Info
· Summaries (1)
· User Comments (6)
· Production Notes (1)
Fun Stuff
· Goofs (1)
· Hidden Parts
· Trivia
Forum
· Discuss this release
Support CSDb
Help keep CSDb running:



Funding status:




About this site:
CSDb (Commodore 64 Scene Database) is a website which goal is to gather as much information and material about the scene around the commodore 64 computer - the worlds most popular home computer throughout time. Here you can find almost anything which was ever made for the commodore 64, and more is being added every day. As this website is scene related, you can mostly find demos, music and graphics made by the people who made the scene (the sceners), but you can also find a lot of the old classic games here. Try out the search box in the top right corner, or check out the CSDb main page for the latest additions.
Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.086 sec.