#ifdef HW_RVL

This commit is contained in:
Carl.Kenner 2009-05-04 22:27:22 +00:00
parent 72a7be797c
commit 1ca7041b17

View File

@ -40,8 +40,11 @@ static Bit8u exe_block[]={
0xbc,0x00,0x04, //MOV SP,0x400 decrease stack size 0xbc,0x00,0x04, //MOV SP,0x400 decrease stack size
0xbb,0x40,0x00, //MOV BX,0x040 for memory resize 0xbb,0x40,0x00, //MOV BX,0x040 for memory resize
0xb4,0x4a, //MOV AH,0x4A Resize memory block 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 0x90,0x90, // NOP, NOP... this prevents an invalid opcode crash in the core
#else
0xcd,0x21, //INT 0x21
#endif
//pos 12 is callback number //pos 12 is callback number
0xFE,0x38,0x00,0x00, //CALLBack number 0xFE,0x38,0x00,0x00, //CALLBack number
0xb8,0x00,0x4c, //Mov ax,4c00 0xb8,0x00,0x4c, //Mov ax,4c00