minor polishing
This commit is contained in:
parent
c53631ec25
commit
7ea611d678
|
@ -345,7 +345,7 @@ BLOCK_H = 2
|
|||
bne .enterLoop
|
||||
|
||||
; the QR code kernel
|
||||
.loopKernel ; @53
|
||||
LoopKernel ; @53
|
||||
lda FirstIdxTbl,x ; 4*
|
||||
cmp #1 ; 2
|
||||
bcs .newFirst ; 2/3
|
||||
|
@ -381,7 +381,8 @@ BLOCK_H = 2
|
|||
dex ; 2
|
||||
sta GRP0 ; 3 = 16 @48
|
||||
bcs .loopBlock ; 2/3
|
||||
bpl .loopKernel ; 3/2=5/4
|
||||
bpl LoopKernel ; 3/2=5/4
|
||||
CHECKPAGE LoopKernel
|
||||
sta WSYNC
|
||||
;---------------------------------------------------------------
|
||||
sty ENAM1
|
||||
|
@ -417,7 +418,7 @@ BLOCK_H = 7
|
|||
beq .contBlock ; 3
|
||||
|
||||
; the QR code kernel
|
||||
.loopKernel ; @47/48
|
||||
LoopKernel ; @47/48
|
||||
lda FirstIdxTbl,x ; 4
|
||||
sty PF0 ; 3
|
||||
sty PF2 ; 3
|
||||
|
@ -457,7 +458,8 @@ BLOCK_H = 7
|
|||
dey ; 2
|
||||
bne .loopBlock ; 3/2
|
||||
dex ; 2
|
||||
bpl .loopKernel ; 3/2=9/8 @47/48
|
||||
bpl LoopKernel ; 3/2=9/8 @47/48
|
||||
CHECKPAGE LoopKernel
|
||||
SLEEP 2 ; 2
|
||||
sty PF2 ; 3 @51/52
|
||||
sty PF0 ; 3 @54/55
|
||||
|
|
|
@ -24,7 +24,10 @@ Instructions:
|
|||
- InvertPixel: inverts the pixel at position x (Y), y (X)
|
||||
Note: Both routines MUST NOT change X and Y registers!
|
||||
|
||||
5. Add message text using the START_MSG, n x ADD_MSG_BYTE, STOP_MSG
|
||||
5. Add message text using macros
|
||||
- first START_MSG
|
||||
- then for each byte ADD_MSG_BYTE
|
||||
- finally STOP_MSG
|
||||
|
||||
6. Set qrPattern to 0..7 (chosing a mask pattern)
|
||||
|
||||
|
@ -33,4 +36,3 @@ Instructions:
|
|||
8. Draw the generated QR code bitmap
|
||||
|
||||
That's all! :)
|
||||
|
||||
|
|
Loading…
Reference in New Issue