You are not logged in -
nap
CSDb User Forums
Forums
>
C64 Coding
>
Assemble code
2014-11-15
19:29
Morpheus
Registered: Feb 2004
Posts: 152
Assemble code
Hello guys, I have code in a TXT file. Into which WIN 7 assembler can I best copy and paste this code to see if it works?
2014-11-15
19:30
JackAsser
Registered: Jun 2002
Posts: 2014
Post a snippet of the text-file so that we can determine which assembler that is compatible with the source. There are several flavors of 6502-assembly...
2014-11-15
19:35
tlr
Registered: Sep 2003
Posts: 1790
I doubt there are any win7 specific assemblers. It's more of a 32-bit vs 64-bit thingy. Most ones compiled for win XP will work.
2014-11-15
21:17
Morpheus
Registered: Feb 2004
Posts: 152
Here's a snippet:
LDA #8
STA FINET
JMP TOP
DEC TEMPOBYT
BPL TOP
LDA TEMPO
STA TEMPOBYT
LDA TSIDINDEX,X
STA SIDVNUM
TAY
LDA FINET
BEQ J3
LDA TEMPOBYT
CMP TEMPO
BNE J3
LDA TBARORDER,X
STA Z0
LDA TBARORDER+3,X
STA Z0+1
If you need more, I'm gonna have to send it to your personally.
Let me know!
2014-11-15
21:25
MagerValp
Registered: Dec 2001
Posts: 1078
That's plain code, compatible with pretty much every assembler out there. They differ in how they handle labels, data bytes, org directives, etc - post a snippet with that.
2014-11-15
21:29
Morpheus
Registered: Feb 2004
Posts: 152
Mager, please explain that a little bit more. What part do you need to see?
2014-11-15
21:35
Mace
Registered: May 2002
Posts: 1799
We need to see the lables, the words that describe locations in the program, like TEMPO.
And then something like:
!TEMPO {code}
TEMPO: {code}
TEMPO {code}
Where {code} is the assembly code.
Or stuff that reads '.byte $00, $00' or other lists of bytes.
2014-11-15
21:41
Morpheus
Registered: Feb 2004
Posts: 152
Something like this:
TEMPO DB 2
FINET DB 0
XXXX DB 2
TEMPY DB 0
PLAYFLAG DB $C0
OSCH DB 0,0,0
OSCL DB 0,0,0
BENDL DB 0,0,0
BENDH DB 0,0,0
and
* ;DB $85,0,0,0,0,0,0,0,0,0,0,0,0,0
* ;DM DB $81,$2C,$81,$20,$15,$80,1,$11,0,1,$11,$55,2
* ;DB $11,$00,2,$85
* ;BASSDM DB $81,$2C,$81,$10,$41,$80,3,$40,0,1,$40,$55,3
* ;DB $40,$20,0,$40,0,0,$85
?
2014-11-15
22:27
Mace
Registered: May 2002
Posts: 1799
Looks like DASM.
2014-11-16
08:07
MagerValp
Registered: Dec 2001
Posts: 1078
No, that's not DASM, it uses dc.b etc. With the all uppercase source, db/dw for data, and * for comments it looks like something older, and possibly C64-native.
For more clues post the bit where there are label assignments (using = or equ?) and where the start of the code is defined (using * = or org?).
2014-11-16
10:45
Mace
Registered: May 2002
Posts: 1799
Interesting.
I was indeed guessing about DASM, no hands on experience.
... 9 posts hidden. Click
here
to view all posts....
Previous - 1 |
2
-
Next
Refresh
Subscribe to this thread:
You need to be logged in to post in the forum.
Search the forum:
Search
All forums
C64 Coding
C64 Composing
C64 Pixeling
C64 Productions
CSDb Bug Reports
CSDb Development
CSDb Discussions
CSDb Entries
CSDb Feedback
CSDb Info
CSDb moderators
CSDb Questions
Messages to moderators
Requests
for
in
Writer & text
Text
Writer
All times are CET.
Search CSDb
All
Releases
Groups
Sceners
Events
BBS
SIDs
-------
Forum
Comments
Advanced
Users Online
Didi/Laxity
Freeze/Blazon
Darkflight
Guests online: 101
Top Demos
1
Next Level
(9.7)
2
13:37
(9.7)
3
Mojo
(9.7)
4
Coma Light 13
(9.6)
5
Edge of Disgrace
(9.6)
6
What Is The Matrix 2
(9.6)
7
The Demo Coder
(9.6)
8
Uncensored
(9.6)
9
Comaland 100%
(9.6)
10
Wonderland XIV
(9.6)
Top onefile Demos
1
No Listen
(9.6)
2
Layers
(9.6)
3
Cubic Dream
(9.6)
4
Party Elk 2
(9.6)
5
Copper Booze
(9.6)
6
Dawnfall V1.1
(9.5)
7
Rainbow Connection
(9.5)
8
Onscreen 5k
(9.5)
9
Morph
(9.5)
10
Libertongo
(9.5)
Top Groups
1
Performers
(9.3)
2
Booze Design
(9.3)
3
Oxyron
(9.3)
4
Triad
(9.3)
5
Censor Design
(9.3)
Top Musicians
1
Rob Hubbard
(9.7)
2
Mutetus
(9.7)
3
Jeroen Tel
(9.7)
4
Linus
(9.6)
5
Stinsen
(9.6)
Home
-
Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.057 sec.