Re: [cc65] .global vs .export vs what i really need :)

From: Groepaz <groepaz1gmx.net>
Date: 2009-10-24 23:39:45
On Samstag 24 Oktober 2009, Groepaz wrote:
> .... help :)

before i forget, and before you say "its not a bug, its a feature!" ... this 
doesnt give the desired result either:

	.import X00X_loadEAPIX00X
	
	.proc	easyprog_opt_s0139
	sta	X00X_loadEAPIX00X::X00XL00F4X00X
	stx	X00X_loadEAPIX00X::X00XL00F4X00X+$01
	rts
	.endproc

	.proc	X00X_loadEAPIX00X 
	.segment	"BSS"
X00XL00F3X00X:
	.res	$01,$00
X00XL00F4X00X:
	.res	$02,$00
	.segment	"CODE"
	lda	#$01
	.endproc

(and it would kinda suck to have to do it like this, it would make things a 
lot more complicated)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Ein Zyniker ist ein Schuft, dessen mangelhafte Wahrnehmung Dinge sieht wie sie 
sind, statt wie sie sein sollten. 
<Ambrose Bierce>

----------------------------------------------------------------------
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 Oct 24 23:39:04 2009

This archive was generated by hypermail 2.1.8 : 2009-10-24 23:39:06 CEST