[cc65] Export symbols out of 'proc'-scope to file scope?

From: Christian Krüger <C.Krueger.B1web.de>
Date: 2010-01-30 13:13:33

I like to access a symbol in proc scope inside the file scope.
Haven't found something yet - any suggestions?


.proc SetValue
    sta SMC_Value

.proc DoSomething
    lda #$12
SMC_Value = *-1

BTW: It would be great to 'mark' somehow places where the
code is modified, like a pseudo instruction which is directly usable.
Something like

    lda #SMC_Value

Where 'SMC_Value' is the address of the place. Any (better) ideas for 
that too?


To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jan 30 13:13:44 2010

This archive was generated by hypermail 2.1.8 : 2010-01-30 13:13:47 CET