msbasic icon indicating copy to clipboard operation
msbasic copied to clipboard

4 times ZP_STARTn ?

Open thxrben opened this issue 5 years ago • 0 comments

Hey, sorry for this most likely dumb question, but..

Why are there 4 Zero-Page start addresses? e.g. in the File "define_cbm2.s" for the Commodore Basic 2 are 4 ZP addresses configured.

I do know that the ZP is the memory where the address-space starts and was usually used for registers etc. since you could access those bytes really fast. Therefore I am confused where the 4 ZP-Pointers are pointing to.

Im trying to create a custom "define_custom.s" file for my own project, but I'm unaware of these 4 Pages (since there only should be one???) (I may figured out that this is cause of 4 different memory selects that the 6510 has, but how to remove the errors from 6502 cpus?)

Also, when using the define_cmb2.s (copied into define_custom.s) im getting on executing ./make.sh: us

er@DESKTOP-RJE8QP3:/mnt/c/Users/User/Downloads/msbasic-master$ ./make.sh custom print.s(104): Error: Illegal addressing mode cbmbasic1 cbmbasic2 kbdbasic osi kb9 applesoft microtan aim65 sym1

print.s in line 104 - Why is that? It should be the same config?

And yes i did add the case to the define.s file.

thxrben avatar Dec 26 '20 18:12 thxrben