X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=ROM2%2Fvend.h;h=10d317152ea5e73251c79aaa7add169dfe1a5b80;hb=9366107abfbfbe85f00b27449c79284d0e1aa59e;hp=a756e25259666393fa62bb643ef8ba3899fb06a5;hpb=715d806791712ec07ec792cffa85073eaf6d8011;p=uccvend-snackrom.git diff --git a/ROM2/vend.h b/ROM2/vend.h index a756e25..10d3171 100644 --- a/ROM2/vend.h +++ b/ROM2/vend.h @@ -30,6 +30,7 @@ void delay(u16 ms); /******** Some meaningful bits ******/ #define PORTA_DISP_RESET 0x80 /* active low */ +#define PORTA_CHIME 0x10 /* chime is on when set */ #define PORTD_KEYPAD_ROW 0x20 /* clear for row 0, set for row 1 */ /* Address 3800 bits */ @@ -37,5 +38,6 @@ void delay(u16 ms); /******* from main.c *******/ int __attribute__((noreturn)) main (void); +void __attribute__((interrupt)) rti (void); #endif /* _VEND_H_ */