Welcome, Guest. Please login or register.

Author Topic: Anyone help with DevPac?  (Read 1289 times)


0 Members and 1 Guest are viewing this topic.

Offline ptp170Topic starter

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 1
    • Show only replies by ptp170
Anyone help with DevPac?
« 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:


Offline AmigaBruno

  • Sr. Member
  • ****
  • Join Date: Nov 2012
  • Posts: 408
    • Show only replies by AmigaBruno
Re: Anyone help with DevPac?
« Reply #1 on: August 09, 2015, 01:02:45 PM »
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.

Offline Leffmann

  • Full Member
  • ***
  • Join Date: Feb 2011
  • Posts: 119
    • Show only replies by Leffmann
Re: Anyone help with DevPac?
« Reply #2 on: August 10, 2015, 05:41:01 PM »
Remove the line "include devpac:system.gs" and insert the following lines, and it will assemble:
Code: [Select]
        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)