RE: Three versions of C64 source files

From: Baltissen, GJPAA (Ruud) <ruud.baltissen_at_apg.nl>
Date: Mon, 1 Dec 2014 08:16:26 +0000
Message-ID: <54F350D2C6501448A3EE14B7854C5FB531835327@wsv10441N5.office01.internalcorp.net>
Hallo Patryk,


> ... Similar to what we did with the 1520 firmware.

Then I wonder how you managed that. I at least managed to create a version that can be compiled by both CA65 and 64tass. But at a price :( Both CA65 and XA accept the next line:

	D_A09E:		.byte "EN", 'D'+$80	; END		$80		128

64tass didn't, I had to convert it to:

	D_A09E:		.byte "EN"
	.byte $C4				; END		$80		128

As you can see 64tass doesn't accept the + construction. As you can see, I also found out that XA accepts '.byte' as well.
But I can imagine that the 1520 has no text inside its ROM so probably no one noticed.

Then XA didn't accept next line:

	D_A144:		.byte '^'+$80		; ^		$AE		174

Just this one, the other lines with arithmetic functions (+, -, / etc.) were no problem.

The next problem is the directive that tells the compiler where the binary starts: '*= $8000' for XA, '.org $8000' for both CA65 and 64tass. I tried but one doesn't accept the directive of the other(s). So that's why I wonder how you did it.

Any comment is welcome!


Met vriendelijke groet, 
Ruud Baltissen



De informatie in dit e-mailbericht is vertrouwelijk en uitsluitend bestemd voor de 
geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoeken wij u contact op te 
nemen met de afzender per kerende e-mail. Verder verzoeken wij u in dat geval dit 
e-mailbericht te vernietigen en de inhoud ervan aan niemand openbaar te maken. 
Wij aanvaarden geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige 
overbrenging van de inhoud van een verzonden e-mailbericht, noch voor daarbij 
overgebrachte virussen.

APG Rechtenbeheer N.V. is gevestigd te Heerlen en is ingeschreven in het 
handelsregister van de Kamer van Koophandel Limburg onder nummer 14099617


The information contained in this e-mail is confidential and may be privileged. 
It may be read, copied and used only by the intended recipient. 
If you have received it in error, please contact the sender immediately by 
return e-mail; please delete in this case the e-mail and do not disclose its 
contents to any person. We don't accept liability for any errors, omissions, 
delays of receipt or viruses in the contents of this message which arise as a 
result of e-mail transmission.

APG Rechtenbeheer N.V. is registered in the trade register of the Chamber 
of Commerce Limburg, The Netherlands, registration number: 14099617


       Message was sent through the cbm-hackers mailing list
Received on 2014-12-01 09:00:03

Archive generated by hypermail 2.2.0.