| |
dasm-2.20.11-r323-20191016-tlr [2019] |
User rating: | awaiting 8 votes (8 left) |
Credits :
Download :
Look for downloads on external sites:
Pokefinder.org
Summary Submitted by tlr on 16 October 2019
dasm-tlr started out as a set of patches for dasm based on dasm-2.20.11-r323
(r323 in the Subversion repository at http://dasm-dillon.sourceforge.net/)
I've done these improvements mainly to suit my own needs but I'm providing
the code for others to use.
+----------------------------------+
| DIFFERENCES to dasm-2.20.11-r323 |
+----------------------------------+
1: Forced operands now really force. Previously a .z wouldn't hard set
the instruction size to 2, leading to strange problems in some cases.
before:
sta.z $1000 -> 8D 00 10 STA $1000
now:
sta.z $1000 -> Error!
It would also lead to problems with code in zero page.
The code below would previously fail with:
test2.asm (5): error: Label mismatch...
--> i1 0023
----------
processor 6502
org $0020
inc.z i1+1
i1:
lda #0
rts
----------
2: Forced extensions try to keep the addressing mode of the instruction.
This affects extensions b,z,d and w,e,a.
Using extensions like .wx, .wy and similar will override the addressing
mode like in previous versions.
before:
ldx.w $24,y -> AE 24 00 LDX $0024
now:
ldx.w $24,y -> BE 24 00 LDX $0024,Y
3: C64 DTV2/3 instruction support
processor DTV
bra <rel> ($12)
sac #<imm> ($32)
sir #<imm> ($42)
4: Filenames for include directives may be symbols.
include, incdir, incbin now takes symbols as arguments.
This means unquoted strings are no longer allowed.
The symbol must be defined at the time of the include statement.
----------
FNAME eqm "file2.i"
include "file1.i"
include FNAME
----------
5: incbin directives may have offset and length.
incbin <file>[,<offset>[,<length>]]
----------
FNAME eqm "file4.bin"
a:
incbin "file1.bin"
b:
incbin "file2.prg",2
incbin "file3.bin",0,16
incbin FNAME, 0, b-a
----------
6: files may be included from the command line using the '-i' option
7: include/incbin/incdir are now searching relative to the location of
the current source file (-r1). This behaviour can be reverted using -r0.
Note: This only works correctly when using '/' as path separator.
(you should be doing this anyway or else the source will not
assemble on anything else than Windows)
8: include/incbin now fails on missing files. Setting -m0 will ignore
missing files with a warning.
9: unary '^' takes 24-bit msb.
10: unary '+' may be used |
|
|
|
| Search CSDb |
| Navigate | |
|
| Detailed Info | |
|
| Fun Stuff | |
· Goofs · Hidden Parts · Trivia
|
|
| Forum | |
|
| Support CSDb | |
|
| |
|