ericb59 / Fusion-C-v1.2

MSX C Library for SDCC compiler
Other
71 stars 7 forks source link

Exit() function doesn't work on MSXDOS1 #13

Open pvmm opened 2 years ago

pvmm commented 2 years ago

When trying to exit a .COM program, the Exit(...) function was ignored on MSXDOS1 while it worked on other MSXDOS versions and derivatives. Here is an example:

#include "fusion-c/header/msx_fusion.h"

int main(void)
{
    Exit(0);
    Print("unreachable\r\n");
    return 0;
}

And the result: image