mirror of
				https://github.com/irmen/prog8.git
				synced 2025-10-31 15:16:13 +00:00 
			
		
		
		
	merge
This commit is contained in:
		| @@ -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) | ||||||
|   | |||||||
| @@ -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! | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user