Le 10/09/2023 à 23:53, Eero Tamminen a écrit :
Assuming AHCC, project file and sources are in same directory, you can
use something like this:
$ hatari-prg-args -m --cpulevel 3 --trace os_base -- ahcc_p.ttp
mfp_ser.prj
thanks for the infos, it worked.
So, I added a sleep to scc_ser.c in main() :
Super(sp);
+ sleep(2);
return 0;
but when I run the test in test/serial I get an error :
Test FAILED. Hatari exited with status 1.
ERROR: Unhandled exception!
<end of output>
This seems to be because "sleep" calls supexec and the test runs with
"--tos none" using a faketos that will not support gemdos/bios/... calls.
Any idea how it could be changed ? Add a "minimal" sleep function that
uses the vbl counter at $466 or maybe run test/serial with a tos != none ?