summaryrefslogtreecommitdiff
path: root/engine/math
AgeCommit message (Collapse)Author
2021-04-19Use rgbds 0.5.0Rangi
2020-10-26Comment, remove, or revise many unreferenced labelsRangi
2019-11-03Miscellaneous label and comment correctionsRangi
2019-06-09Document high nybble of PrintNum `c` registermid-kid
2018-09-09hMultiplicand is four bytes internally, but the high byte is always 0 since ↵Rangi
allowing four-byte multiplicands could overflow hProduct.
2018-08-26hQuotient is a four-byte buffer (fixes #558)Rangi
2018-08-25_Divide results go in hQuotient and hRemainder, not in hDividend and hDivisorRangi
Note that the result quotient is four bytes, but hQuotient is a three-byte buffer. This is because no Divide caller ever needed a four-byte quotient, so the buffer didn't include the high byte.
2018-08-25Reorganize math-related HRAM union (ffb3)Rangi
2018-08-25Use labels instead of constants for HRAMRangi
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
2018-06-25No space between labels and bodiesRangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-24Remove all address commentsmid-kid
2018-04-04Fix snake_case filenamesmid-kid
Renamed a bunch of files, most of them one-off functions, to better fit the general snake_case naming scheme. Also renamed some awfully long filenames.
2018-04-01Fix file permissionsmid-kid
I have no idea why this was a thing (do people store this repo on FAT32 flash drives or something?), but quite a bit of files had a permission of 755. This isn't really a problem, but it's inconsistent and weird.
2018-03-25Organize the engine/ directory, director's cutmid-kid
Cleaned up `engine/routines`, in favor of moving files into more appropriate directories. predef-related routines are now in top-level `engine`. `rtc/delete_save_change_clock.asm` has been split into both `menus/delete_save.asm` and `rtc/reset_password.asm`. Made a new subdirectory: * engine/math: Contains all generic math-related routines.