PEA/PER/PEI instruction and stack relative addressing modes

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
lidnariq
Posts: 9776
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: PEA/PER/PEI instruction and stack relative addressing modes

Post by lidnariq » Wed Oct 14, 2020 3:58 pm

turboxray wrote:
Wed Oct 14, 2020 7:47 am
Color Computer games used the 6809's 'U' reg for 'stack blasting' technique to draw graphics since the early 80s.
I remember enjoying reading this story about one of those instances: http://blog.moertel.com/posts/2013-12-1 ... -hack.html

turboxray
Posts: 115
Joined: Thu Oct 31, 2019 12:56 am

Re: PEA/PER/PEI instruction and stack relative addressing modes

Post by turboxray » Fri Oct 16, 2020 10:30 am

lidnariq wrote:
Wed Oct 14, 2020 3:58 pm
turboxray wrote:
Wed Oct 14, 2020 7:47 am
Color Computer games used the 6809's 'U' reg for 'stack blasting' technique to draw graphics since the early 80s.
I remember enjoying reading this story about one of those instances: http://blog.moertel.com/posts/2013-12-1 ... -hack.html
Nice! He doesn't directly mention it, but that's definitely the color computer 3. Heh - I just picked up one last week to do some dev/demo stuff on. With the 512k model, there's a slightly faster method that doesn't involve the supervisor stack S reg.

Post Reply