This commit is contained in:
Irmen de Jong
2023-07-28 03:34:58 +02:00
parent e1b6bb154a
commit 4a8ee6815a
2 changed files with 2 additions and 4 deletions

View File

@@ -20,8 +20,6 @@
; mode 6 = bitmap 640 x 480 x 4c ; mode 6 = bitmap 640 x 480 x 4c
; higher color dephts in highres are not supported due to lack of VRAM ; higher color dephts in highres are not supported due to lack of VRAM
; TODO remove the phx/plx pairs in non-stack compiler version
gfx2 { gfx2 {
%option no_symbol_prefixing %option no_symbol_prefixing
@@ -990,7 +988,6 @@ skip:
cx16.vaddr_autoincr(charset_bank, chardataptr, 0, 1) cx16.vaddr_autoincr(charset_bank, chardataptr, 0, 1)
%asm {{ %asm {{
; pre-shift the bits ; pre-shift the bits
phx ; TODO remove in non-stack version
lda text.x lda text.x
and #7 and #7
sta P8ZP_SCRATCH_B1 sta P8ZP_SCRATCH_B1
@@ -1010,7 +1007,6 @@ skip:
iny iny
cpy #8 cpy #8
bne -- bne --
plx ; TODO remove in non-stack version
}} }}
; left part of shifted char ; left part of shifted char
position2(x, y, true) position2(x, y, true)

View File

@@ -1,6 +1,8 @@
TODO TODO
==== ====
- stackless: describe the changes in the manual.
- IR: reduce the number of branch instructions such as BEQ, BEQR, etc (gradually), replace with CMP(I) + status branch instruction - IR: reduce the number of branch instructions such as BEQ, BEQR, etc (gradually), replace with CMP(I) + status branch instruction
- IR: reduce amount of CMP/CMPI after instructions that set the status bits correctly (LOADs? INC? etc), but only after setting the status bits is verified! - IR: reduce amount of CMP/CMPI after instructions that set the status bits correctly (LOADs? INC? etc), but only after setting the status bits is verified!