| ★ CODING ★ SOURCES ★ CODING Source &019 - Waggle Screen ★ |
| Waggle Screen | Coding Sources |
Ce source ce compile sans problème sous l'assembleur de WinAPE.;; ;; https://cpcrulez.fr ;; ;; Waggle Screen ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; DI LD hl,(#38) LD (inter+1),hl LD hl,#c9fb LD (#38),hl EI ; LD bc,#7f10 OUT (c),c LD a,#54 OUT (c),a LD c,0 OUT (c),c OUT (c),a loop LD b,#f5 vsync IN a,(c) RRA JP nc,vsync ; HALT HALT HALT ; LD b,5 centre DJNZ centre LD hl,color var LD de,ondul LD b,40 mloop PUSH bc LD bc,#7f01 OUT (C),c OUTI LD bc,#bc02 OUT (c),c INC b LD a,(de) INC de OUT (c),a LD b,6 ; tempo DJNZ tempo POP bc DJNZ mloop LD bc,#7f01 LD a,#4b OUT (c),c OUT (c),a LD bc,#bc02 OUT (c),c LD bc,#bd00+46 OUT (c),c ; LD hl,(var+1) INC hl varcom LD a,1 DEC a JP nz,noreset LD a,30 LD hl,ondul noreset LD (varcom+1),a LD (var+1),hl ; key LD bc,#f40e OUT (c),c LD bc,#f6c0 OUT (c),c XOR a OUT (c),a LD bc,#f792 OUT (c),c LD bc,#f645 OUT (c),c LD b,#f4 IN a,(c) LD bc,#f782 OUT (c),c LD bc,#f600 OUT (c),c RLA JP c,loop inter LD hl,0 LD (#38),hl RET ; ondul DEFB 46,47,47,48,48,48 DEFB 49,49,49,49,48,48,48 DEFB 47,47,46,45,45,44 DEFB 44,44,43,43,43,43 DEFB 44,44,44,45,45 DEFB 46,47,47,48,48,48 DEFB 49,49,49,49,48,48,48 DEFB 47,47,46,45,45,44 DEFB 44,44,43,43,43,43 DEFB 44,44,44,45,45 DEFB 46,47,47,48,48,48 DEFB 49,49,49,49,48,48,48 DEFB 47,47,46,45,45,44 DEFB 44,44,43,43,43,43 DEFB 44,44,44,45,45 color DEFB #5c,#4c,#5c,#4c,#4c DEFB #4e,#4c,#4e,#4e,#4a DEFB #4e,#4a,#4a,#43,#43 DEFB #43,#43,#4b,#43,#4b DEFB #4b,#43,#4b,#43,#43 DEFB #43,#43,#4a,#4a,#4e DEFB #4a,#4e,#4e,#4c,#4e DEFB #4c,#4c,#5c,#4c,#5c |
| ![]() |
|