t-edson / P65Pas

CPU 6502 Pascal Compiler/IDE/Debugger
GNU General Public License v3.0
119 stars 27 forks source link

Problems with Word #43

Closed Squall-FF8 closed 1 year ago

Squall-FF8 commented 1 year ago

In the example bellow, there are 2 problems:

  1. The one that compiler gives.
  2. Generated code - it work only when i < 256 ;adr_Sprite2_Data[i] := 1; $081F A9 01 LDA #$01 $0821 A6 F8 LDX i@0 $0823 9D 00 10 STA $1000,X

image

t-edson commented 1 year ago

Hi. Maybe you're using an old version of P65Pas. Check the last update in Github. I can compile it right with the trunk version.
image

Squall-FF8 commented 1 year ago

It seems now all is working. If somebody else has similar problems, just download the latest version from trunc (not release)!