1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-29 14:51:17 +00:00
8bitworkshop/presets/c64/bcd.h
2022-08-20 18:03:54 -05:00

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);