| |
The Human Code Machine
Registered: Sep 2005 Posts: 112 |
Dasm rorg directive
Hi, I'm looking for a DASM cross assembler version newer than 2.12 for DOS/Win with correctly working rorg directive. All newer versions I found on the net can't assemble the lower attached test source. I found it ages ago on one of the famous Fred Fish disks and I don't want to switch to another one :( I tried to contact one of the new maintainers, but I got no response. Anybody here has a working version or knows the dasm sourcecode a bit and has time to fix it?
processor 6502
org $c000
Main subroutine
sei
jsr Test
jmp nmi
Test subroutine
ldx #nmi_end-nmi_start-1
.loop lda nmi_start,x
sta nmi,x
dex
bpl .loop
rts
nmi_start subroutine
RORG $02
nmi subroutine
.1 INC $d020
jmp .1
rend
nmi_end
|
|
... 15 posts hidden. Click here to view all posts.... |
| |
iAN CooG
Registered: May 2002 Posts: 3197 |
Quote: any version of dasm sucks arse, fact =P
hmpf. you're not even worth a reply
OMFG I replied anyway!1 /o\ |
| |
The Human Code Machine
Registered: Sep 2005 Posts: 112 |
Thx iAN CooG! I'll give it a try. I think DASM is still a good assembler and I like the way it handles local labels and I didn't find an assembler which offers this the same way. Perhaps I was too lazy to look deep enough... |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
:o)
does yours give some half sane error messages at least? i have to use dasm for work atm and its inability to even print meaningful errors drives my nuts =)
thcm: many assemblers support "cheap" local labels :) dasm really doesnt have any special features at all. |
| |
The Human Code Machine
Registered: Sep 2005 Posts: 112 |
@Groepaz: For me the SUBROUTINE is special enough and I like the simplicity and readability of my good old trusted DASM assembler. I don't like the high level stuff like the script stuff used in kickassembler. I also don't like the way local labels are handled, but that's just my personal taste. Thx everybody for the help. |
| |
iAN CooG
Registered: May 2002 Posts: 3197 |
Quote: :o)
does yours give some half sane error messages at least? i have to use dasm for work atm and its inability to even print meaningful errors drives my nuts =)
thcm: many assemblers support "cheap" local labels :) dasm really doesnt have any special features at all.
Huh, depends on what do you mean by sane =)
Any example of weird messages?
I have to remember that I stripped from my build any other processor, it's 6502 only, so no need to write processor 6502 on top anymore -it's simply ignored - so if you use it for some microcontroller coding with different cpu it's no use for you. I only need coding in asm for the C64 =) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
well the one i use ("official" 2.20.11) doesnt really give any errors at all. for example when you make a simple typo somewhere, it just says assembling failed, doesnt give a line number or whatever, VERY annoying =P
and yeah well, i use it for 6502 :)
|
| |
iAN CooG
Registered: May 2002 Posts: 3197 |
Quote: well the one i use ("official" 2.20.11) doesnt really give any errors at all. for example when you make a simple typo somewhere, it just says assembling failed, doesnt give a line number or whatever, VERY annoying =P
and yeah well, i use it for 6502 :)
oh no, that would be unusable for sure.
My version is based on 2.20.07 but I can assure it gives errors and line numbers even with 0 verboseness. But it's been so modified that has nothing to spare with the original source, after 4 years of mods.
-v and -l are there for extra verboseness. I use -v 2 and -lname.lst all the time
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
gotta try it then i guess :)
|
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
iAN: Is your mod available somewhere?
//FTC |
| |
Mace
Registered: May 2002 Posts: 1799 |
Frantic, check message nr. 3 in this thread.
You'll find a link to iAN's website ;) |
Previous - 1 | 2 | 3 - Next |