Users browsing this thread: 1 Guest(s)
Edit Step Mine's MP

#6
Posts: 179
Threads: 3
Thanks Received: 24
Thanks Given: 4
Joined: Apr 2015
Reputation: 18
Status
None
ROL effectively multiplies the number of hours by 2, which is the same as minutes / 30. Replacing it with NOP just uses the number of hours, which is the same as minutes / 60. The shift instructions on the 65816 (LSR, ASL, ROR, ROL) are useful for multiplying and dividing by powers of 2. Multiplying and dividing by other numbers is not as simple. The SNES can also do hardware multiplication and division which is often faster than using the CPU, though there are some restrictions.

There are a few subroutines in the FF6 code that can do generic multiplication and division. For example, C1/18D9 and C2/4781 both do unsigned hardware multiplication.
  Find
Quote  



Messages In This Thread
Edit Step Mine's MP - by doofenH - 05-10-2022, 01:32 AM
RE: Edit Step Mine's MP - by Everything - 05-10-2022, 09:27 AM
RE: Edit Step Mine's MP - by doofenH - 05-10-2022, 10:21 AM
RE: Edit Step Mine's MP - by Everything - 05-10-2022, 04:26 PM
RE: Edit Step Mine's MP - by doofenH - 05-10-2022, 08:50 PM
RE: Edit Step Mine's MP - by Everything - 05-10-2022, 09:54 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite