Looking for a specific 6502 AssemblerMeaning of $ and $$ in Modcomp assembly languageWhy did Sinclair choose...
Square Root Distance from Integers
How can I play a serial killer in a party of good PCs?
How to visualize the Riemann-Roch theorem from complex analysis or geometric topology considerations?
Is there any risk in sharing info about technologies and products we use with a supplier?
systemd service won't start nodejs
Is there a lava-breathing lizard creature (that could be worshipped by a cult) in 5e?
Why don't key signatures indicate the tonic?
Is there any other language containing the sound of the "evanescent l" in Venetian?
How does Leonard in "Memento" remember reading and writing?
Why is there a prohibition of gevinat aku"m?
Does diversity provide anything that meritocracy does not?
How to access internet and run apt-get through a middle server?
How does one write from a minority culture? A question on cultural references
How do you catch Smeargle in Pokemon Go?
How would you say "I like to go bowling" and other suru verbs?
Why does magnet wire need to be insulated?
Why does PHOTOREC keep finding files?
Why do neural networks need so many training examples to perform?
What will happen if I transfer large sums of money into my bank account from a pre-paid debit card or gift card?
Has Britain negotiated with any other countries outside the EU in preparation for the exit?
What happens when I Twin Life Transference?
Definition of "atomic object"
What is the difference between rolling more dice versus fewer dice?
TikZ graph edges not drawn nicely
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
ca65assembler uses keywords like.importand.exportbut not#include. Andca65requires a colon after a label definition
dasmassembler files define the start address with the org directive, but not with*=
kickassassembler has different comment format
64tassdoes not know theincludekeyword
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
ca65assembler uses keywords like.importand.exportbut not#include. Andca65requires a colon after a label definition
dasmassembler files define the start address with the org directive, but not with*=
kickassassembler has different comment format
64tassdoes not know theincludekeyword
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
1 hour ago
2
It is for a C64, I added it to the description.
– Peter B.
1 hour ago
2
I suggest ignoring#includeand 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
1 hour 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
1 hour 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
1 hour 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
ca65assembler uses keywords like.importand.exportbut not#include. Andca65requires a colon after a label definition
dasmassembler files define the start address with the org directive, but not with*=
kickassassembler has different comment format
64tassdoes not know theincludekeyword
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
ca65assembler uses keywords like.importand.exportbut not#include. Andca65requires a colon after a label definition
dasmassembler files define the start address with the org directive, but not with*=
kickassassembler has different comment format
64tassdoes not know theincludekeyword
so it is none of the above (I tried and the build failed).
commodore-64 assembly 6502
commodore-64 assembly 6502
edited 1 hour ago
Peter B.
asked 2 hours ago
Peter B.Peter B.
742212
742212
1
So far it might be safe to assume you're looking fro an 6502 assembler, but what computer?
– Raffzahn
1 hour ago
2
It is for a C64, I added it to the description.
– Peter B.
1 hour ago
2
I suggest ignoring#includeand 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
1 hour 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
1 hour 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
1 hour ago
add a comment |
1
So far it might be safe to assume you're looking fro an 6502 assembler, but what computer?
– Raffzahn
1 hour ago
2
It is for a C64, I added it to the description.
– Peter B.
1 hour ago
2
I suggest ignoring#includeand 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
1 hour 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
1 hour 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
1 hour ago
1
1
So far it might be safe to assume you're looking fro an 6502 assembler, but what computer?
– Raffzahn
1 hour ago
So far it might be safe to assume you're looking fro an 6502 assembler, but what computer?
– Raffzahn
1 hour ago
2
2
It is for a C64, I added it to the description.
– Peter B.
1 hour ago
It is for a C64, I added it to the description.
– Peter B.
1 hour 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
1 hour 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
1 hour 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
1 hour 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
1 hour 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
1 hour 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
1 hour 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?
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
22 mins ago
I triedxaand 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 withxahelped me find it!
– Peter B.
12 mins 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?
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
22 mins ago
I triedxaand 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 withxahelped me find it!
– Peter B.
12 mins 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 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
22 mins ago
I triedxaand 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 withxahelped me find it!
– Peter B.
12 mins 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 35 mins ago
scrussscruss
6,90611247
6,90611247
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
22 mins ago
I triedxaand 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 withxahelped me find it!
– Peter B.
12 mins ago
add a comment |
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
22 mins ago
I triedxaand 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 withxahelped me find it!
– Peter B.
12 mins 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
22 mins 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
22 mins 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.
12 mins 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.
12 mins 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
1 hour ago
2
It is for a C64, I added it to the description.
– Peter B.
1 hour ago
2
I suggest ignoring
#includeand 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
1 hour 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
1 hour 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
1 hour ago