EDASS-128-THE-OPPOSITE-SIDE-EXTENDED -------------------------------------------------------------------------------------------------- TOOL: EDASS-128 {Commodore C128 EDITOR & ASSEMBLER} Language: Assembler Extra: - Author: Misel Zivanovic Note: (C) 13th JULY 2026 - www.lived.ch, mzretro.ch --------------------------------------------------------------------------------------------------- What is this code doing? Being NEGATIVE, doesn't always need to mean to also be BAD, right! Recently i had to make a big text characters, you know, something like that: aa aa aaaaaa aa aa aaaaaa aa aa aaaaaa aa aa aaaaaa aa aa aa aa aa aa aa aaaaaa aaaaaa aa aa aa aa aaaaaa aaaaaa aa aa aa aa aa aa aa aa aa aa aa aa aa aaaaaa aaaaaa aaaaaa aaaaaa aa aa aaaaaa aaaaaa aaaaaa aaaaaa And then i thought it would be nice to have this also in inverse! Can't be so difficult to do it in assembler. I had something similar done in COMAL-80 Well, I quickly put this together, and guess, it's working! You are right, there are other ways to do this, but why sweat unnecessary. I just need it for the text size of 12 lines, not the whole screen. You are free to extend it as you wish or even add more functionality. Should not be a problem if you have followed all previous lessons until here! --------------------------------------------------------------------------------------------------- 11:30 13.07.2026, SERIOUS UPDATE, haha... --------------------------------------------------------------------------------------------------- Maybe you have already seen it, and then, maybe you didn't. In Machine-Language Monitor section, I already made a basic version of this code below. Here, i wanted to extend it a bit. Why EDASS-128 and not directly in built in ML-Monitor of Commodore C128? Well, because it's much easier to make changes especially if the code is a bit larger than a screen or just going over 25 lines! Adding more functionality is easier! And on top of that, you can assemble it to any location you need. --------------------------------------------------------------------------------------------------- EDASS-128 Assembly Source Code --------------------------------------------------------------------------------------------------- opposite00.asm -a:0011-a: -e: ;--------------------------------------- ; ; the opposite side extended ; inverse your world! ; *= $1300 .obj m .bank 15 ; ;--------------------------------------- ldx #$00 loop lda $0400,x cmp #$20 beq one lda #$20 sta $0400,x backone lda $04f0,x cmp #$20 beq two lda #$20 sta $04f0,x backtwo inx cpx #$f0 bne loop rts one lda #$06 sta $d800,x lda #$a0 sta $0400,x jmp backone two lda #$06 sta $d8f0,x lda #$a0 sta $04f0,x jmp backtwo ---------------------------------------------------------------------------------------------------