Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in - nap
20 Bytes for Ukraine   [2022]

20 Bytes for Ukraine Released by :
Wil

Release Date :
6 March 2022

Type :
C64 256b Intro

Released At :
Anti (Ukraine) War Demo Diskbox

User rating:awaiting 8 votes (2 left)   See votestatistics

Credits :
Code .... Wil of Vintage Computing Carinthia

Download :

Look for downloads on external sites:
 Pokefinder.org


User Comment
Submitted by Mindcooler on 8 March 2022
:D
User Comment
Submitted by MuZZa on 7 March 2022
Thank you both for the free lesson!
User Comment
Submitted by Frostbyte on 7 March 2022
That EOR masking is elegant. I've used it before for simple colour switching, it just didn't occur to me to use it for rasterline as well. I kept staring at the several branches in my code, shuffling them around with the pain of having to cater for $7a and $7b getting corrupted and also timing, and thought that "this doesn't need to be this complicated". As you proved, it didn't. :D
User Comment
Submitted by wil on 7 March 2022
@frostbyte: very elegant solution!
User Comment
Submitted by Frostbyte on 6 March 2022
This seems equally stable as the original $a7 version, and brings it down to 19 bytes:
	*=$7c
	sei
	lda #$a7
	sta ($83,x)
!:	cmp $d011,y
	bne !-
	sta $d020
	eor #$a7^$26
	bne !-
User Comment
Submitted by wil on 6 March 2022
Version where the flag is symmetric:
*=$7c
	sei
	lda #$97
	sty $d011
:
	cmp $d012
	bne :-
	sta $d020
	eor #$97^$26
	bne :-	
User Comment
Submitted by Frostbyte on 6 March 2022
Holy f**k dude. Mind blown.
Search CSDb
Advanced
Navigate
Prev - Random - Next
Detailed Info
· Summaries
· User Comments (7)
· Production Notes (1)
Fun Stuff
· Goofs
· 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.082 sec.