Looking for a specific 6502 AssemblerMeaning of $ and $$ in Modcomp assembly languageWhy did Sinclair choose...
Is there a lava-breathing lizard creature (that could be worshipped by a cult) in 5e?
Is there any risk in sharing info about technologies and products we use with a supplier?
Hilchos Shabbos English Sefer
Ellipses aligned on the same boundary point
Identify KNO3 and KH2PO4 at home
What is the wife of a henpecked husband called?
Potential client has a problematic employee I can't work with
Why publish a research paper when a blog post or a lecture slide can have more citation count than a journal paper?
False written accusations not made public - is there law to cover this?
Why are the books in the Game of Thrones citadel library shelved spine inwards?
Citing paywalled articles accessed via illegal web sharing
Why do cars have plastic shrouds over the engine?
Salsa20 Implementation: Sum of 2 Words with Carries Suppressed
How to not let the Identify spell spoil everything?
Non-Cancer terminal illness that can affect young (age 10-13) girls?
A curious equality of integrals involving the prime counting function?
How do you catch Smeargle in Pokemon Go?
How can I play a serial killer in a party of good PCs?
Can you tell from a blurry photo if focus was too close or too far?
What is the data structure of $@ in shell?
Should I reinstall Linux when changing the laptop's CPU?
Why did Democrats in the Senate oppose the Born-Alive Abortion Survivors Protection Act (2019 S.130)?
In Linux what happens if 1000 files in a directory are moved to another location while another 300 files were added to the source directory?
How to visualize the Riemann-Roch theorem from complex analysis or geometric topology considerations?
Looking for a specific 6502 Assembler
Meaning of $ and $$ in Modcomp assembly languageWhy did Sinclair choose the Z80 for its range of home computers?How does 6502 machine code process $ (address) VS #$ (value)?Which material was used for the 6502/6510/8500 MOSFETs?Unsigned addition on the 6502How does JSR actually work on the 65c816 CPU for the SNES (Super Nintendo)?6502 CMP instruction doesn't compare as expectedResource for 6502 assembly directives?What does “jmp *” mean in 6502 assembly?Can you compile 6502 assembly into a stand alone application
I found some 6502 assembler code for a Commodore 64 program that uses meta commands like #include "foobar"
, define the address to be assembled to via *=$1234
and define labels without a colon. Comments are marked with a leading ;
, and the syntax allows for specifying characters as constants such as in lda #'A'
.
Which assembler programs have this kind of syntax and could be used to assemble the file?
I already know that
ca65
assembler uses keywords like.import
and.export
but not#include
. Andca65
requires a colon after a label definition
dasm
assembler files define the start address with the org directive, but not with*=
kickass
assembler has different comment format
64tass
does not know theinclude
keyword
so it is none of the above (I tried and the build failed).
commodore-64 assembly 6502
add a comment |
I found some 6502 assembler code for a Commodore 64 program that uses meta commands like #include "foobar"
, define the address to be assembled to via *=$1234
and define labels without a colon. Comments are marked with a leading ;
, and the syntax allows for specifying characters as constants such as in lda #'A'
.
Which assembler programs have this kind of syntax and could be used to assemble the file?
I already know that
ca65
assembler uses keywords like.import
and.export
but not#include
. Andca65
requires a colon after a label definition
dasm
assembler files define the start address with the org directive, but not with*=
kickass
assembler has different comment format
64tass
does not know theinclude
keyword
so it is none of the above (I tried and the build failed).
commodore-64 assembly 6502
1
So far it might be safe to assume you're looking fro an 6502 assembler, but what computer?
– Raffzahn
17 hours ago
2
It is for a C64, I added it to the description.
– Peter B.
17 hours ago
2
I suggest ignoring#include
and any other C preprocessor like directive, and assume the source code you're looking at meant to handled by passing the source though a C preprocessor before being assembled. The GNU Assembler doesn't support C preprocessing directives, but you'll find a lot of code written for it that uses them anyways.
– Ross Ridge
17 hours ago
Having used DASM extensively for 15 years, I 'converted' to KickAss a couple of years ago. It's my preferred cross-assembler for 6502 now, and well worth the effort of doing the work necessary to shift from DASM (or other) syntax.
– Eight-Bit Guru
16 hours ago
Do you know anything about the age of the source? It could narrow down the possibilities. Also comments might give some clues to those who knows the assembler.
– UncleBod
16 hours ago
add a comment |
I found some 6502 assembler code for a Commodore 64 program that uses meta commands like #include "foobar"
, define the address to be assembled to via *=$1234
and define labels without a colon. Comments are marked with a leading ;
, and the syntax allows for specifying characters as constants such as in lda #'A'
.
Which assembler programs have this kind of syntax and could be used to assemble the file?
I already know that
ca65
assembler uses keywords like.import
and.export
but not#include
. Andca65
requires a colon after a label definition
dasm
assembler files define the start address with the org directive, but not with*=
kickass
assembler has different comment format
64tass
does not know theinclude
keyword
so it is none of the above (I tried and the build failed).
commodore-64 assembly 6502
I found some 6502 assembler code for a Commodore 64 program that uses meta commands like #include "foobar"
, define the address to be assembled to via *=$1234
and define labels without a colon. Comments are marked with a leading ;
, and the syntax allows for specifying characters as constants such as in lda #'A'
.
Which assembler programs have this kind of syntax and could be used to assemble the file?
I already know that
ca65
assembler uses keywords like.import
and.export
but not#include
. Andca65
requires a colon after a label definition
dasm
assembler files define the start address with the org directive, but not with*=
kickass
assembler has different comment format
64tass
does not know theinclude
keyword
so it is none of the above (I tried and the build failed).
commodore-64 assembly 6502
commodore-64 assembly 6502
edited 16 hours ago
Peter B.
asked 17 hours ago
Peter B.Peter B.
784212
784212
1
So far it might be safe to assume you're looking fro an 6502 assembler, but what computer?
– Raffzahn
17 hours ago
2
It is for a C64, I added it to the description.
– Peter B.
17 hours ago
2
I suggest ignoring#include
and any other C preprocessor like directive, and assume the source code you're looking at meant to handled by passing the source though a C preprocessor before being assembled. The GNU Assembler doesn't support C preprocessing directives, but you'll find a lot of code written for it that uses them anyways.
– Ross Ridge
17 hours ago
Having used DASM extensively for 15 years, I 'converted' to KickAss a couple of years ago. It's my preferred cross-assembler for 6502 now, and well worth the effort of doing the work necessary to shift from DASM (or other) syntax.
– Eight-Bit Guru
16 hours ago
Do you know anything about the age of the source? It could narrow down the possibilities. Also comments might give some clues to those who knows the assembler.
– UncleBod
16 hours ago
add a comment |
1
So far it might be safe to assume you're looking fro an 6502 assembler, but what computer?
– Raffzahn
17 hours ago
2
It is for a C64, I added it to the description.
– Peter B.
17 hours ago
2
I suggest ignoring#include
and any other C preprocessor like directive, and assume the source code you're looking at meant to handled by passing the source though a C preprocessor before being assembled. The GNU Assembler doesn't support C preprocessing directives, but you'll find a lot of code written for it that uses them anyways.
– Ross Ridge
17 hours ago
Having used DASM extensively for 15 years, I 'converted' to KickAss a couple of years ago. It's my preferred cross-assembler for 6502 now, and well worth the effort of doing the work necessary to shift from DASM (or other) syntax.
– Eight-Bit Guru
16 hours ago
Do you know anything about the age of the source? It could narrow down the possibilities. Also comments might give some clues to those who knows the assembler.
– UncleBod
16 hours ago
1
1
So far it might be safe to assume you're looking fro an 6502 assembler, but what computer?
– Raffzahn
17 hours ago
So far it might be safe to assume you're looking fro an 6502 assembler, but what computer?
– Raffzahn
17 hours ago
2
2
It is for a C64, I added it to the description.
– Peter B.
17 hours ago
It is for a C64, I added it to the description.
– Peter B.
17 hours ago
2
2
I suggest ignoring
#include
and any other C preprocessor like directive, and assume the source code you're looking at meant to handled by passing the source though a C preprocessor before being assembled. The GNU Assembler doesn't support C preprocessing directives, but you'll find a lot of code written for it that uses them anyways.– Ross Ridge
17 hours ago
I suggest ignoring
#include
and any other C preprocessor like directive, and assume the source code you're looking at meant to handled by passing the source though a C preprocessor before being assembled. The GNU Assembler doesn't support C preprocessing directives, but you'll find a lot of code written for it that uses them anyways.– Ross Ridge
17 hours ago
Having used DASM extensively for 15 years, I 'converted' to KickAss a couple of years ago. It's my preferred cross-assembler for 6502 now, and well worth the effort of doing the work necessary to shift from DASM (or other) syntax.
– Eight-Bit Guru
16 hours ago
Having used DASM extensively for 15 years, I 'converted' to KickAss a couple of years ago. It's my preferred cross-assembler for 6502 now, and well worth the effort of doing the work necessary to shift from DASM (or other) syntax.
– Eight-Bit Guru
16 hours ago
Do you know anything about the age of the source? It could narrow down the possibilities. Also comments might give some clues to those who knows the assembler.
– UncleBod
16 hours ago
Do you know anything about the age of the source? It could narrow down the possibilities. Also comments might give some clues to those who knows the assembler.
– UncleBod
16 hours ago
add a comment |
1 Answer
1
active
oldest
votes
I think it's xa (xa65):
- ☑
#include "foobar"
- ☑ define the address to be assembled to via
*=$1234
- ☑ define labels without a colon
- ☑ Comments are marked with a leading
;
- ☑ specifying characters as constants such as in
lda #'A'
— the example given in the manual uses double quotes (lda #"A"
): is that a disqualifier?
1
I just had a chat with André Fachat, the original author, and he's pretty sure that xa65 makes a good match - including the single quote part, which he double checked in source. So I guess Scruss hit it.
– Raffzahn
15 hours ago
2
I triedxa
and it threw an error on a command ".pet". Googling that led me to the right assembler, it was DreamAss. Thanks a lot for the idea withxa
helped me find it!
– Peter B.
15 hours ago
2
ah, you never mentioned the.pet
bit. Glad you found your assembler, even if it has a truly terrible name …
– scruss
12 hours ago
@PeterB. what is.pet
? For the Commodore PET? You said the source is for the C64?
– Wilson
4 hours ago
@Wilson -.pet
seems to be the directive in DreamAss to include the following bytes in [PETSCII ](en.wikipedia.org/wiki/PETSCII), which was common to most of the C= 8-bits
– scruss
2 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "648"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fretrocomputing.stackexchange.com%2fquestions%2f9267%2flooking-for-a-specific-6502-assembler%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I think it's xa (xa65):
- ☑
#include "foobar"
- ☑ define the address to be assembled to via
*=$1234
- ☑ define labels without a colon
- ☑ Comments are marked with a leading
;
- ☑ specifying characters as constants such as in
lda #'A'
— the example given in the manual uses double quotes (lda #"A"
): is that a disqualifier?
1
I just had a chat with André Fachat, the original author, and he's pretty sure that xa65 makes a good match - including the single quote part, which he double checked in source. So I guess Scruss hit it.
– Raffzahn
15 hours ago
2
I triedxa
and it threw an error on a command ".pet". Googling that led me to the right assembler, it was DreamAss. Thanks a lot for the idea withxa
helped me find it!
– Peter B.
15 hours ago
2
ah, you never mentioned the.pet
bit. Glad you found your assembler, even if it has a truly terrible name …
– scruss
12 hours ago
@PeterB. what is.pet
? For the Commodore PET? You said the source is for the C64?
– Wilson
4 hours ago
@Wilson -.pet
seems to be the directive in DreamAss to include the following bytes in [PETSCII ](en.wikipedia.org/wiki/PETSCII), which was common to most of the C= 8-bits
– scruss
2 hours ago
add a comment |
I think it's xa (xa65):
- ☑
#include "foobar"
- ☑ define the address to be assembled to via
*=$1234
- ☑ define labels without a colon
- ☑ Comments are marked with a leading
;
- ☑ specifying characters as constants such as in
lda #'A'
— the example given in the manual uses double quotes (lda #"A"
): is that a disqualifier?
1
I just had a chat with André Fachat, the original author, and he's pretty sure that xa65 makes a good match - including the single quote part, which he double checked in source. So I guess Scruss hit it.
– Raffzahn
15 hours ago
2
I triedxa
and it threw an error on a command ".pet". Googling that led me to the right assembler, it was DreamAss. Thanks a lot for the idea withxa
helped me find it!
– Peter B.
15 hours ago
2
ah, you never mentioned the.pet
bit. Glad you found your assembler, even if it has a truly terrible name …
– scruss
12 hours ago
@PeterB. what is.pet
? For the Commodore PET? You said the source is for the C64?
– Wilson
4 hours ago
@Wilson -.pet
seems to be the directive in DreamAss to include the following bytes in [PETSCII ](en.wikipedia.org/wiki/PETSCII), which was common to most of the C= 8-bits
– scruss
2 hours ago
add a comment |
I think it's xa (xa65):
- ☑
#include "foobar"
- ☑ define the address to be assembled to via
*=$1234
- ☑ define labels without a colon
- ☑ Comments are marked with a leading
;
- ☑ specifying characters as constants such as in
lda #'A'
— the example given in the manual uses double quotes (lda #"A"
): is that a disqualifier?
I think it's xa (xa65):
- ☑
#include "foobar"
- ☑ define the address to be assembled to via
*=$1234
- ☑ define labels without a colon
- ☑ Comments are marked with a leading
;
- ☑ specifying characters as constants such as in
lda #'A'
— the example given in the manual uses double quotes (lda #"A"
): is that a disqualifier?
answered 15 hours ago
scrussscruss
7,00111348
7,00111348
1
I just had a chat with André Fachat, the original author, and he's pretty sure that xa65 makes a good match - including the single quote part, which he double checked in source. So I guess Scruss hit it.
– Raffzahn
15 hours ago
2
I triedxa
and it threw an error on a command ".pet". Googling that led me to the right assembler, it was DreamAss. Thanks a lot for the idea withxa
helped me find it!
– Peter B.
15 hours ago
2
ah, you never mentioned the.pet
bit. Glad you found your assembler, even if it has a truly terrible name …
– scruss
12 hours ago
@PeterB. what is.pet
? For the Commodore PET? You said the source is for the C64?
– Wilson
4 hours ago
@Wilson -.pet
seems to be the directive in DreamAss to include the following bytes in [PETSCII ](en.wikipedia.org/wiki/PETSCII), which was common to most of the C= 8-bits
– scruss
2 hours ago
add a comment |
1
I just had a chat with André Fachat, the original author, and he's pretty sure that xa65 makes a good match - including the single quote part, which he double checked in source. So I guess Scruss hit it.
– Raffzahn
15 hours ago
2
I triedxa
and it threw an error on a command ".pet". Googling that led me to the right assembler, it was DreamAss. Thanks a lot for the idea withxa
helped me find it!
– Peter B.
15 hours ago
2
ah, you never mentioned the.pet
bit. Glad you found your assembler, even if it has a truly terrible name …
– scruss
12 hours ago
@PeterB. what is.pet
? For the Commodore PET? You said the source is for the C64?
– Wilson
4 hours ago
@Wilson -.pet
seems to be the directive in DreamAss to include the following bytes in [PETSCII ](en.wikipedia.org/wiki/PETSCII), which was common to most of the C= 8-bits
– scruss
2 hours ago
1
1
I just had a chat with André Fachat, the original author, and he's pretty sure that xa65 makes a good match - including the single quote part, which he double checked in source. So I guess Scruss hit it.
– Raffzahn
15 hours ago
I just had a chat with André Fachat, the original author, and he's pretty sure that xa65 makes a good match - including the single quote part, which he double checked in source. So I guess Scruss hit it.
– Raffzahn
15 hours ago
2
2
I tried
xa
and it threw an error on a command ".pet". Googling that led me to the right assembler, it was DreamAss. Thanks a lot for the idea with xa
helped me find it!– Peter B.
15 hours ago
I tried
xa
and it threw an error on a command ".pet". Googling that led me to the right assembler, it was DreamAss. Thanks a lot for the idea with xa
helped me find it!– Peter B.
15 hours ago
2
2
ah, you never mentioned the
.pet
bit. Glad you found your assembler, even if it has a truly terrible name …– scruss
12 hours ago
ah, you never mentioned the
.pet
bit. Glad you found your assembler, even if it has a truly terrible name …– scruss
12 hours ago
@PeterB. what is
.pet
? For the Commodore PET? You said the source is for the C64?– Wilson
4 hours ago
@PeterB. what is
.pet
? For the Commodore PET? You said the source is for the C64?– Wilson
4 hours ago
@Wilson -
.pet
seems to be the directive in DreamAss to include the following bytes in [PETSCII ](en.wikipedia.org/wiki/PETSCII), which was common to most of the C= 8-bits– scruss
2 hours ago
@Wilson -
.pet
seems to be the directive in DreamAss to include the following bytes in [PETSCII ](en.wikipedia.org/wiki/PETSCII), which was common to most of the C= 8-bits– scruss
2 hours ago
add a comment |
Thanks for contributing an answer to Retrocomputing Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fretrocomputing.stackexchange.com%2fquestions%2f9267%2flooking-for-a-specific-6502-assembler%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
So far it might be safe to assume you're looking fro an 6502 assembler, but what computer?
– Raffzahn
17 hours ago
2
It is for a C64, I added it to the description.
– Peter B.
17 hours ago
2
I suggest ignoring
#include
and any other C preprocessor like directive, and assume the source code you're looking at meant to handled by passing the source though a C preprocessor before being assembled. The GNU Assembler doesn't support C preprocessing directives, but you'll find a lot of code written for it that uses them anyways.– Ross Ridge
17 hours ago
Having used DASM extensively for 15 years, I 'converted' to KickAss a couple of years ago. It's my preferred cross-assembler for 6502 now, and well worth the effort of doing the work necessary to shift from DASM (or other) syntax.
– Eight-Bit Guru
16 hours ago
Do you know anything about the age of the source? It could narrow down the possibilities. Also comments might give some clues to those who knows the assembler.
– UncleBod
16 hours ago