0 Members and 3 Guests are viewing this topic.
:AsmPrgm:DB156F2600:EF0745EF2E45:F31E801686:0E052100C173:ED51723EFF:D327463CD327:ED79FB260068:EF0745EF2E45:C9
; Yes, I know you can optimize this by at least two bytes. in a, (15h) ; DB15 ld l, a ; 6F ld h, 0 ; 2600 b_call(_DispHL) ; EF0745 b_call(_NewLine) ; EF2E45 di ; F3 ld e, 80h ; 1E80 ld d, 86h ; 1686 ld c, 05 ; 0E05 ld hl, 0C100h ; 2100C1 ld (hl), e ; 73 out (c), d ; ED51 ld (hl), d ; 72 ld a, 0FFh ; 3EFF out (27h), a ; D327 ld b, (hl) ; 46 inc a ; 3C out (27h), a ; D327 out (c), a ; ED79 ei ; FB ld h, 0 ; 2600 ld l, b ; 68 b_call(_DispHL) ; EF0745 b_call(_NewLine) ; EF2E45 ret ; C9
:AsmPrgm:FBED46FD3421:10FBEF1840:FE0F20F1:ED5676C9Assembly = _: ei \ im 0 \ inc (iy+asm_flag1) \ djnz $-3 \ b_call(_GetCSC) \ cp skClear \ jr nz -_ \ im 1 \ halt \ ret
Now the second test gives me an instant "RAM cleared".