Hi everyone, just working through nerdy nights 9 and a bin2dec algorithm by tokumaru is showcased. I tried recreating it but can't seem to get it to work. My code is attached. Any feedback would be much appreciated! I'm using ca65
I setup variables in .segment "ZEROPAGE", i initialize the tempBinary variable in "CODE" and try to display in decimal in the NMI. I'm using the nerdy night chr file (also attached) so i don't believe any offset is required (the numbers are conveniently located in the chr file). The background is all zero and the decimal numbers should display in the top left. I even temporarily overwrote decimalResult+4 as test to make sure it appears there and it does (this is commented out but still there if you want to test too).
I setup variables in .segment "ZEROPAGE", i initialize the tempBinary variable in "CODE" and try to display in decimal in the NMI. I'm using the nerdy night chr file (also attached) so i don't believe any offset is required (the numbers are conveniently located in the chr file). The background is all zero and the decimal numbers should display in the top left. I even temporarily overwrote decimalResult+4 as test to make sure it appears there and it does (this is commented out but still there if you want to test too).
Statistics: Posted by dasefx — Sun Sep 08, 2024 7:33 pm — Replies 5 — Views 182