Code Editor fixes
CODE EDITOR:
Each code block will have its own UNDO/REDO and works when closed and re-opened.
Also added Low/Hi Literals: #<$literal/#>$literal
Also made sure inline byte tables push the program counter bytes in place.
Here is a useful routine for code block:
; ============================================
; Pre-populate Colour RAM ($D800) per row
; 25 rows x 40 columns - one colour per row,
; taken from a 25-entry table
; ============================================
LDA #<$D800
STA $F6 ; pointer lo
LDA #>$D800
STA $F7 ; pointer hi
LDX #$00 ; X = row index, 0..24
ROWLOOP:
LDA ROWCOLOURS,X
STA $FC ; this row's colour, stashed
LDY #$00
COLLOOP:
LDA $FC
STA ($F6),Y
INY
CPY #40
BNE COLLOOP
; advance pointer by 40 for next row
CLC
LDA $F6
ADC #40
STA $F6
LDA $F7
ADC #0
STA $F7
INX
CPX #25
BNE ROWLOOP
JMP ROWSKIP ; jump clean over the data table below
ROWCOLOURS:
.byte $01,$0F,$0c,$0b,$06,$04,$0e,$05,$03,$0d
.byte $01,$07,$0a,$08,$02,$09,$0b,$0c,$0f,$07
.byte $03,$05,$0e,$06,$0c
ROWSKIP:
Files
Get C64 Dev Machine V1.08 PRO+LITE - C64 ULTIMATE Ready!
C64 Dev Machine V1.08 PRO+LITE - C64 ULTIMATE Ready!
C64 Development tool
| Status | In development |
| Category | Tool |
| Author | polytricity |
| Tags | assembler, code, coding, Commodore 64, dev, engine, game, mac, maker, programming |
More posts
- V1.07 Video is up3 days ago
- V1.07 is up with some new features and fixes3 days ago
- Hotfix to Load Org / Macro Loaders and Direct lines added for Flow view6 days ago
- FLOW and REU7 days ago
- REU Support and more!9 days ago
- Code editor guide added11 days ago
- Whats new 1.02?12 days ago
- C64 Dev machine V1.01 - Dual Sid Test, Zoom fix and bugfix14 days ago
- BUG FIX - MacOS users - Related to autosave popup14 days ago

Leave a comment
Log in with itch.io to leave a comment.