Closed mlund closed 1 year ago
The following works with cc65 but when running with a clang generated .prg, xemu enters the monitor. Check if fileio.s is compiled correctly.
cc65
.prg
fileio.s
#include <stdio.h> #include <fileio.h> unsigned char fd; char filename[80 + 1] = "TEST.DAT"; int main() { closeall(); fd = open(filename); if (fd == 0xff) { printf("Load error"); } return 0; }
The following works with
cc65
but when running with a clang generated.prg
, xemu enters the monitor. Check iffileio.s
is compiled correctly.