I would use 3 lookup commands
Lookup2 allows for 16 bits, but that still would not meet your needs for 20 bits.Code:lookup digit, [$0D,$04, ...], patternA lookup digit, [$C1,$80, ...], patternB lookup digit, [$B7,$92, ...], patternC
I would use 3 lookup commands
Lookup2 allows for 16 bits, but that still would not meet your needs for 20 bits.Code:lookup digit, [$0D,$04, ...], patternA lookup digit, [$C1,$80, ...], patternB lookup digit, [$B7,$92, ...], patternC
An ugly way that would probably work are two long select case commands for HH and MM. If HH = 1 then... if HH = 2 then... etc etc. Maybe have one go from 00 to 59 and the other in reverse order to save instruction time.
Bookmarks