Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in 
26 Bytes Fuzzy Logic   [2012]

26 Bytes Fuzzy Logic Released by :
JAC!

Release Date :
2 November 2012

Type :
C64 256b Intro

User rating:awaiting 5 votes (4 left)   See votestatistics

Credits :
Code .... JAC!

Download :
http://www.wudsn.com/productions/c64/fuzzylogic/fuzzylogic.zip (downloads: 425)
http://csdb.dk/getinternalfile.php/115028/fuzzylogic.zip (downloads: 153)

Look for downloads on external sites:
 Pokefinder.org


User Comment
Submitted by JAC on 4 November 2012
Cool, my first release on CSDB and then one I would not have dared uploading myself :-)

Loading to $32d instead of $32e I saved one byte but the entry point reamins at $32f. And only there C=1 holds true, so ROR $d018 can set bit 7. So I had to make sure that the frist execution is ROR while all others are not. In order make use of the free byte at $32e I had to use a 2 byte instruction (sta zp). By choosing the zp address correctly, I could interleave the operarand with the ROR. So the same bytes have two different meaning in the first round compared to all subsequent rounds. All this makes the source completely unreadble of course. I even had to add a NOP to make it really work withotu a JAM. So here's the trace http://www.wudsn.com/productions/c64/fuzzylogic/fuzzylogic-trac...

The noise is a bit slower than Rudis, because of the full 16k random area - but that was not the point this time ;-)
User Comment
Submitted by Karoshier on 2 November 2012
If I understand correctly, ROR $D1D8 selects a custom font in the area $2000-$2F00 which gets then slowly filled by STA($6D),y. SHX $D3E0,y takes care of zeroing the registers from $D020 onward (X always =$00). But since page crossing does not work as expected, I guess the remaining zeros (indexes $20-$FF) are stored in zero page. Am I missing something?
Anyway kudos for this!
User Comment
Submitted by Rudi on 2 November 2012
improved on 32 Bytes Fuzzy Logic

i can't get my head around the ASO and XAS-instructions. could you please explain JAC. nice going.

btw. for stripping a byte you can replace the ADC $d012 with INS $6d. (.byte $e3, $6d). so you get 25 byte version.
Search CSDb
Advanced
Navigate
Prev - Random - Next
Detailed Info
· Summaries
· User Comments (3)
· Production Notes
Fun Stuff
· Goofs
· Hidden Parts
· Trivia
Forum
· Discuss this release
Sponsored links
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-2018
Page generated in: 0.084 sec.