Hey guys...New to the site.
I am an intermediate level Z80 programmer for the Colecovision and MSX 1
However, I still need to learn a lot.
If I may be so bold to ask anyone with the know how.
I looked everywhere with several places pushing BCD and other avenues to no success.
I would like to take a simple variable say (BUB)
LD A, 130
LD (BUB), A
Then be able to display whatever number is in (BUB) as a 3 digit value
So if 134 is inside (BUB) the screen will display 134
Or even be able to use DE, HL or whatever instead of using A
as in LD HL, (BUB) so I can use values over 256
The display routines I think I can figure out but it seems separating the hundreds from the tens from the ones is a bit beyond my capabilities.
Believe me I looked all over the net including this site but maybe I am just wording my search wrong.
Every game has a score
A lot of games have count down timers or room numbers.
Logic of moving sprites around or displaying screens I am in but something as simple as displaying a set of digits more than 10 is becoming a pain in the toot.
Any help would be great because I am stalled.
Thanks for reading and I will monitor frequently.