- Clone https://github.com/emoon/fs-uae and build according to instructions. (Mac tested in my case)
- Clone ProDBG to this commit https://github.com/emoon/ProDBG/commit/a4a5c264a57b15d0325c585ff7995c31bb9216d4 and build according to instructions.
- Configure ProDBG Amiga UAE Settings so it looks something like this https://www.dropbox.com/s/a87dpxdf273bi6i/config.png?dl=0 (Config can be left empty)
- Make a test program and build it with vasm (or some other tool that can produce linedebug info)
Compile with these options (make sure to keep paths absolute) for vasm
vasm -m68000 -Fhunk -allhunksyms -linedebug /abs/path/to/file/HelloWorldTest.s -o hello.o
vlink -bamigahunk -Bstatic hello.o -o hello
_LVOCloseLibrary EQU -414
_LVOOpenLibrary EQU -552
_LVOOutput EQU -60
_LVOWrite EQU -48
section code,code
start:
move.l $4.w,ExecBase
; open DOS.library
move.l ExecBase,a6
lea DosName,a1
moveq #0,d0
jsr _LVOOpenLibrary(a6)
move.l d0,DosBase
; Print "Hello World" message to standard output
move.l DosBase,a6
jsr _LVOOutput(a6)
move.l d0,d1
move.l #HelloWorldMessage,d2
move.l #HelloWorldMessageEnd-HelloWorldMessage,d3
jsr _LVOWrite(a6)
; Close dos.library
move.l DosBase,a1
move.l $4.w,a6
jsr _LVOCloseLibrary(a6)
moveq #0,d0
rts
section data,data
HelloWorldMessage
dc.b "Hello World!",10
HelloWorldMessageEnd
DosName dc.b "dos.library",0
section bss,bss
ExecBase ds.l 1
DosBase ds.l 1
- Open the source file in ProDBG (File -> Open)
- Set a breakpoint at a valid line (F9)
- Run the program using File -> Debug Amiga Executable... Select the generated
hello
above. - You should now be able to step in the program using F11 it should look something like this https://www.dropbox.com/s/18b3dzajv04rmro/debugging.png
Thanks!
I'm unsure. It looks like the headers aren't included for some reason in you Qt5 installation which sounds odd.