Haben wir jemanden hier, der sich mit dem DASM auskennt? Müßte irgendwie ein File aufsplitten und es an zwei verschiedene Adressen assemblieren. Mit rorg kriege ich nur laufend Fehlermeldungen...wer könnte mir helfen?
DASM-Fragen
-
Courage -
21. August 2004 um 13:24 -
Erledigt
Es gibt 1 Antwort in diesem Thema, welches 2.149 mal aufgerufen wurde. Der letzte Beitrag (
-
-
das gleiche file 2x assemblieren (an verschiedene adressen) oder im file zwei teile an zwei verschiedene adressen assemblieren?
hier einige kommentare von funkscientist, der mein acme-sample für relaunch64 in dasm umgewandelt hat:
ZitatAlles anzeigen
; org, rorg, * & *=
; -----------------
;
; forget what i said about "rorg" last time, i doesn't do what i thought
; at all!
i always delcare things in sequential memory order in
; my source, so ive never need to find another way, and dasm doesnt seem
; to like referencing memory backwards ie:
;
; org $3800
; incbin "chars.bin"
; org $2000
; incbin "sprites.bin"
;
; so i got a bit confused as thats what your original source does ;P
; there probably is a way to declare memory in a random fashion like
; that but i've always ordered my coding, even if i split things into
; different snippets of source, i always include them in memory order
;
; dasm seems to treat "*" as the program counter, but does *not* appear to like
; "*=", unlike what i previously said. only "org" is used to set the origin it seems
; as well as rorg (which at the moment is completely beyond me)
;
; other dasm things...
; --------------------
; i'm not entirely sure, but it seems dasm likes a tab before opcodes and directives,
; and labels must begin on the first char of the line...
;
;processor 6502 - bad
; processor 6502 - ok
;
;label = $2000 - ok
; label = $2000 - bad
;
; it appears to me that this is the case, errors certainly seem to be generated in accordance
; with that.
;
; "byte" can also be "ds.b", as well as dasm using "word" ("ds.w") and "long" ("ds.l"), to
; declare space/memoryvielleicht hilft das?