8bitworkshop/presets/c64/bcd.h

8 lines
180 B
C

/* add two BCD numbers */
unsigned int bcd_add(unsigned int a, unsigned int b);
/* print a 16-bit BCD to a specific address */
void draw_bcd_word(word address, word bcd_value);