Amiga.org
Amiga computer related discussion => Amiga/MorphOS/AROS Programmers Forum => Topic started by: ptp170 on June 26, 2015, 09:13:26 PM
-
After a long journey and painful journey with a Chinon HD floppy (http://www.amibay.com/showthread.php?73920-Chinon-HD-drive-won-t-read-HD-floppies) I came across a thread here from Joe Fenton (http://www.amiga.org/forums/showthread.php?t=19858)
I am trying to assemble the source code in Joe's thread in DevPac. I've included 'system.gs' but the assembly fails on the CALLSYS lines returning 'Error instruction not recognised at line ### etc'.
Can anyone tell me what I'm doing wrong??:hammer:
Chris
-
I've recently been studying 68000 Assembler again, including Devpac and Assempro. My suggestion is that the source code may require an earlier or later version of Devpac, or that another Assembler, such as Argasm, may be able to assemble it. I had some errors with a German language disk of source code called "Spiele Selber Programmierung" (program games yourself), that may have been written with Assempro. They seemed to be caused by labels ending in colons, but one of these was s: , which is reserved anyway.
-
Remove the line "include devpac:system.gs" and insert the following lines, and it will assemble:
include exec/exec_lib.i
include exec/execbase.i
include exec/memory.i
include dos/dos.i
include devices/trackdisk.i
include devices/timer_lib.i
include resources/disk.i
include resources/disk_lib.i
include hardware/custom.i
CALLSYS macro
jsr _LVO\1(a6)
endm