Built-in .com files now work, except for loadfix.com.

This commit is contained in:
Carl.Kenner 2009-05-04 22:16:07 +00:00
parent c2e9f6725a
commit 72a7be797c

View File

@ -40,7 +40,8 @@ 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 //0xcd,0x21, //INT 0x21
0x90,0x90, // NOP, NOP... this prevents an invalid opcode crash in the core
//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