I must be doing something wrong.
wdcallahan opened this issue · comments
I pulled the repo. I installed the libraries. I typed make. I have no idea what went wrong. Am I still missing a library?
I have attached my output.
problem.txt
Hey! That's strange, which distribution and gcc version is this ?
It looks like it is suggesting to add #include <stdio.h>
at the top of util/debugger.c
, can you try this?
gcc (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2)
Fedora release 29 (Twenty Nine)
I added the line and then it compiled. I had the same problem on sundog-0.1.0 and sundog-master.
Now I have a new problem:
$ ./sundog A_116.ST
GL version: OpenGL ES 3.2 Mesa 18.3.5
psys_bootstrap: 63475 entries in global directory
PANIC: SYSTEM.PASCAL not found
Pushed that fix to master as f190e40
As for the .st
image, it's kind of finicky with which disk images work. It needs to be directly extracted from the original disk, not a compressed multi-game disk (which were way more common in the day).
This one should work: https://download.visucore.com/sundog/new_disk.st
Output should be something like
GL version: OpenGL ES 3.1 Mesa 18.2.8
psys_bootstrap: 4 entries in global directory
Found SYSTEM.PASCAL at offset 43800
Found USERPROG at offset 0x4cc00, size 0x01dee, globals_size 0x032c
Needs byteswap
Initial IPC at 0xd5fe:0x01:0x1ab8