X-Git-Url: https://git.ucc.asn.au/?p=uccvend-snackrom.git;a=blobdiff_plain;f=ROM2%2Fvend.h;h=dfac7f4127921fec64506515f30ba270a5d9bf0d;hp=460aa71169a3291e8805f19e69696185701f8f2f;hb=a1106ee52492a26f91897578c0761d1aedf6b44c;hpb=f5bc521c83d95d35e852747402a44d1411252c2b diff --git a/ROM2/vend.h b/ROM2/vend.h index 460aa71..dfac7f4 100644 --- a/ROM2/vend.h +++ b/ROM2/vend.h @@ -27,6 +27,7 @@ extern volatile u8 _home_sensors; #define home_sensors _home_sensors #define is_standalone() (misc_input & 0x01) /* DIP sw 1 */ +#define must_verify() (misc_input & 0x02) /* DIP sw 2 */ extern u16 _stack; @@ -35,6 +36,7 @@ void delay(u16 ms); void my_strncpy(char* dst, char* src, u8 max_size); /* for null-term strings */ bool my_strncmp(char* a, char* b, u8 len); void my_memcpy(char* dst, char* src, u8 size); +void my_memset(char* dst, u8 val, u16 count); /******** Some meaningful bits ******/ #define PORTA_CHIME 0x10 /* chime is on when set */