| |
26 Bytes Fuzzy Logic [2012] |
Credits :
Download :
Look for downloads on external sites:
Pokefinder.org
User Comment Submitted by Starfox on 20 June 2024
Did anyone ever make a 24-byte version? :) clever use of the opcodes. | 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 |
| Navigate | |
|
| Detailed Info | |
|
| Fun Stuff | |
· Goofs · Hidden Parts · Trivia
|
|
| Forum | |
|
| Support CSDb | |
|
| |
|