Users browsing this thread: 1 Guest(s)
Expanded palette hack

#12
Posts: 383
Threads: 34
Thanks Received: 10
Thanks Given: 13
Joined: Dec 2018
Reputation: 18
Status
Moog
(11-28-2019, 12:26 AM)assassin Wrote: inserting an "STA $1A" (or STX?) at C1_3E2B will let us zap 4 instructions of the new code.  we can do something similar with Y and $1C, but we'll need an "STZ $1D", so we're saving 2 bytes and negligible cycles at most.  it's a bit odd to relocate the $1A store but not the $1C, yet if speed is paramount...
The way you described this, it sounds like this optimization would be beneficial even if the palette hack isn't in place.
Am I understanding you correctly? This reduces the processing time any time a byte needs to have its bits reversed?
  Find
Quote  



Messages In This Thread
Expanded palette hack - by Eggers - 09-12-2014, 11:10 PM
RE: Expanded palette hack - by SSJ Rick - 09-15-2014, 09:55 PM
RE: Expanded palette hack - by Gi Nattak - 11-19-2019, 07:18 PM
RE: Expanded palette hack - by Odbarc - 11-24-2019, 11:45 PM
RE: Expanded palette hack - by ScarabEnigma - 11-24-2019, 11:48 PM
RE: Expanded palette hack - by Odbarc - 11-26-2019, 03:17 PM
RE: Expanded palette hack - by assassin - 11-26-2019, 12:01 AM
RE: Expanded palette hack - by Gi Nattak - 11-26-2019, 02:22 AM
RE: Expanded palette hack - by assassin - 11-26-2019, 02:44 AM
RE: Expanded palette hack - by assassin - 12-05-2019, 04:52 PM
RE: Expanded palette hack - by Gi Nattak - 11-26-2019, 11:33 AM
RE: Expanded palette hack - by assassin - 11-28-2019, 12:26 AM
RE: Expanded palette hack - by C-Dude - 11-29-2019, 12:53 PM
RE: Expanded palette hack - by assassin - 11-29-2019, 11:01 PM
RE: Expanded palette hack - by C-Dude - 11-30-2019, 12:23 AM
RE: Expanded palette hack - by Gi Nattak - 12-01-2019, 09:57 PM
RE: Expanded palette hack - by assassin - 12-02-2019, 02:55 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite