dschmenk / PLASMA

Proto Language AsSeMbler for All (formerly Apple)
MIT License
191 stars 26 forks source link

Use constants for zero page addresses in JIT #47

Closed ZornsLemma closed 6 years ago

ZornsLemma commented 6 years ago

Hi Dave,

As discussed, this change is needed to allow the JIT to be used on Acorn machines, where the OS owns $90-$FF and so the zero page allocations can't be the same as for the original Apple VM. It may turn out to be helpful for other ports in the future as well.

I have tested this by building the code before and after and verifying that the contents of rel/apple are identical, but please consider doing a similar check yourself as I may have got confused...

Cheers.

Steve