Nicolaas Groeneboom
Nicolaas Groeneboom
ah yes this is true, sorry, totally forgot about how to address 24-bit pointers in cl65! I thought that it was already implemented, hmmm let me check.. might be that...
there, fixed and pushed. New build will take about 30 minutes. lpointers should now use the [] addressing mode for both loading and storing
mind you there are some problems when allocating a lpointer - the 6502 assumes 2 bytes per pointer default, so you need to change the project settings->zeropage pointers to reflect...
@startassembler just takes a single string as input. it is used *only* to inject assembly before TRSE outputs anything else (which I once needed for a demo) In order to...
well the only reason this really crashes is because you store the address at "0" and "1", which will result in crashes on 6502 systems.. but I don't want to...
how would you solve this? by not optimising away variables declared at a specific address?
fixed. went for option 1), any variable with an absolute address will henceforth not be optimised away!
hm could you send me the project file for this one? I'm not sure that I'm able to reproduce it, and would like to have a look at the binary...
X16 tutorials fixed up
Volatile keyword added for the 6502 + help text. Experimental, not fully tested yet