pouët.net

Go to bottom
rainbow49 by Genesis Project [web]
[nfo]
screenshot added by wertstahl on 2020-09-27 22:48:37
platform :
type :
release date : september 2020
  • 12
  • 3
  • 0
popularity : 56%
 56%
  • 0.80
alltime top: #12502
added on the 2020-09-27 22:48:37 by wertstahl wertstahl

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter pinterest tumblr bluesky threads

comments

🏳️‍🌈
rulez added on the 2020-09-28 02:55:51 by DevEd DevEd
🏳️‍🌈 on the c64
rulez added on the 2020-09-28 08:53:57 by Queen_Luna Queen_Luna
Quote:
🏳️‍🌈
rulez added on the 2020-09-28 09:30:41 by SiR SiR
wait this isnt german flag
added on the 2020-09-28 10:12:16 by leGend leGend
Well... At least this isn't openly named after a particular pretentious sect.
added on the 2020-09-28 10:37:39 by Tesseract Tesseract
23 byte version, might or might not be rule-bending:

Code: * = $7c SEI loop: LDA $D012 AND #$E0 TAX STA $D011,X LDY $A355,X SRE $A651,Y STA $D020 BNE loop


Hex: 7c 00 78 ad 12 d0 29 e0 aa 9d 11 d0 bc 55 a3 5b 51 a6 8d 20 d0 d0 ec

Load normally, ignore the load error (it overwrites system variables in the zeropage which confuses the system), start with RUN.

This abuses the ROM as a source of pseudo randomness for computing the intended color from the current rasterline. Plus a few tweaks for stabilizing the timing so it does not flicker.
rulez added on the 2020-09-28 12:42:44 by Kabuto Kabuto
Sizecoding and 🏳️‍🌈!
rulez added on the 2020-09-28 13:21:29 by baah baah
Kabuto: how did you even come up with finding that sequence in ROM for the colors and furthermore so that it makes sense in conjunction with sre?
added on the 2020-09-28 14:14:14 by wertstahl wertstahl
http://dl.dataelephant.net/rainbow23.zip okay so here is kabuto`s version, which actually also autostarts, no need to run. 23 bytes with loadingbytes. i have no idea how.
added on the 2020-09-28 14:26:36 by wertstahl wertstahl
🏳️‍🌈
rulez added on the 2020-09-28 14:27:02 by v3nom v3nom
Wertstahl: brute-force search that emulates a number of potential useful opcodes :-)

19-byte 🏳️‍🌈 - no more LOAD ERROR but this "waves" a bit, couldn't find a way of stabilizing this without increasing its size:

Code: * = $7c SEI loop: SRE $ECBE,X AND $EDA9,X STA $D010,Y LAX $D012 ASL TAY BVC loop


Hex: 7C 00 78 5F BE EC 3D A9 ED 99 10 D0 AF 12 D0 0A A8 50 F0

1st run: starts with A=$52, X=$FF, Y=$01. Will end up writing $20 to $D011 to disable the screen.

Further runs: ASL / TAY ensures that Y is always even (-> will never write $D011 again) and writes go to the border register every 32 rasterlines.
added on the 2020-09-28 15:18:13 by Kabuto Kabuto
wow! 👏👏👏 for the 19b and the approach. i would have never thought of that. thats almost cheating! ;-) but then again, thats what sizecoding is all about, right? thx for the explanation!
added on the 2020-09-28 16:41:07 by wertstahl wertstahl
Size coding, 🏳️‍🌈 and code golfing in a good way. Love seeing this happen :)
rulez added on the 2020-09-29 12:35:32 by alia alia
🏳️‍🌈 and respect for the 19b! Amazing to see this outside DOS =)
rulez added on the 2020-09-29 12:39:17 by HellMood HellMood
🏳️‍🌈
rulez added on the 2020-09-29 13:58:08 by ferris ferris
🏳️‍🌈
rulez added on the 2020-09-29 14:16:38 by kimi kardashian kimi kardashian
🏳️‍🌈
rulez added on the 2020-09-30 04:49:48 by Xyl2k Xyl2k
..and compliments to Kabuto!
rulez added on the 2020-10-02 16:42:14 by w00t! w00t!

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment

Go to top