diff --git a/src/misc/programs.cpp b/src/misc/programs.cpp index 8df0363..b512879 100644 --- a/src/misc/programs.cpp +++ b/src/misc/programs.cpp @@ -40,8 +40,11 @@ static Bit8u exe_block[]={ 0xbc,0x00,0x04, //MOV SP,0x400 decrease stack size 0xbb,0x40,0x00, //MOV BX,0x040 for memory resize 0xb4,0x4a, //MOV AH,0x4A Resize memory block - //0xcd,0x21, //INT 0x21 +#ifdef HW_RVL 0x90,0x90, // NOP, NOP... this prevents an invalid opcode crash in the core +#else + 0xcd,0x21, //INT 0x21 +#endif //pos 12 is callback number 0xFE,0x38,0x00,0x00, //CALLBack number 0xb8,0x00,0x4c, //Mov ax,4c00