1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-25 18:33:11 +00:00
8bitworkshop/presets/c64/bcd.h

8 lines
180 B
C
Raw Normal View History

2020-04-10 02:35:38 +00:00
2022-08-11 20:27:20 +00:00
/* add two BCD numbers */
2020-04-10 02:35:38 +00:00
unsigned int bcd_add(unsigned int a, unsigned int b);
2022-08-11 20:27:20 +00:00
/* print a 16-bit BCD to a specific address */
void draw_bcd_word(word address, word bcd_value);