Advertisement
yugorin

pierwsze wypociny

Nov 18th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :BasicUpstart2(main)
  2. * = $2000
  3. .label PamiecEkranu = $4400
  4. .label Ramka = $d020
  5. .label Ekran = $d021
  6.  
  7. .label memory_setup_register_D018 = $d018
  8. .label VIC_bank = $dd00
  9. //----------------------------------------------------------
  10. // Code for creating the breakpoint file sent to Vice.
  11. //----------------------------------------------------------
  12. .var _useBinFolderForBreakpoints = cmdLineVars.get("usebin") == "true"
  13. .var _createDebugFiles = cmdLineVars.get("afo") == "true"
  14. .print "File creation " + [_createDebugFiles
  15.     ? "enabled (creating breakpoint file)"
  16.     : "disabled (no breakpoint file created)"]
  17. .var brkFile
  18. .if(_createDebugFiles) {
  19.     .if(_useBinFolderForBreakpoints)
  20.         .eval brkFile = createFile("bin/breakpoints.txt")
  21.     else
  22.         .eval brkFile = createFile("breakpoints.txt")
  23. }
  24. .macro break() {
  25. .if(_createDebugFiles) {
  26.     .eval brkFile.writeln("break " + toHexString(*))
  27.     }
  28. }
  29. //------------------------------------------------------
  30.  
  31. .macro trybTekstowy () {
  32. lda #$1b
  33. sta $d011
  34. lda #$c8
  35. sta $d016
  36.        
  37. }
  38.  
  39. .macro trybGraficzny()
  40. {
  41.     lda #$3b
  42.      sta $d011        
  43.  
  44.  
  45.   lda #$08
  46.   sta $d016
  47. }
  48.  
  49. .macro wybierz_index_charmem_pamieci_D018(index) {
  50.   lda memory_setup_register_D018
  51.   and #%11110001 // ustawia tylko bity oznaczone 0
  52.   ora #[index << 1]  // wybiera numer strony pamięci według mapy C64 z netu
  53.   sta memory_setup_register_D018 // zapisuje do $D018
  54. }
  55.  
  56. .macro wybierz_index_screen_memory_pamieci_D018(index) {
  57.   lda memory_setup_register_D018
  58.   and #%00001111 // ustawia tylko bity oznaczone 0
  59.   ora #[index << 4]  // wybiera numer strony pamięci według mapy C64 z netu
  60.   sta memory_setup_register_D018 // zapisuje do $D018
  61. }
  62.  
  63.  
  64. .macro wybierz_index_banku_pamieci_VIC_DD00(index) {
  65.     lda VIC_bank  
  66.     and #%11111100 // zeruje bit #0 i #1
  67.     ora #[index ^ %00000011] // XOR na wartości z index
  68.     sta VIC_bank
  69. }
  70.  
  71. .macro ClearScreen(PamiecEkranu, clearByte) {
  72.   lda #clearByte
  73.   ldx #0
  74. !loop:
  75.   sta PamiecEkranu, x
  76.   sta PamiecEkranu + $100, x
  77.   sta PamiecEkranu + $200, x
  78.   sta PamiecEkranu + $300, x
  79.   inx
  80.   bne !loop-
  81. }
  82.  
  83. .macro ClearScreen_DOL(PamiecEkranu, clearByte) {
  84.   lda #clearByte
  85.   ldx #0
  86. !loop:
  87.   sta PamiecEkranu+633, x
  88.   sta PamiecEkranu+633+60, x
  89.  
  90.   inx
  91.   bne !loop-
  92. }
  93.  
  94. .pseudocommand pause cycles {
  95.   :ensureImmediateArgument(cycles)
  96.   .var x = floor(cycles.getValue())
  97.   .if (x<2) .error "Cant make a pause on " + x + " cycles"
  98.  
  99.   // Take care of odd cyclecount  
  100.   .if ([x&1]==1) {
  101.     bit $00
  102.     .eval x=x-3
  103.   }
  104.  
  105.   // Take care of the rest
  106.   .if (x>0)
  107.     :nop #x/2
  108. }
  109.  
  110.  
  111. //---------------------------------
  112. // repetition commands
  113. //---------------------------------
  114. .macro ensureImmediateArgument(arg) {
  115.   .if (arg.getType()!=AT_IMMEDIATE) .error "The argument must be immediate!"
  116. }
  117. .pseudocommand asl x {
  118.   :ensureImmediateArgument(x)
  119.   .for (var i=0; i<x.getValue(); i++) asl
  120. }
  121. .pseudocommand lsr x {
  122.   :ensureImmediateArgument(x)
  123.   .for (var i=0; i<x.getValue(); i++) lsr
  124. }
  125. .pseudocommand rol x {
  126.   :ensureImmediateArgument(x)
  127.   .for (var i=0; i<x.getValue(); i++) rol
  128. }
  129. .pseudocommand ror x {
  130.   :ensureImmediateArgument(x)
  131.   .for (var i=0; i<x.getValue(); i++) ror
  132. }
  133.  
  134. .pseudocommand pla x {
  135.   :ensureImmediateArgument(x)
  136.   .for (var i=0; i<x.getValue(); i++) pla
  137. }
  138.  
  139. .pseudocommand nop x {
  140.   :ensureImmediateArgument(x)
  141.   .for (var i=0; i<x.getValue(); i++) nop
  142. }
  143.  
  144.  
  145. main:
  146.  
  147.           sei         //wyłączenie flafi przerwania
  148.               :wybierz_index_banku_pamieci_VIC_DD00(1)                                        
  149.         :wybierz_index_charmem_pamieci_D018(3)
  150.  
  151.            lda #$01
  152.           sta $d027
  153.           sta $d028
  154.           sta $d029
  155.           sta $d02a
  156.      
  157.           lda #$06
  158.           sta $d02b
  159.           sta $d02c
  160.           sta $d02d
  161.           sta $d02e
  162.  
  163.  
  164. lda #$ff            // bit 0 zapalony
  165. sta $d015  
  166.  
  167.          
  168. ldx #$77  // mniejsza wartośc przesuwa w lewo, większa w prawo
  169. lda #$8f  // mniejsza wartośc przesuwa do góry, większa w dół
  170. sta $d001           // kwadrat z logo
  171. stx $d000          
  172.  
  173.  
  174.  
  175.  
  176.  
  177. ldx #$90        // mniejsza wartośc przesuwa do góry, większa w dół
  178. lda #$90        /// sa - // mniejsza wartośc przesuwa w lewo, większa w prawo
  179. sta $d002
  180. stx $d003
  181.  
  182. ldx #$90              // mniejsza wartośc przesuwa do góry, większa w dół
  183. lda #$a8        // ma   /// sa - // mniejsza wartośc przesuwa w lewo, większa w prawo
  184. sta $d004
  185. stx $d005
  186.  
  187. ldx #$90           // mniejsza wartośc przesuwa do góry, większa w dół
  188. lda #$c0        // r  /// sa - // mniejsza wartośc przesuwa w lewo, większa w prawo
  189. sta $d006
  190. stx $d007
  191.  
  192.  
  193.  
  194. ldx #$91
  195. lda #$75        // drugi kwadrat jako cien
  196. sta $d008
  197. stx $d009
  198.  
  199.  
  200. ldx #$92
  201. lda #$8e        // cien sa
  202. sta $d00a
  203. stx $d00b
  204.  
  205. ldx #$92
  206. lda #$a6
  207. sta $d00c
  208. stx $d00d
  209.  
  210. ldx #$92
  211. lda #$be
  212. sta $d00e
  213. stx $d00f
  214.  
  215.             ldy #$7f    ////; $7f = %01111111
  216.             sty $dc0d   ////; wyłączamy timer CIA
  217.             sty $dd0d   ////; ; wyłączamy timer CIA
  218.             lda $dc0d   ////; kasuje wszystki przerwania CIA w kolejce
  219.             lda $dd0d   ////; kasuje wszystki przerwania CIA w kolejce
  220.          
  221.             lda #$01    ////; Set Interrupt Request Mask...
  222.             sta $d01a   ////; ...we want IRQ by Rasterbeam
  223.  
  224.             lda #<irq1   ////; wskaźnik to IRQ
  225.             ldx #>irq1
  226.             sta $314    ////; zapisz tutaj
  227.             stx $315  
  228.  
  229.             lda #$00    ////; ustawiam pierwsze przerwanie na raster 0
  230.             sta $d012
  231.             lda $d011   ////; ustawiam 9 bit z $d011 na 0            
  232.             and #$7f    ////;
  233.             sta $d011   ////;
  234.  
  235.  
  236.           lda #$00
  237.           jsr $1000
  238.  
  239.  
  240. //            :trybGraficzny()
  241.  //       :wybierz_index_charmem_pamieci_D018(0)
  242.   //      :wybierz_index_screen_memory_pamieci_D018(15)
  243.    
  244.            // jsr obrazek
  245.     :ClearScreen(PamiecEkranu,$20)
  246.  
  247.  
  248. lda #$20
  249. sta $47f8
  250.  
  251.  lda #$21
  252.  sta $47f9
  253.  
  254.  lda #$22
  255.  sta $47fa
  256.  
  257.  lda #$23
  258.  sta $47fb
  259.  
  260.  lda #$20
  261.  sta $47fc
  262.  
  263.  lda #$21
  264.  sta $47fd
  265.  
  266.  lda #$22
  267.  sta $47fe
  268.  
  269.  lda #$23
  270.  sta $47ff
  271.    
  272.     //////////// ustawia naroniki
  273.  
  274.     lda #$1b
  275.     sta $4400
  276.     lda #$1c
  277.     sta $4427
  278.     lda #$1e
  279.     sta $47c0
  280.     lda #$1f
  281.     sta $47e7
  282.  
  283. /// wstawia fonty w pierwszą linijkę
  284.   lda #$1d
  285.   ldx #38
  286. !loop:
  287.   sta PamiecEkranu, x
  288.  
  289.     dex
  290.   bne !loop-
  291.  
  292. /// wstawia fonty w pierwszą linijkę
  293.   lda #$21
  294.   ldx #38
  295. !loop:
  296.   sta $47c0, x
  297.  
  298.     dex
  299.   bne !loop-
  300.  
  301.  
  302.  
  303. /// czarna pierwsza linia
  304. // i ostatnia linia
  305. lda #$00
  306.   ldx #40
  307. !loop:
  308.   sta $d7ff,x
  309.   sta $dbbf,x
  310.     dex
  311.   bne !loop-
  312.  
  313. /////////////////
  314.  
  315.  
  316.             cli         ////; clear interrupt disable flag
  317.          
  318.  
  319.             jsr wyswietl_text_1
  320.             jsr wyswietl_text_2
  321.  
  322.             jsr opoznienie3
  323.  
  324.             jsr opoznienie3
  325.             jsr opoznienie3
  326.             jsr opoznienie3
  327.             :ClearScreen_DOL(PamiecEkranu,$20)
  328.  
  329.             jsr wyswietl_text_3
  330.             jsr opoznienie3
  331.             jsr opoznienie3
  332.             jsr opoznienie3
  333.             jsr opoznienie3
  334.            
  335.  
  336.             :ClearScreen_DOL(PamiecEkranu,$20)
  337.  
  338.             jsr wyswietl_text_4
  339.             jsr opoznienie3
  340.             jsr opoznienie3
  341.             jsr opoznienie3
  342.             jsr opoznienie3
  343.             ClearScreen_DOL(PamiecEkranu,$20)
  344.            jsr wyswietl_text_5
  345. jsr opoznienie3
  346.             jsr opoznienie3
  347.             jsr opoznienie3
  348.             jsr opoznienie3
  349.             ClearScreen_DOL(PamiecEkranu,$20)
  350.  
  351.             jsr  wyswietl_text_6
  352.             jsr opoznienie3
  353.             jsr opoznienie3
  354.             jsr opoznienie3
  355.   //          ClearScreen_DOL(PamiecEkranu,$20)
  356. //            jsr  wyswietl_text_7
  357.  
  358.             jmp *       ////; infinite loop
  359.  
  360.  
  361. ////;============================================================
  362. ////;    custom interrupt routine
  363. ////;============================================================
  364.  
  365.                
  366. irq1:  
  367.         inc $d019
  368. //        inc Ramka
  369.         lda #$37
  370.         sta $d012
  371.  
  372.         :pause #11
  373. //  :trybTekstowy()
  374.  
  375.   //      :wybierz_index_charmem_pamieci_D018(2)      
  376.         // kod poniej wykonuje się pomiędzy rastrem 34 a 80
  377.         // przerwanie jest od rastra 54 do 63
  378. ///////////////////////////////////////////////////////////////////////        
  379.  
  380.                       ldy #$00
  381. !cykl:
  382.                       ldx cykle2,y
  383. !petla:
  384.                       dex
  385.                       bne !petla-
  386.  
  387.                       lda brazowe,y
  388.                       sta Ekran
  389.                       sta Ramka
  390.                       iny
  391.                       cpy #$08
  392.                       bne !cykl-    
  393.  
  394.                       lda #$06
  395.                       sta Ekran
  396. ///////////////////////////////////////////////////////////////////////        
  397.  
  398.  
  399.  
  400.  
  401.  
  402.         lda #<irq2
  403.         sta $0314
  404.         lda #>irq2
  405.         sta $0315
  406.         pla
  407.         tay
  408.         pla
  409.         tax
  410.         pla
  411.   //      dec Ramka
  412.  
  413.         rti
  414.  
  415.  
  416.  
  417.  
  418.  
  419. irq2:  
  420.         inc $d019
  421.         //inc Ramka
  422.  
  423.         lda #$7a // pozycja środkowego rastra
  424.         sta $d012
  425.   //      :wybierz_index_charmem_pamieci_D018(2)      
  426.         // kod poniej wykonuje się pomiędzy rastrem 34 a 80
  427.         // przerwanie jest od rastra 54 do 63
  428. ///////////////////////////////////////////////////////////////////////        
  429.  
  430. jsr colwash
  431. jsr $1003          
  432.  
  433. ///////////////////////////////////////////////////////////////////////        
  434.  
  435.  
  436.  
  437.  
  438.  
  439.         lda #<irq3
  440.         sta $0314
  441.         lda #>irq3
  442.         sta $0315
  443.         pla
  444.         tay
  445.         pla
  446.         tax
  447.         pla
  448.         //dec Ramka
  449.  
  450.         rti
  451.  
  452.  
  453.  
  454. irq3:  
  455.  
  456.         inc $d019
  457.  
  458.         lda #$aa // pozycja ostatniego rastra
  459.         sta $d012
  460. :pause#10
  461.  
  462.   //      :wybierz_index_charmem_pamieci_D018(2)      
  463.         // kod poniej wykonuje się pomiędzy rastrem 34 a 80
  464.         // przerwanie jest od rastra 54 do 63
  465. ///////////////////////////////////////////////////////////////////////        
  466.              ldy #$00
  467.              
  468.              :pause#7
  469. !cykl:
  470.                       ldx cykle,y
  471. !petla:
  472.                       dex
  473.                       bne !petla-
  474.  
  475.                       lda niebieskie,y
  476.                       sta Ekran
  477.                       sta Ramka
  478.                       iny
  479.                       cpy #$0f
  480.                       bne !cykl-    
  481.  
  482.  
  483. ///////////////////////////////////////////////////////////////////////        
  484.  
  485.  
  486.         lda #<irq1
  487.         sta $0314
  488.         lda #>irq1
  489.         sta $0315
  490.         pla
  491.         tay
  492.         pla
  493.         tax
  494.         pla
  495.         rti
  496.  
  497.  
  498.  
  499.  
  500. ///////////////////////////////////////////////////////////////// wyświetyla tekst na górnym przerwaniu
  501. wyswietl_text_1:
  502.     ldx #$00
  503.  
  504. !petla:
  505.     lda teksty,x
  506.     sta PamiecEkranu+120,x
  507.     jsr opoznienie
  508.     cpx #159
  509.     beq powrot
  510.     inx
  511.     bne !petla-
  512.  
  513. powrot:  
  514.     rts
  515. ///////////////////////////////////////////////////////////////// wyświetyla tekst na górnym przerwaniu
  516.  
  517.  
  518.  
  519.  
  520. ///////////////////////////////////////////////////////////////// wyświetyla tekst na dolnym przerwaniu
  521. wyswietl_text_2:
  522.     ldx #$00
  523. !petla:
  524.     lda tekst_2,x
  525.     sta PamiecEkranu+680,x
  526.     jsr opoznienie
  527.     cpx #239
  528.     beq !powrot+
  529.     inx
  530.     bne !petla-
  531. !powrot:
  532.     rts
  533. ///////////////////////////////////////////////////////////////// wyświetyla tekst na dolnym przerwaniu
  534.  
  535.  
  536.  
  537. ///////////////////////////////////////////////////////////////// wyświetyla tekst na dolnym przerwaniu - zmiana ekranu
  538. wyswietl_text_3:
  539.     ldx #$00
  540. !petla:
  541.     lda tekst_3,x
  542.     sta PamiecEkranu+841,x
  543.     jsr opoznienie
  544.     cpx #39
  545.     beq !powrot+
  546.     inx
  547.     bne !petla-
  548. !powrot:
  549.     rts
  550. ///////////////////////////////////////////////////////////////// wyświetyla tekst na dolnym przerwaniu - zmiana ekranu
  551.  
  552.  
  553.  
  554. wyswietl_text_4:
  555.     ldx #$00
  556. !petla:
  557.     lda tekst_4,x
  558.     sta PamiecEkranu+680,x
  559.     jsr opoznienie
  560.     cpx #239
  561.     beq !powrot+
  562.     inx
  563.     bne !petla-
  564. !powrot:
  565.     rts
  566.  
  567.  
  568. wyswietl_text_5:
  569.     ldx #$00
  570. !petla:
  571.     lda tekst_5,x
  572.     sta PamiecEkranu+680,x
  573.     jsr opoznienie
  574.     cpx #239
  575.     beq !powrot+
  576.     inx
  577.     bne !petla-
  578. !powrot:
  579.     rts
  580.  
  581. wyswietl_text_6:
  582.     ldx #$00
  583. !petla:
  584.     lda tekst_6,x
  585.     sta PamiecEkranu+760,x
  586.     jsr opoznienie
  587.     cpx #199
  588.     beq !powrot+
  589.     inx
  590.     bne !petla-
  591. !powrot:
  592.     rts
  593.  
  594.  
  595. /*wyswietl_text_7:
  596.     ldx #$00
  597. !petla:
  598.     lda tekst_7,x
  599.     sta PamiecEkranu+851,x
  600.     jsr opoznienie
  601.     cpx #120
  602.     beq !powrot+
  603.     inx
  604.     bne !petla-
  605. !powrot:
  606.     rts
  607.  
  608. wyswietl_text_8:
  609.     ldx #$00
  610. !petla:
  611.     lda tekst_8,x
  612.     sta PamiecEkranu+851,x
  613.     jsr opoznienie
  614.     cpx #120
  615.     beq !powrot+
  616.     inx
  617.     bne !petla-
  618. !powrot:
  619.     rts
  620. */
  621.  
  622. opoznienie:
  623.       txa
  624.       ldx #$00  
  625. petla1:
  626.       ldy #$00
  627. petla2:
  628.       iny
  629.       cpy #$40
  630.       bne petla2
  631.       inx
  632.       cpx #$90
  633.       bne petla1
  634.       tax
  635.       rts
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.        
  647. colwash:   ldx #$27        //; load x-register with #$27 to work through 0-39 iterations
  648.           lda color+$28   //; init accumulator with the last color from first color table
  649.  
  650. cycle1:    ldy color-1,x   //; remember the current color in color table in this iteration
  651.           sta color-1,x   //; overwrite that location with color from accumulator
  652.           sta $d800+120,x     //; put it into Color Ram into column x
  653.           tya             //; transfer our remembered color back to accumulator
  654.           dex             //; decrement x-register to go to next iteration
  655.           bne cycle1      //; repeat if there are iterations left
  656.           sta color+$28   //; otherwise store te last color from accu into color table
  657.           sta $d800+120       //; ... and into Color Ram
  658.                            
  659. colwash2:  ldx #$00        //; load x-register with #$00
  660.           lda color2+$28  //; load the last color from the second color table
  661.  
  662. cycle2:    ldy color2,x    //; remember color at currently looked color2 table location
  663.           sta color2,x    //; overwrite location with color from accumulator
  664.           sta $d800+200,x     //; ... and write it to Color Ram
  665.           tya             //; transfer our remembered color back to accumulator
  666.           inx             //; increment x-register to go to next iteraton
  667.           cpx #$28        //; have we gone through 39 iterations yet?
  668.           bne cycle2      //; if no, repeat
  669.           sta color2+$28  //; if yes, store the final color from accu into color2 table
  670.           sta $d800+200//+$27   //; and write it into Color Ram
  671.  
  672.           rts             //; return from subroutine
  673.  
  674.  
  675. color:       .byte $09,$09,$02,$02,$08
  676.              .byte $08,$0a,$0a,$0f,$0f
  677.              .byte $07,$07,$01,$01,$01
  678.              .byte $01,$01,$01,$01,$01
  679.              .byte $01,$01,$01,$01,$01
  680.              .byte $01,$01,$01,$07,$07
  681.              .byte $0f,$0f,$0a,$0a,$08
  682.              .byte $08,$02,$02,$09,$09
  683.  
  684. color2:       .byte $09,$09,$02,$02,$08
  685.              .byte $08,$0a,$0a,$0f,$0f
  686.              .byte $07,$07,$01,$01,$01
  687.              .byte $01,$01,$01,$01,$01
  688.              .byte $01,$01,$01,$01,$01
  689.              .byte $01,$01,$01,$07,$07
  690.              .byte $0f,$0f,$0a,$0a,$08
  691.              .byte $08,$02,$02,$09,$09
  692.  
  693.  
  694.  
  695. obrazek:
  696.  
  697.    ldx #$00
  698.    
  699. laduj_obrazek:
  700. //    lda $3f40+$4000,x
  701. //    sta PamiecEkranu,x
  702.     lda $3f40+$4000+256,x
  703.     sta PamiecEkranu+256,x
  704.     lda $3f40+$4000+300,x
  705.     sta PamiecEkranu+300,x
  706. //    lda $3f40+$4000+768,x
  707. //    sta PamiecEkranu+768,x
  708.     dex
  709.     bne laduj_obrazek
  710.     rts
  711.  
  712.  
  713. opoznienie2:
  714.         txa
  715.             ldx #$00   
  716.  
  717. petla1_2:
  718.             ldy #$00
  719.  
  720. petla2_2:
  721.             iny
  722.             cpy #$50
  723.             bne petla2_2
  724.             inx
  725.             cpx #$90
  726.             bne petla1_2
  727.             tax
  728.             rts
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736. opoznienie3:
  737.         txa
  738.             ldx #$00   
  739.  
  740. petla4_1:
  741.             ldy #$00
  742.  
  743. petla4_2:
  744.             iny
  745.             cpy #$ff
  746.             bne petla4_2
  747.             inx
  748.             cpx #$ff
  749.             bne petla4_1
  750.             tax
  751.             rts
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758. gorna_linia:
  759.     .text "]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]"
  760. dolna_linia:
  761.     .text "     "
  762. teksty:
  763.         .text "     yugorin of samar productions       "
  764.     .text "              presents                  "
  765.     .text "         'pierwsze wypociny'            "
  766.     .text "  since 30 years when i was off scene   "
  767.  
  768.  
  769.  
  770.  
  771.  
  772. tekst_2:
  773. .text " i still don't know how to make a       "
  774. .text " scrolling text but i need some time to "
  775. .text " do so. i very much wanted to make a    "
  776. .text " first step to be able to say to people "
  777. .text "'i got back to where i was 30 years ago "
  778. .text " when i stopped learning asm as a child'"
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785. tekst_3:
  786. .text " never before have i created a scroll.  "
  787.  
  788. tekst_4:
  789.  
  790. .text " thanks to dkt,isildur and slajerek for "
  791. .text " faith,to the whole samar for welcoming "
  792. .text " me, to jammer for his dropbox welcome  "
  793. .text "shit fall.a huge thank you to my younger"
  794. .text "brother'fucking genius developer'for his"
  795. .text " faith and support.he has not clue about"
  796.  
  797.   tekst_5:
  798. .text " asm and yet he keeps explaining me what"
  799. .text " i m doing wrong. i'm so proud of him. i"
  800. .text " keep encouraging him to coding in asm  "
  801. .text " for c64 we'll see. tnx to mehowte for  "
  802. .text " 64bites series. and the last but not   "
  803. .text "      least a massive thank you to      "
  804.  
  805.  
  806.  
  807. tekst_6:
  808. .text "   asia and bianca for not going mad    "
  809. .text " each time they hear from me i'm coding "
  810. .text "          scene - i'm comming           "
  811. .text "           opole 11 dec 2016            "
  812. .text "       today is my 40'th birthday       "
  813.  
  814.  
  815. niebieskie:
  816.     .byte $06,$06,$0e,$0e,$03,$03,$01,$01,$03,$03,$0e,$0e,$0e,$0e,$0e
  817.  
  818. brazowe:
  819.     .byte $02, $08,$0a,$01,$0a,$08,$02,$00,$00,$00,$00,$00
  820.     // .byte $02,$08,$0a,$01,$0a,$08,$02,$02,$00,$00,$00
  821. /// raster $33 bad line - potem 7 linii OK i 8 znów bad lines ($3b)
  822.  
  823. cykle:
  824. .byte $01, $08, $08, $08, $08, $08, $08
  825. .byte $01, $07, $08, $08, $08, $08, $0e
  826.  
  827. cykle2:
  828. .byte $01, $08, $08, $09, $08, $08
  829. .byte $08, $08, $08, $08, $08, $08
  830.  
  831.  
  832.  
  833.  
  834.  
  835. *=$1000 "Muzyka"
  836. .import binary "glover_Small_It.sid", $7c+2
  837.  
  838. //.pc = $6000 "Logo Samar"//
  839. //.import c64 "logo.art"
  840.  
  841. .pc = $5800 "Font 1"
  842. .import c64 "fonty.prg"
  843.  
  844. .pc = $4800 "logo sprite"
  845. .import binary "logo_sprite.bin"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement