Advertisement
Guest User

Untitled

a guest
Jun 7th, 2017
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     ; soft scrolling background with 4 user defined characters in a 2x2 tile.
  2.     ; it is meant to look a bit like the far background in the game Parallax
  3.     ; but I suck at graphics so it looks nothing like it. ffs!
  4.  
  5.     ; movement constants
  6.  
  7. UP  = 1
  8. DN  = 2
  9. LT   = 3
  10. RT  = 4
  11.  
  12.     ; mem locations for variables, storage, etc
  13.        
  14.         ; chars & sceen
  15.        
  16. chars    = $4000   
  17. char0    = $4000 ; locations of the user chars used in the background
  18. char1    = $4008
  19. char2    = $4010
  20. char3    = $4018
  21.  
  22. screen  = $5000
  23.        
  24.         ; storage
  25.        
  26. temp0              = $6000
  27. temp1              = $6001
  28. temp2              = $6002
  29. temp3              = $6003
  30.  
  31.         ;   key
  32.        
  33. lastkey = $10
  34. actkey  = $11
  35. mask    = $12
  36.  
  37. matrixlo    = $13
  38. matrixhi    = $14
  39.  
  40. table   = $60a0
  41.  
  42.         ; general
  43.        
  44. counter           = $6004
  45. line_ptr          = $6005
  46. framecounter = $6006
  47. timer             = $6007 ; should work that when framecounter == timer, the scroll happens
  48. direction         = $6008 ; scroll direction
  49.  
  50.         ; the chars are currently written to characters 0/1/2/3
  51.                      
  52.                             * = $c000
  53.    
  54.                             lda #0
  55.                             sta line_ptr
  56.                             sta temp0
  57.                             sta temp1
  58.                             sta temp2
  59.                             sta temp3
  60.            
  61.                             sta framecounter
  62.                             sta direction
  63.                             sta counter
  64.                            
  65.                             lda #10
  66.                             sta timer
  67.                                                                                    
  68.                             jsr $e544  ; cls
  69.                             jsr movechars
  70.                             jsr setchars
  71.                             jsr fillscreen
  72.  
  73.                             jsr key_setup                          
  74.                             jsr setup_irq
  75.                            
  76. key_in:                 jsr keyscan
  77.                             lda actkey
  78.                                                                    
  79. test_k1                 cmp #$31 ; 1
  80.                             bne test_k2
  81.                             lda #10
  82.                             sta timer
  83.                             lda #0
  84.                             sta framecounter
  85.                             jmp key_in
  86.                            
  87. test_k2:                cmp #$32 ; 2
  88.                             bne test_k3
  89.                             lda #8
  90.                             sta timer
  91.                             lda #0
  92.                             sta framecounter
  93.                             jmp key_in
  94.                            
  95. test_k3:                cmp #$33 ; 3
  96.                             bne test_k4
  97.                             lda #6
  98.                             sta timer
  99.                             lda #0
  100.                             sta framecounter
  101.                             jmp key_in
  102.                            
  103. test_k4:                cmp #$34 ; 4
  104.                             bne test_k5
  105.                             lda #4
  106.                             sta timer
  107.                             lda #0
  108.                             sta framecounter
  109.                             jmp key_in
  110.                            
  111. test_k5:                cmp #$35 ; 5
  112.                             bne test_k6
  113.                             lda #2
  114.                             sta timer
  115.                             lda #0
  116.                             sta framecounter
  117.                             jmp key_in
  118.                                                        
  119. test_k6:                cmp #$36 ; 6
  120.                             bne test_left
  121.                             lda #1
  122.                             sta timer
  123.                             lda #0
  124.                             sta framecounter
  125.                             jmp key_in
  126.                                                        
  127. test_left:              cmp #$41  ; (a for left)
  128.                             bne test_right
  129.                             lda LT
  130.                             sta direction
  131.                             jmp key_in             
  132.                            
  133. test_right:             cmp #$44  ; (d for right)
  134.                             bne test_up:
  135.                             lda RT
  136.                             sta direction
  137.                             jmp key_in
  138.                            
  139. test_up:                cmp #$57 ; (w for up)
  140.                             bne test_down
  141.                             lda UP
  142.                             sta direction
  143.                             jmp key_in
  144.                            
  145. test_down:          cmp #$53 ; (s for dn)
  146.                             bne no_key
  147.                             lda DN
  148.                             sta direction
  149. no_key:             jmp key_in         
  150.  
  151.                             ;  code to roll chars here
  152.                             ; the characters should be in ram at $4000, and the screen 4K above that.
  153.  
  154.  
  155. roll_left:              ldy #$00
  156.  
  157. lloop:                  clc
  158.                             lda char0,y
  159.                             rol
  160.                             sta char0,y
  161.                             bcc l_no_carry0
  162.                             lda #01
  163.                             jmp l_sta_tmp0                     
  164. l_no_carry0:            lda #0
  165. l_sta_tmp0:         sta temp0
  166.  
  167.                             clc
  168.                             lda char1,y
  169.                             rol
  170.                             sta char1,y
  171.                             bcc l_no_carry1
  172.                             lda #01
  173.                             jmp l_sta_tmp1                     
  174. l_no_carry1:            lda #0
  175. l_sta_tmp1:         sta temp1
  176.  
  177.                             clc
  178.                             lda char2,y
  179.                             rol
  180.                             sta char2,y
  181.                             bcc l_no_carry2
  182.                             lda #01
  183.                             jmp l_sta_tmp2                 
  184. l_no_carry2:            lda #0
  185. l_sta_tmp2:         sta temp2
  186.  
  187.                             clc
  188.                             lda char3,y
  189.                             rol
  190.                             sta char3,y
  191.                             bcc l_no_carry3
  192.                             lda #01
  193.                             jmp l_sta_tmp3                 
  194. l_no_carry3:            lda #0
  195. l_sta_tmp3:         sta temp3
  196.  
  197.                             clc
  198.                             lda char1,y
  199.                             adc temp0
  200.                             sta char1,y
  201.                             lda char0,y
  202.                             clc
  203.                             adc temp1
  204.                             sta char0,y
  205.                             clc
  206.                             lda char3,y
  207.                             adc temp2
  208.                             sta char3,y
  209.                             clc
  210.                             lda char2,y
  211.                             adc temp3
  212.                             sta char2,y
  213.                            
  214.                             lda #0
  215.                             sta temp0
  216.                             sta temp1
  217.                             sta temp2
  218.                             sta temp3
  219.                             iny
  220.                             cpy #08
  221.                             beq rl_done
  222.                             jmp lloop
  223. rl_done:                rts
  224.  
  225.                        
  226. roll_right:             ldy #0
  227.  
  228. rloop:                  clc
  229.                             lda char0,y
  230.                             ror
  231.                             sta char0,y
  232.                             bcc r_no_carry0
  233.                             lda #128
  234.                             jmp r_sta_tmp0                     
  235. r_no_carry0:        lda #0
  236. r_sta_tmp0:         sta temp0
  237.  
  238.                             clc
  239.                             lda char1,y
  240.                             ror
  241.                             sta char1,y
  242.                             bcc r_no_carry1
  243.                             lda #128
  244.                             jmp r_sta_tmp1                     
  245. r_no_carry1:        lda #0
  246. r_sta_tmp1:         sta temp1
  247.  
  248.                             clc
  249.                             lda char2,y
  250.                             ror
  251.                             sta char2,y
  252.                             bcc r_no_carry2
  253.                             lda #128
  254.                             jmp r_sta_tmp2                 
  255. r_no_carry2:        lda #0
  256. r_sta_tmp2:         sta temp2
  257.  
  258.                             clc
  259.                             lda char3,y
  260.                             ror
  261.                             sta char3,y
  262.                             bcc r_no_carry3
  263.                             lda #128
  264.                             jmp r_sta_tmp3                 
  265. r_no_carry3:        lda #0
  266. r_sta_tmp3:         sta temp3
  267.  
  268.                             clc
  269.                             lda char1,y
  270.                             adc temp0
  271.                             sta char1,y
  272.                             lda char0,y
  273.                             clc
  274.                             adc temp1
  275.                             sta char0,y
  276.                             clc
  277.                             lda char3,y
  278.                             adc temp2
  279.                             sta char3,y
  280.                             clc
  281.                             lda char2,y
  282.                             adc temp3
  283.                             sta char2,y
  284.                            
  285.                             lda #0
  286.                             sta temp0
  287.                             sta temp1
  288.                             sta temp2
  289.                             sta temp3
  290.                             iny
  291.                             cpy #08
  292.                             beq rr_done
  293.                             jmp rloop
  294. rr_done:                rts
  295.  
  296.                            
  297. roll_up:                    ldy #$01
  298.                             ldx #$00
  299.                        
  300.                             lda char0,x
  301.                             sta temp0
  302.                             lda char1,x
  303.                             sta temp1
  304.                             lda char2,x
  305.                             sta temp2
  306.                             lda char3,x
  307.                             sta temp3
  308.                                                    
  309. uloop:                  lda char0,y
  310.                             sta char0,x
  311.                             lda char1,y
  312.                             sta char1,x
  313.                             lda char2,y
  314.                             sta char2,x
  315.                             lda char3,y
  316.                             sta char3,x
  317.                            
  318.                             inx
  319.                             iny
  320.                             cpx #$08       
  321.                             bne uloop
  322.                        
  323.                             lda temp0
  324.                             sta char2+7
  325.                             lda temp1
  326.                             sta char3+7
  327.                             lda temp2
  328.                             sta char0+7
  329.                             lda temp3
  330.                             sta char1+7
  331.                             rts
  332.  
  333.                            
  334. roll_dn:                    ldy #$06
  335.                             ldx #$07
  336.                        
  337.                             lda char0,x
  338.                             sta temp0
  339.                             lda char1,x
  340.                             sta temp1
  341.                             lda char2,x
  342.                             sta temp2
  343.                             lda char3,x
  344.                             sta temp3
  345.                                                    
  346. dloop:                  lda char0,y
  347.                             sta char0,x
  348.                             lda char1,y
  349.                             sta char1,x
  350.                             lda char2,y
  351.                             sta char2,x
  352.                             lda char3,y
  353.                             sta char3,x
  354.                            
  355.                             dex
  356.                             dey
  357.                             cpx #$00       
  358.                             bne dloop
  359.                        
  360.                             lda temp0
  361.                             sta char2
  362.                             lda temp1
  363.                             sta char3  
  364.                             lda temp2
  365.                             sta char0
  366.                             lda temp3
  367.                             sta char1
  368.                             rts
  369.                            
  370. keyscan
  371.             lda #%11111110
  372.             sta mask
  373.    
  374.             lda #%11111101
  375.             sta $dc00
  376.             lda $dc01
  377.             and #%10000000
  378.             beq shifted ;left shift pressed
  379.  
  380.             lda #%10111111
  381.             sta $dc00
  382.             lda $dc01
  383.             and #%00010000
  384.             beq shifted ;right shift pressed
  385.    
  386.             lda #<keytabunshifted
  387.             sta matrixlo
  388.             lda #>keytabunshifted
  389.             sta matrixhi
  390.             jmp scan
  391.  
  392. shifted
  393.             lda #<keytabshifted
  394.             sta matrixlo
  395.             lda #>keytabshifted
  396.             sta matrixhi
  397.    
  398. scan        ldx #$07
  399.    
  400. rowloop
  401.             lda mask   
  402.             sta $dc00
  403.             ldy $dc01
  404.             lda table,y
  405.             beq next
  406.        
  407.             tay
  408.             lda (matrixlo),y
  409.             cmp #$01
  410.             beq next        ;skip left shift
  411.             cmp #$02
  412.             beq next        ;skip right shift
  413.             cmp lastkey
  414.             beq debounce
  415.             sta lastkey
  416.             sta actkey
  417.             rts
  418.    
  419. next   
  420.             sec
  421.             rol mask
  422.        
  423.             lda matrixlo
  424.             clc
  425.             adc #$09
  426.             sta matrixlo
  427.             bcc +
  428.             inc matrixhi
  429.    
  430. +           dex
  431.             bpl rowloop
  432.             rts
  433.    
  434. debounce        lda #$ff  ;one extra $ff column is added, because the zero value is used to detect unpressed keys
  435.                     sta actkey
  436.                     rts
  437.  
  438.  
  439. movechars:          sei
  440.                            
  441.                             lda #$33    ; make the CPU see the Character Generator ROM...
  442.                             sta $01  
  443.                            
  444.                             lda #$d0
  445.                             sta $fc
  446.  
  447.                             lda #$40
  448.                             sta $fe
  449.        
  450.                             lda #$00
  451.                             sta $fb
  452.                             sta $fd
  453.                             sta counter
  454.  
  455.                             ldy #$00
  456.                             ldx #$08
  457.                            
  458. ll:                         lda ($fb),y
  459.                             sta ($fd),y
  460.        
  461.                             iny
  462.                             bne ll
  463.                              
  464.                             inc $fc
  465.                             inc $fe
  466.        
  467.                             dex
  468.                             bne ll
  469.                
  470.                             lda #55
  471.                             sta $01
  472.        
  473.                             lda #64
  474.                             sta $d018
  475.                            
  476.                             lda $dd00
  477.                             and #$fe ; and with 254 to switch off bit one
  478.                             ora #2 ; switch on bit two
  479.                             sta $dd00
  480.  
  481.                             lda $dd02
  482.                             ora #3
  483.                             sta $dd02
  484.                            
  485.                             lda #$40
  486.                             sta $fe
  487.        
  488.                             lda #$00
  489.                             sta $fd
  490.                            
  491.                             lda #$50
  492.                             sta $288 ; 648 - screen mem start in pages of 256.  
  493.                        
  494.                             cli
  495.                             rts
  496.  
  497. setchars:
  498.                             ldx #0
  499. uc_loop:                lda uchars,x
  500.                             sta chars,x
  501.                             inx
  502.                             cpx #$20
  503.                             bne uc_loop
  504.                             rts
  505.                        
  506. fillscreen:             ; $fb/$fc = ptr for indirect
  507.  
  508.                             ldx #$00      ;   set X to zero (black color code)
  509.                             stx $d021    ;   set background color
  510.                             stx $d020    ;   set border color
  511.                             stx counter
  512.                             jsr colour_screen                          
  513.        
  514. start:                  ldx line_ptr
  515.                             lda the_lines,x
  516.                             sta $fb
  517.                             inx
  518.                             lda the_lines,x
  519.                             sta $fc
  520.                             inc line_ptr
  521.                             inc line_ptr
  522.                                                                                                                
  523.                             lda #00
  524.                             ldy #00
  525. line1_fill:             sta ($fb),y
  526.                            
  527.                             tya             ; code to alternate between char 0 and char 1
  528.                             ror
  529.                             bcc line1_odd
  530.                             lda #00
  531.                             jmp line1_done
  532. line1_odd:          lda #01            
  533.  
  534. line1_done:         iny
  535.                             cpy #40
  536.                             bne line1_fill
  537.                            
  538.                             lda counter
  539.                             cmp #25
  540.                             beq all_done               
  541.                        
  542.                             lda #02
  543. line2_fill:             sta ($fb),y
  544.                            
  545.                             tya                 ; code to alternate between char 0 and char 1 /  char 3 and char 3
  546.                             ror
  547.                             bcc line2_odd
  548.                             lda #02
  549.                             jmp line2_done
  550. line2_odd:          lda #03            
  551.  
  552. line2_done:         iny
  553.                             cpy #80
  554.                             bne line2_fill
  555.                            
  556.                             inc counter
  557.                             lda counter
  558.                             cmp #12
  559.                             beq all_done
  560.                             jmp start
  561.                            
  562.                             ; fill the last line with spaces.
  563.                            
  564. all_done:               ldx line_ptr
  565.                             lda the_lines,x
  566.                             sta $fb
  567.                             inx
  568.                             lda the_lines,x
  569.                             sta $fc
  570.                            
  571. no_inc2:                lda #32
  572. last_line:              sta ($fb),y
  573.                             iny
  574.                             cpy #40
  575.                             bne last_line
  576.                             rts
  577.                            
  578. colour_screen:  ldx #$00
  579.                             lda #11     ;   set foreground to grey in Color Ram, bkground is set to black at $d021
  580. cloop:                  sta $d800,x  
  581.                             sta $d900,x
  582.                             sta $da00,x
  583.                             sta $dae8,x
  584.  
  585.                             inx                 ;   increment X    
  586.                             bne cloop       ;   did X turn to zero yet?
  587.                                                 ;   if not, continue with the loop
  588.                             rts                 ;   return from this subroutine
  589.  
  590.                             ; keyboard routine from code base
  591.  
  592. key_setup:
  593.                 ldx #$00
  594.                 lda #$00
  595. -               sta table,x
  596.                 dex
  597.                 bne -
  598.    
  599.                 lda #$ff
  600.                 sta lastkey
  601.    
  602.                 lda #$08        ;helper table to index into keyboard matrix
  603.                 sta table+%01111111
  604.                 lda #$07
  605.                 sta table+%10111111
  606.                 lda #$06
  607.                 sta table+%11011111
  608.                 lda #$05
  609.                 sta table+%11101111
  610.                 lda #$04
  611.                 sta table+%11110111
  612.                 lda #$03
  613.                 sta table+%11111011
  614.                 lda #$02
  615.                 sta table+%11111101
  616.                 lda #$01
  617.                 sta table+%11111110
  618.    
  619.                 lda #$08        ;left shift and another key
  620.                 sta table+%01111111
  621.                 lda #$07
  622.                 sta table+%00111111
  623.                 lda #$06
  624.                 sta table+%01011111
  625.                 lda #$05
  626.                 sta table+%01101111
  627.                 lda #$04
  628.                 sta table+%01110111
  629.                 lda #$03
  630.                 sta table+%01111011
  631.                 lda #$02
  632.                 sta table+%01111101
  633.                 lda #$01
  634.                 sta table+%01111110
  635.    
  636.                 lda #$08        ;right shift and another key
  637.                 sta table+%01101111
  638.                 lda #$07
  639.                 sta table+%10101111
  640.                 lda #$06
  641.                 sta table+%11001111
  642.                 lda #$05
  643.                 sta table+%11101111
  644.                 lda #$04
  645.                 sta table+%11100111
  646.                 lda #$03
  647.                 sta table+%11101011
  648.                 lda #$02
  649.                 sta table+%11101101
  650.                 lda #$01
  651.                 sta table+%11101110
  652.                 rts
  653.  
  654. setup_irq:
  655.                                 ; setup the irq as per usual
  656.                
  657.                             sei        ;disable maskable IRQs
  658.  
  659.                             lda #$7f
  660.                             sta $dc0d  ;disable timer interrupts which can be generated by the two CIA chips
  661.                             sta $dd0d  ;the kernal uses such an interrupt to flash the cursor and scan the keyboard, so we better
  662.                                                ;stop it.
  663.  
  664.                             lda $dc0d   ;by reading this two registers we negate any pending CIA irqs.
  665.                             lda $dd0d       ;if we don't do this, a pending CIA irq might occur after we finish setting up our irq.
  666.                                                 ;we don't want that to happen.
  667.  
  668.                             lda #$01    ;this is how to tell the VICII to generate a raster interrupt
  669.                             sta $d01a
  670.  
  671.                             lda #$fd        ;this is how to tell at which rasterline we want the irq to be triggered
  672.                             sta $d012
  673.  
  674.                             lda #$1b    ;as there are more than 256 rasterlines, the topmost bit of $d011 serves as
  675.                             sta $d011   ;the 9th bit for the rasterline we want our irq to be triggered.
  676.                                                 ;here we simply set up a character screen, leaving the topmost bit 0.
  677.                            
  678.                             lda #$35    ;we turn off the BASIC and KERNAL rom here
  679.                             sta $01         ;the cpu now sees RAM everywhere except at $d000-$e000, where still the registers of
  680.                                                 ;SID/VICII/etc are visible
  681.  
  682.  
  683.                             lda #<irq           ;this is how we set up
  684.                             sta $fffe           ;the address of our interrupt code
  685.                             lda #>irq
  686.                             sta $ffff
  687.  
  688.                             cli                 ;enable maskable interrupts again
  689.  
  690.                             rts
  691.  
  692. irq:            ;The method shown here to store the registers is the most orthodox and most failsafe.
  693.  
  694.                     pha        ;store register A in stack
  695.                     txa
  696.                     pha        ;store register X in stack
  697.                     tya
  698.                     pha        ;store register Y in stack
  699.            
  700.                     lda #$ff        ;this is the orthodox and safe way of clearing the interrupt condition of the VICII.
  701.                     sta $d019   ;if you don't do this the interrupt condition will be present all the time and you end
  702.                                        ;up having the CPU running the interrupt code all the time, as when it exists the
  703.                                        ;interrupt, the interrupt request from the VICII will be there again regardless of the
  704.                                        ;rasterline counter.
  705.  
  706.                                        ;it's pretty safe to use inc $d019 (or any other rmw instruction) for brevity, they
  707.                                        ;will only fail on hardware like c65 or supercpu. c64dtv is ok with this though.
  708.  
  709.                     inc framecounter
  710.                     lda framecounter
  711.                     cmp timer
  712.                     bne no_fr_ch
  713.                     lda #0
  714.                     sta framecounter
  715.                     jmp dir_test_up
  716. no_fr_ch:       jmp finish
  717.                    
  718. dir_test_up:    lda direction
  719.                     cmp UP
  720.                     bne dir_test_dn
  721.                     jsr roll_up
  722.                     jmp finish
  723.  
  724. dir_test_dn:    lda direction
  725.                     cmp DN
  726.                     bne dir_test_lt
  727.                     jsr roll_dn
  728.                     jmp finish
  729.  
  730. dir_test_lt:    lda direction
  731.                     cmp LT
  732.                     bne dir_test_rt
  733.                     jsr roll_left
  734.                     jmp finish
  735.  
  736. dir_test_rt:    lda direction
  737.                     cmp RT
  738.                     bne finish
  739.                     jsr roll_right
  740.                     jmp finish
  741.  
  742. finish           pla
  743.                      tay        ;restore register Y from stack (remember stack is FIFO: First In First Out)
  744.                      pla
  745.                      tax        ;restore register X from stack
  746.                      pla        ;restore register A from stack
  747.  
  748.                     rti
  749.                    
  750.                 ; character definitions
  751.            
  752. uchars
  753.         !by 255
  754.         !by 102
  755.         !by 63
  756.         !by 25
  757.         !by 15
  758.         !by 6
  759.         !by 2
  760.         !by 1
  761.  
  762.         !by 255
  763.         !by 103
  764.         !by 255
  765.         !by 159
  766.         !by 255
  767.         !by 127
  768.         !by 255
  769.         !by 255
  770.  
  771.         !by 1
  772.         !by 2
  773.         !by 7
  774.         !by 9
  775.         !by 31
  776.         !by 51
  777.         !by 25
  778.         !by 204
  779.  
  780.         !by 255
  781.         !by 127
  782.         !by 255
  783.         !by 63
  784.         !by 255
  785.         !by 55
  786.         !by 155
  787.         !by 205
  788.  
  789. the_lines
  790.  
  791.     !by $00, $50
  792.     !by $50, $50
  793.     !by $a0, $50
  794.     !by $f0,  $50
  795.     !by $40, $51
  796.     !by $90, $51
  797.     !by $e0, $51
  798.     !by $30, $52
  799.     !by $80, $52
  800.     !by $d0, $52
  801.     !by $20, $53
  802.     !by $70, $53
  803.     !by $c0, $53
  804.  
  805. keytabunshifted
  806.  
  807.     !byte $ff,$14,$0D,$1D,$88,$85,$86,$87,$11 ;0
  808.     !byte $ff,$33,$57,$41,$34,$5A,$53,$45,$01 ;1
  809.     !byte $ff,$35,$52,$44,$36,$43,$46,$54,$58 ;2
  810.     !byte $ff,$37,$59,$47,$38,$42,$48,$55,$56 ;3
  811.     !byte $ff,$39,$49,$4A,$30,$4D,$4B,$4F,$4E ;4
  812.     !byte $ff,$2B,$50,$4C,$2D,$2E,$3A,$40,$2C ;5
  813.     !byte $ff,$5C,$2A,$3B,$13,$01,$3D,$5E,$2F ;6
  814.     !byte $ff,$31,$5F,$04,$32,$20,$02,$51,$03 ;7
  815.     !byte $ff
  816.  
  817. keytabshifted  
  818.     !byte $ff,$94,$8D,$9D,$8C,$89,$8A,$8B,$91
  819.     !byte $ff,$23,$D7,$C1,$24,$DA,$D3,$C5,$01
  820.     !byte $ff,$25,$D2,$C4,$26,$C3,$C6,$D4,$D8
  821.     !byte $ff,$27,$D9,$C7,$28,$C2,$C8,$D5,$D6
  822.     !byte $ff,$29,$C9,$CA,$30,$CD,$CB,$CF,$CE
  823.     !byte $ff,$DB,$D0,$CC,$DD,$3E,$5B,$BA,$3C
  824.     !byte $ff,$A9,$C0,$5D,$93,$01,$3D,$DE,$3F
  825.     !byte $ff,$21,$5F,$04,$22,$A0,$02,$D1,$83
  826.     !byte $ff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement