2 A bug in z80 subtraction codegen attempting to use iyl as right operand even on argets where this is not possible (triggering an assettion in codegen).
7 #pragma disable_warning 85
15 uint8_t KeyMenuWait();
17 ///< Show product menu
18 uint16_t SelectAmount(uint16_t amount
, uint8_t step
, const char *post
) __banked
{
26 uint8_t key
= KeyMenuWait();
32 if ( amount
< 1000 ) amount
+= step
;
37 if ( amount
> step
) amount
-= step
;
52 ASSERT(SelectAmount(0, 1, 0) == 0);
55 uint8_t KeyMenuWait() {
61 void dummy (void) __naked