From: Bernard Blackham Date: Wed, 6 Aug 2003 01:30:18 +0000 (+0000) Subject: some clarifications X-Git-Tag: ROMW~108 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=ae4ef2d247312bebaa1054a7ab46219146b39a08;p=uccvend-snackrom.git some clarifications --- diff --git a/ROM-2003/vend.asm b/ROM-2003/vend.asm index ee733c1..60c92ff 100644 --- a/ROM-2003/vend.asm +++ b/ROM-2003/vend.asm @@ -7942,7 +7942,7 @@ BDB4 39 9 rts jump78: ; start/finish sending a byte to the display -; stack parameter - 0 to disable clock (finish), 1 to enable clock (start) +; stack parameter - 0 to disable display clock (for reading keypad), 1 to enable ; lower 8-bits of D - byte to write to display. ; bytes with bit 7 unset are characters (0-127) ; bytes with bit 7 set are control commands. @@ -8060,7 +8060,7 @@ BE6F BD E5 96 ... jsr e596 ;jump115 - 100ms delay BE72 CE 10 00 ... ldx #1000 BE75 1C 00 80 .. bset 00,x, #80 -; set clock polarity +; set SPI enable BE78 CE 10 28 ... ldx #1028 BE7B 1C 00 40 ... bset 00,x, #40 @@ -8080,7 +8080,7 @@ BE90 CC 00 E0 ... ldd #00e0 ;11100000 BE93 BD BD B5 ... jsr bdb5 ;jump78 BE96 38 8 pulx -; revert clock polarity +; revert SPI enable BE97 CE 10 28 ..( ldx #1028 BE9A 1D 00 40 ... bclr 00,x, #40 BE9D 39 9 rts