Skip to content

Commit

Permalink
Implement BOCHS emulator break point
Browse files Browse the repository at this point in the history
  • Loading branch information
humbertocsjr committed Oct 15, 2022
1 parent d95a3b9 commit a615b69
Show file tree
Hide file tree
Showing 12 changed files with 123 additions and 113 deletions.
Binary file modified BIN/LIB.BIN
Binary file not shown.
Binary file modified BIN/S86.COM
Binary file not shown.
Binary file modified BIN/T.COM
Binary file not shown.
Binary file modified LIB/LIB.BIN
Binary file not shown.
7 changes: 7 additions & 0 deletions LIB/LIB.S86
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ rtlen: dw offset end ; 0x0103 module length for mklib.t
jmp t_jmpstack ; 0x0192
jmp t_stackptr ; 0x0195
jmp t_instrptr ; 0x0198
jmp t_bochsbrk ; 0x019b


; Call frame layout
Expand All @@ -85,6 +86,12 @@ t_bpw:
mov ax,2
ret

; T.BOCHSBRK()
; Magic breakpoint on BOCHS emulator
t_bochsbrk:
xchg bx,bx
ret

; T.STACKPTR()
; Return stack pointer

Expand Down
Binary file modified SAMPLES/FIB.COM
Binary file not shown.
Binary file modified SAMPLES/HELLO.COM
Binary file not shown.
Binary file modified SAMPLES/TEST.COM
Binary file not shown.
228 changes: 115 additions & 113 deletions SRC/T.T
Original file line number Diff line number Diff line change
Expand Up @@ -1631,141 +1631,142 @@ emitlib() do var i, j, k, lib;
!LIBRARY!
[ 0x0080,
packed [
0xe9,0x2f,0x05,0x37,0x06,0x54,0x33,0x58,0xe9,0x90,0x00,0xe9,
0xe9,0x01,0xe9,0x21,0x02,0xe9,0x67,0x02,0xe9,0xa0,0x02,0xe9,
0xdb,0x02,0xe9,0xfc,0x02,0xe9,0x5c,0x03,0xe9,0xc2,0x03,0xe9,
0xd5,0x03,0xe9,0xea,0x03,0xe9,0x4b,0x04,0xe9,0x61,0x04,0xe9,
0x74,0x04,0xe9,0x7f,0x04,0xe9,0x8a,0x04,0xe9,0x95,0x04,0xe9,
0xa0,0x04,0xe9,0xab,0x04,0xe9,0xe7,0x03,0xe9,0xb3,0x04,0xe9,
0xbe,0x04,0xe9,0xc9,0x04,0xe9,0xd4,0x04,0xe9,0xb9,0x01,0xe9,
0x06,0x02,0xe9,0x44,0x02,0xe9,0x6e,0x02,0xe9,0x42,0x01,0xe9,
0x52,0x01,0xe9,0x65,0x01,0xe9,0x73,0x01,0xe9,0x86,0x01,0xe9,
0x07,0x01,0xe9,0x10,0x01,0xe9,0x18,0x01,0xe9,0x21,0x01,0xe9,
0x81,0x00,0xe9,0xaa,0x00,0xe9,0xc9,0x00 ],
0xe9,0x35,0x05,0x3d,0x06,0x54,0x33,0x58,0xe9,0x93,0x00,0xe9,
0xef,0x01,0xe9,0x27,0x02,0xe9,0x6d,0x02,0xe9,0xa6,0x02,0xe9,
0xe1,0x02,0xe9,0x02,0x03,0xe9,0x62,0x03,0xe9,0xc8,0x03,0xe9,
0xdb,0x03,0xe9,0xf0,0x03,0xe9,0x51,0x04,0xe9,0x67,0x04,0xe9,
0x7a,0x04,0xe9,0x85,0x04,0xe9,0x90,0x04,0xe9,0x9b,0x04,0xe9,
0xa6,0x04,0xe9,0xb1,0x04,0xe9,0xed,0x03,0xe9,0xb9,0x04,0xe9,
0xc4,0x04,0xe9,0xcf,0x04,0xe9,0xda,0x04,0xe9,0xbf,0x01,0xe9,
0x0c,0x02,0xe9,0x4a,0x02,0xe9,0x74,0x02,0xe9,0x48,0x01,0xe9,
0x58,0x01,0xe9,0x6b,0x01,0xe9,0x79,0x01,0xe9,0x8c,0x01,0xe9,
0x0d,0x01,0xe9,0x16,0x01,0xe9,0x1e,0x01,0xe9,0x27,0x01,0xe9,
0x87,0x00,0xe9,0xb0,0x00,0xe9,0xcf,0x00 ],
0x0080,
packed [
0xe9,0x4e,0x00,0xe9,0x60,0x00,0xe9,0x68,0x00,0xe9,0x68,0x01,
0xe9,0x1a,0x00,0xe9,0x1a,0x00,0xe9,0x21,0x00,0xe9,0x07,0x00,
0xe9,0x0b,0x00,0xb8,0x02,0x00,0xc3,0x89,0xe0,0x81,0xc0,0x02,
0x00,0xc3,0x58,0x50,0xc3,0x9c,0x58,0xc3,0x55,0x89,0xe5,0x8b,
0x46,0x04,0x50,0x9d,0x5d,0xc3,0x55,0x89,0xe5,0x1e,0x06,0x8b,
0x46,0x08,0x8b,0x5e,0x06,0x8b,0x4e,0x04,0xfa,0x8e,0xd0,0x8e,
0xd8,0x8e,0xc0,0x89,0xdc,0x50,0x51,0xfb,0xcb,0x55,0x89,0xe5,
0x8b,0x76,0x08,0x8b,0x46,0x04,0x89,0x04,0x8b,0x46,0x06,0x89,
0x44,0x02,0x31,0xc0,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x76,0x04,
0x8b,0x44,0x02,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x76,0x04,0x8b,
0x04,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x46 ],
0xe9,0x54,0x00,0xe9,0x66,0x00,0xe9,0x6e,0x00,0xe9,0x6e,0x01,
0xe9,0x20,0x00,0xe9,0x20,0x00,0xe9,0x27,0x00,0xe9,0x0d,0x00,
0xe9,0x11,0x00,0xe9,0x04,0x00,0xb8,0x02,0x00,0xc3,0x87,0xdb,
0xc3,0x89,0xe0,0x81,0xc0,0x02,0x00,0xc3,0x58,0x50,0xc3,0x9c,
0x58,0xc3,0x55,0x89,0xe5,0x8b,0x46,0x04,0x50,0x9d,0x5d,0xc3,
0x55,0x89,0xe5,0x1e,0x06,0x8b,0x46,0x08,0x8b,0x5e,0x06,0x8b,
0x4e,0x04,0xfa,0x8e,0xd0,0x8e,0xd8,0x8e,0xc0,0x89,0xdc,0x50,
0x51,0xfb,0xcb,0x55,0x89,0xe5,0x8b,0x76,0x08,0x8b,0x46,0x04,
0x89,0x04,0x8b,0x46,0x06,0x89,0x44,0x02,0x31,0xc0,0x5d,0xc3,
0x55,0x89,0xe5,0x8b,0x76,0x04,0x8b,0x44,0x02,0x5d,0xc3,0x55,
0x89,0xe5,0x8b,0x76,0x04,0x8b,0x04,0x5d ],
0x0080,
packed [
0x10,0xbe,0x1a,0x02,0x2e,0x88,0x04,0x8b,0x46,0x0e,0x8b,0x5e,
0x0c,0x8b,0x4e,0x0a,0x8b,0x56,0x08,0x8b,0x76,0x06,0x8b,0x7e,
0x04,0xcd,0x00,0x72,0x05,0x31,0xc0,0xe9,0x03,0x00,0xb8,0x01,
0x00,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x46,0x10,0xbe,0x46,0x02,
0x2e,0x88,0x04,0x8b,0x46,0x0e,0x8b,0x5e,0x0c,0x8b,0x4e,0x0a,
0x8b,0x56,0x08,0x8b,0x76,0x06,0x8b,0x7e,0x04,0xcd,0x00,0x5d,
0xc3,0x55,0x89,0xe5,0x8b,0x46,0x10,0xbe,0x68,0x02,0x2e,0x88,
0xc3,0x55,0x89,0xe5,0x8b,0x46,0x10,0xbe,0x20,0x02,0x2e,0x88,
0x04,0x8b,0x46,0x0e,0x8b,0x5e,0x0c,0x8b,0x4e,0x0a,0x8b,0x56,
0x08,0x8b,0x76,0x06,0x8b,0x7e,0x04,0xcd,0x00,0x74,0x05,0x31,
0x08,0x8b,0x76,0x06,0x8b,0x7e,0x04,0xcd,0x00,0x72,0x05,0x31,
0xc0,0xe9,0x03,0x00,0xb8,0x01,0x00,0x5d,0xc3,0x55,0x89,0xe5,
0x8b,0x56,0x06,0x8a,0x46,0x04,0xee,0x5d ],
0x8b,0x46,0x10,0xbe,0x4c,0x02,0x2e,0x88,0x04,0x8b,0x46,0x0e,
0x8b,0x5e,0x0c,0x8b,0x4e,0x0a,0x8b,0x56,0x08,0x8b,0x76,0x06,
0x8b,0x7e,0x04,0xcd,0x00,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x46,
0x10,0xbe,0x6e,0x02,0x2e,0x88,0x04,0x8b,0x46,0x0e,0x8b,0x5e,
0x0c,0x8b,0x4e,0x0a,0x8b,0x56,0x08,0x8b,0x76,0x06,0x8b,0x7e,
0x04,0xcd,0x00,0x74,0x05,0x31,0xc0,0xe9,0x03,0x00,0xb8,0x01,
0x00,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x56 ],
0x0080,
packed [
0xc3,0x55,0x89,0xe5,0x8b,0x56,0x04,0x31,0xc0,0xec,0x5d,0xc3,
0x55,0x89,0xe5,0x8b,0x56,0x06,0x8b,0x46,0x04,0xef,0x5d,0xc3,
0x55,0x89,0xe5,0x8b,0x56,0x04,0xed,0x5d,0xc3,0x55,0x89,0xe5,
0x1e,0x8b,0x46,0x06,0x8e,0xd8,0x8b,0x5e,0x04,0x31,0xc0,0x8a,
0x07,0x1f,0x5d,0xc3,0x55,0x89,0xe5,0x1e,0x8b,0x46,0x08,0x8e,
0xd8,0x8b,0x5e,0x06,0x8a,0x46,0x04,0x88,0x07,0x31,0xc0,0x1f,
0x5d,0xc3,0x55,0x89,0xe5,0x1e,0x8b,0x46,0x06,0x8e,0xd8,0x8b,
0x5e,0x04,0x8b,0x07,0x1f,0x5d,0xc3,0x55,0x89,0xe5,0x1e,0x8b,
0x46,0x08,0x8e,0xd8,0x8b,0x5e,0x06,0x8b,0x46,0x04,0x89,0x07,
0x31,0xc0,0x1f,0x5d,0xc3,0x8c,0xc8,0xc3,0x8c,0xd0,0xc3,0x55,
0x89,0xe5,0x8b,0x7e,0x04,0xfc,0xb0,0x0d ],
0x06,0x8a,0x46,0x04,0xee,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x56,
0x04,0x31,0xc0,0xec,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x56,0x06,
0x8b,0x46,0x04,0xef,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x56,0x04,
0xed,0x5d,0xc3,0x55,0x89,0xe5,0x1e,0x8b,0x46,0x06,0x8e,0xd8,
0x8b,0x5e,0x04,0x31,0xc0,0x8a,0x07,0x1f,0x5d,0xc3,0x55,0x89,
0xe5,0x1e,0x8b,0x46,0x08,0x8e,0xd8,0x8b,0x5e,0x06,0x8a,0x46,
0x04,0x88,0x07,0x31,0xc0,0x1f,0x5d,0xc3,0x55,0x89,0xe5,0x1e,
0x8b,0x46,0x06,0x8e,0xd8,0x8b,0x5e,0x04,0x8b,0x07,0x1f,0x5d,
0xc3,0x55,0x89,0xe5,0x1e,0x8b,0x46,0x08,0x8e,0xd8,0x8b,0x5e,
0x06,0x8b,0x46,0x04,0x89,0x07,0x31,0xc0,0x1f,0x5d,0xc3,0x8c,
0xc8,0xc3,0x8c,0xd0,0xc3,0x55,0x89,0xe5 ],
0x0080,
packed [
0xaa,0xb0,0x0a,0xaa,0x30,0xc0,0xaa,0x8b,0x46,0x04,0x5d,0xc3,
0x55,0x89,0xe5,0x1e,0x06,0x8b,0x46,0x0c,0x8e,0xd8,0x8b,0x46,
0x0a,0x50,0x8b,0x46,0x08,0x8e,0xc0,0x8b,0x46,0x06,0x50,0x8b,
0x46,0x04,0x50,0xe8,0x08,0x00,0x81,0xc4,0x06,0x00,0x07,0x1f,
0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x7e,0x08,0x8b,0x76,0x06,0x8b,
0x4e,0x04,0x39,0xfe,0x75,0x04,0x31,0xc0,0xeb,0x14,0xff,0xc1,
0xfc,0xf3,0xa6,0x09,0xc9,0x75,0x04,0x31,0xc0,0xeb,0x07,0x8a,
0x45,0xff,0x2a,0x44,0xff,0x98,0x5d,0xc3,0x55,0x89,0xe5,0x1e,
0x06,0x8b,0x46,0x0c,0x8e,0xc0,0x8b,0x7e,0x0a,0x8b,0x46,0x08,
0x8e,0xd8,0x8b,0x76,0x06,0x8b,0x4e,0x04,0xfc,0xf3,0xa4,0x07,
0x1f,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x7e ],
0x8b,0x7e,0x04,0xfc,0xb0,0x0d,0xaa,0xb0,0x0a,0xaa,0x30,0xc0,
0xaa,0x8b,0x46,0x04,0x5d,0xc3,0x55,0x89,0xe5,0x1e,0x06,0x8b,
0x46,0x0c,0x8e,0xd8,0x8b,0x46,0x0a,0x50,0x8b,0x46,0x08,0x8e,
0xc0,0x8b,0x46,0x06,0x50,0x8b,0x46,0x04,0x50,0xe8,0x08,0x00,
0x81,0xc4,0x06,0x00,0x07,0x1f,0x5d,0xc3,0x55,0x89,0xe5,0x8b,
0x7e,0x08,0x8b,0x76,0x06,0x8b,0x4e,0x04,0x39,0xfe,0x75,0x04,
0x31,0xc0,0xeb,0x14,0xff,0xc1,0xfc,0xf3,0xa6,0x09,0xc9,0x75,
0x04,0x31,0xc0,0xeb,0x07,0x8a,0x45,0xff,0x2a,0x44,0xff,0x98,
0x5d,0xc3,0x55,0x89,0xe5,0x1e,0x06,0x8b,0x46,0x0c,0x8e,0xc0,
0x8b,0x7e,0x0a,0x8b,0x46,0x08,0x8e,0xd8,0x8b,0x76,0x06,0x8b,
0x4e,0x04,0xfc,0xf3,0xa4,0x07,0x1f,0x5d ],
0x0080,
packed [
0x08,0x8b,0x76,0x06,0x8b,0x4e,0x04,0xfc,0x39,0xf7,0x74,0x0d,
0x72,0x09,0xfd,0x01,0xce,0x01,0xcf,0xff,0xce,0xff,0xcf,0xf3,
0xa4,0x5d,0x31,0xc0,0xc3,0x55,0x89,0xe5,0x06,0x8b,0x46,0x0a,
0x8e,0xc0,0x8b,0x7e,0x08,0x8b,0x46,0x06,0x8b,0x4e,0x04,0xfc,
0xf3,0xaa,0x07,0x5d,0x31,0xc0,0xc3,0x55,0x89,0xe5,0x8b,0x7e,
0x08,0x8b,0x46,0x06,0x8b,0x4e,0x04,0xfc,0xf3,0xaa,0x5d,0x31,
0xc0,0xc3,0x55,0x89,0xe5,0x1e,0x8b,0x46,0x0a,0x8e,0xd8,0x8b,
0x7e,0x08,0x89,0xfa,0x8b,0x46,0x06,0x8b,0x4e,0x04,0xff,0xc1,
0xfc,0xf2,0xae,0x09,0xc9,0x74,0x08,0x89,0xf8,0x29,0xd0,0xff,
0xc8,0xeb,0x03,0xb8,0xff,0xff,0x1f,0x5d,0xc3,0x55,0x89,0xe5,
0x8b,0x7e,0x08,0x89,0xfa,0x8b,0x46,0x06 ],
0xc3,0x55,0x89,0xe5,0x8b,0x7e,0x08,0x8b,0x76,0x06,0x8b,0x4e,
0x04,0xfc,0x39,0xf7,0x74,0x0d,0x72,0x09,0xfd,0x01,0xce,0x01,
0xcf,0xff,0xce,0xff,0xcf,0xf3,0xa4,0x5d,0x31,0xc0,0xc3,0x55,
0x89,0xe5,0x06,0x8b,0x46,0x0a,0x8e,0xc0,0x8b,0x7e,0x08,0x8b,
0x46,0x06,0x8b,0x4e,0x04,0xfc,0xf3,0xaa,0x07,0x5d,0x31,0xc0,
0xc3,0x55,0x89,0xe5,0x8b,0x7e,0x08,0x8b,0x46,0x06,0x8b,0x4e,
0x04,0xfc,0xf3,0xaa,0x5d,0x31,0xc0,0xc3,0x55,0x89,0xe5,0x1e,
0x8b,0x46,0x0a,0x8e,0xd8,0x8b,0x7e,0x08,0x89,0xfa,0x8b,0x46,
0x06,0x8b,0x4e,0x04,0xff,0xc1,0xfc,0xf2,0xae,0x09,0xc9,0x74,
0x08,0x89,0xf8,0x29,0xd0,0xff,0xc8,0xeb,0x03,0xb8,0xff,0xff,
0x1f,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x7e ],
0x0080,
packed [
0x8b,0x4e,0x04,0xff,0xc1,0xfc,0xf2,0xae,0x09,0xc9,0x74,0x08,
0x89,0xf8,0x29,0xd0,0xff,0xc8,0xeb,0x03,0xb8,0xff,0xff,0x5d,
0xc3,0x55,0x89,0xe5,0x8b,0x4e,0x08,0xff,0xc9,0xbe,0x82,0x00,
0xfc,0xff,0xce,0xac,0x80,0xf8,0x20,0x74,0xfa,0x80,0xf8,0x09,
0x74,0xf5,0x80,0xf8,0x0d,0x75,0x05,0xb8,0xff,0xff,0xeb,0x3e,
0x09,0xc9,0x74,0x14,0xff,0xc9,0xac,0x80,0xf8,0x20,0x74,0xdd,
0x80,0xf8,0x09,0x74,0xd8,0x80,0xf8,0x0d,0x74,0xd3,0xeb,0xee,
0x8b,0x7e,0x06,0x8b,0x4e,0x04,0x31,0xdb,0xff,0xc3,0x39,0xcb,
0x73,0x13,0xaa,0xac,0x80,0xf8,0x20,0x74,0x0c,0x80,0xf8,0x09,
0x74,0x07,0x80,0xf8,0x0d,0x74,0x02,0xeb,0xe7,0x31,0xc0,0xaa,
0x89,0xd8,0x5d,0xc3,0x55,0x89,0xe5,0x8b ],
0x08,0x89,0xfa,0x8b,0x46,0x06,0x8b,0x4e,0x04,0xff,0xc1,0xfc,
0xf2,0xae,0x09,0xc9,0x74,0x08,0x89,0xf8,0x29,0xd0,0xff,0xc8,
0xeb,0x03,0xb8,0xff,0xff,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x4e,
0x08,0xff,0xc9,0xbe,0x82,0x00,0xfc,0xff,0xce,0xac,0x80,0xf8,
0x20,0x74,0xfa,0x80,0xf8,0x09,0x74,0xf5,0x80,0xf8,0x0d,0x75,
0x05,0xb8,0xff,0xff,0xeb,0x3e,0x09,0xc9,0x74,0x14,0xff,0xc9,
0xac,0x80,0xf8,0x20,0x74,0xdd,0x80,0xf8,0x09,0x74,0xd8,0x80,
0xf8,0x0d,0x74,0xd3,0xeb,0xee,0x8b,0x7e,0x06,0x8b,0x4e,0x04,
0x31,0xdb,0xff,0xc3,0x39,0xcb,0x73,0x13,0xaa,0xac,0x80,0xf8,
0x20,0x74,0x0c,0x80,0xf8,0x09,0x74,0x07,0x80,0xf8,0x0d,0x74,
0x02,0xeb,0xe7,0x31,0xc0,0xaa,0x89,0xd8 ],
0x0080,
packed [
0x46,0x04,0x81,0xf8,0x01,0x00,0x75,0x11,0xb8,0x00,0x3c,0x8b,
0x56,0x06,0x31,0xc9,0xcd,0x21,0x73,0x29,0xb8,0xff,0xff,0xeb,
0x4a,0x81,0xf8,0x00,0x00,0x74,0x0e,0x81,0xf8,0x03,0x00,0x74,
0x05,0xb8,0xff,0xff,0xeb,0x39,0xb8,0x02,0x00,0x81,0xc8,0x00,
0x3d,0x8b,0x56,0x06,0xcd,0x21,0x73,0x05,0xb8,0xff,0xff,0xeb,
0x26,0x81,0xf8,0x00,0x00,0x7d,0x05,0xb8,0xff,0xff,0xeb,0x1b,
0x8b,0x5e,0x04,0x81,0xfb,0x03,0x00,0x75,0x12,0x50,0x89,0xc3,
0xb8,0x02,0x42,0x31,0xc9,0x31,0xd2,0xcd,0x21,0x58,0x73,0x03,
0xb8,0xff,0xff,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x5e,0x04,0xb8,
0x00,0x3e,0xcd,0x21,0x73,0x05,0xb8,0xff,0xff,0xeb,0x02,0x31,
0xc0,0x5d,0xc3,0x55,0x89,0xe5,0xb8,0x00 ],
0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x46,0x04,0x81,0xf8,0x01,0x00,
0x75,0x11,0xb8,0x00,0x3c,0x8b,0x56,0x06,0x31,0xc9,0xcd,0x21,
0x73,0x29,0xb8,0xff,0xff,0xeb,0x4a,0x81,0xf8,0x00,0x00,0x74,
0x0e,0x81,0xf8,0x03,0x00,0x74,0x05,0xb8,0xff,0xff,0xeb,0x39,
0xb8,0x02,0x00,0x81,0xc8,0x00,0x3d,0x8b,0x56,0x06,0xcd,0x21,
0x73,0x05,0xb8,0xff,0xff,0xeb,0x26,0x81,0xf8,0x00,0x00,0x7d,
0x05,0xb8,0xff,0xff,0xeb,0x1b,0x8b,0x5e,0x04,0x81,0xfb,0x03,
0x00,0x75,0x12,0x50,0x89,0xc3,0xb8,0x02,0x42,0x31,0xc9,0x31,
0xd2,0xcd,0x21,0x58,0x73,0x03,0xb8,0xff,0xff,0x5d,0xc3,0x55,
0x89,0xe5,0x8b,0x5e,0x04,0xb8,0x00,0x3e,0xcd,0x21,0x73,0x05,
0xb8,0xff,0xff,0xeb,0x02,0x31,0xc0,0x5d ],
0x0080,
packed [
0x3f,0x8b,0x5e,0x08,0x8b,0x56,0x06,0x8b,0x4e,0x04,0xcd,0x21,
0x73,0x03,0xb8,0xff,0xff,0x5d,0xc3,0x55,0x89,0xe5,0xb8,0x00,
0x40,0x8b,0x5e,0x08,0x8b,0x56,0x06,0x8b,0x4e,0x04,0xcd,0x21,
0x73,0x03,0xb8,0xff,0xff,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x56,
0x06,0x31,0xc9,0x8b,0x46,0x04,0x09,0xc0,0x75,0x05,0xb8,0x00,
0x42,0xeb,0x28,0x81,0xf8,0x01,0x00,0x75,0x06,0xb8,0x01,0x42,
0xe9,0x1c,0x00,0x81,0xf8,0x02,0x00,0x75,0x09,0xb8,0x02,0x42,
0xf7,0xda,0xff,0xc9,0xeb,0x0d,0x81,0xf8,0x03,0x00,0x75,0x12,
0xb8,0x01,0x42,0xf7,0xda,0xff,0xc9,0x8b,0x5e,0x08,0xcd,0x21,
0x72,0x04,0x31,0xc0,0xeb,0x03,0xb8,0xff,0xff,0x5d,0xc3,0x55,
0x89,0xe5,0xb8,0x00,0x56,0x8b,0x56,0x06 ],
0xc3,0x55,0x89,0xe5,0xb8,0x00,0x3f,0x8b,0x5e,0x08,0x8b,0x56,
0x06,0x8b,0x4e,0x04,0xcd,0x21,0x73,0x03,0xb8,0xff,0xff,0x5d,
0xc3,0x55,0x89,0xe5,0xb8,0x00,0x40,0x8b,0x5e,0x08,0x8b,0x56,
0x06,0x8b,0x4e,0x04,0xcd,0x21,0x73,0x03,0xb8,0xff,0xff,0x5d,
0xc3,0x55,0x89,0xe5,0x8b,0x56,0x06,0x31,0xc9,0x8b,0x46,0x04,
0x09,0xc0,0x75,0x05,0xb8,0x00,0x42,0xeb,0x28,0x81,0xf8,0x01,
0x00,0x75,0x06,0xb8,0x01,0x42,0xe9,0x1c,0x00,0x81,0xf8,0x02,
0x00,0x75,0x09,0xb8,0x02,0x42,0xf7,0xda,0xff,0xc9,0xeb,0x0d,
0x81,0xf8,0x03,0x00,0x75,0x12,0xb8,0x01,0x42,0xf7,0xda,0xff,
0xc9,0x8b,0x5e,0x08,0xcd,0x21,0x72,0x04,0x31,0xc0,0xeb,0x03,
0xb8,0xff,0xff,0x5d,0xc3,0x55,0x89,0xe5 ],
0x0080,
packed [
0x8b,0x7e,0x04,0xcd,0x21,0x73,0x05,0xb8,0xff,0xff,0xeb,0x02,
0x31,0xc0,0x5d,0xc3,0x55,0x89,0xe5,0xb8,0x00,0x41,0x8b,0x56,
0x04,0xcd,0x21,0x73,0x05,0xb8,0xff,0xff,0xeb,0x02,0x31,0xc0,
0x5d,0xc3,0x5e,0x5b,0x31,0xd2,0x39,0xc3,0x75,0x02,0xff,0xca,
0x89,0xd0,0xff,0xe6,0x5e,0x5b,0x31,0xd2,0x39,0xc3,0x74,0x02,
0xb8,0x00,0x56,0x8b,0x56,0x06,0x8b,0x7e,0x04,0xcd,0x21,0x73,
0x05,0xb8,0xff,0xff,0xeb,0x02,0x31,0xc0,0x5d,0xc3,0x55,0x89,
0xe5,0xb8,0x00,0x41,0x8b,0x56,0x04,0xcd,0x21,0x73,0x05,0xb8,
0xff,0xff,0xeb,0x02,0x31,0xc0,0x5d,0xc3,0x5e,0x5b,0x31,0xd2,
0x39,0xc3,0x75,0x02,0xff,0xca,0x89,0xd0,0xff,0xe6,0x5e,0x5b,
0x31,0xd2,0x39,0xc3,0x74,0x02,0xff,0xca,0x89,0xd0,0xff,0xe6,
0x5e,0x5b,0x31,0xd2,0x39,0xc3,0x7d,0x02,0xff,0xca,0x89,0xd0,
0xff,0xe6,0x5e,0x5b,0x31,0xd2,0x39,0xc3,0x7e,0x02,0xff,0xca,
0x89,0xd0,0xff,0xe6,0x5e,0x5b,0x31,0xd2,0x39,0xc3,0x7f,0x02,
0xff,0xca,0x89,0xd0,0xff,0xe6,0x5e,0x5b,0x31,0xd2,0x39,0xc3,
0x7d,0x02,0xff,0xca,0x89,0xd0,0xff,0xe6,0x5e,0x5b,0x31,0xd2,
0x39,0xc3,0x7e,0x02,0xff,0xca,0x89,0xd0,0xff,0xe6,0x5e,0x5b,
0x31,0xd2,0x39,0xc3,0x7f,0x02,0xff,0xca,0x89,0xd0,0xff,0xe6,
0x5e,0x5b,0x31,0xd2,0x39,0xc3,0x7c,0x02,0xff,0xca,0x89,0xd0,
0xff,0xe6,0x5e,0x5b,0x31,0xd2,0x39,0xc3 ],
0x0037,
0x7c,0x02,0xff,0xca,0x89,0xd0,0xff,0xe6 ],
0x003d,
packed [
0x73,0x02,0xff,0xca,0x89,0xd0,0xff,0xe6,0x5e,0x5b,0x31,0xd2,
0x39,0xc3,0x76,0x02,0xff,0xca,0x89,0xd0,0xff,0xe6,0x5e,0x5b,
0x31,0xd2,0x39,0xc3,0x77,0x02,0xff,0xca,0x89,0xd0,0xff,0xe6,
0x5e,0x5b,0x31,0xd2,0x39,0xc3,0x72,0x02,0xff,0xca,0x89,0xd0,
0xff,0xe6,0xb8,0xfe,0xff,0x89,0xc4 ],
0x5e,0x5b,0x31,0xd2,0x39,0xc3,0x73,0x02,0xff,0xca,0x89,0xd0,
0xff,0xe6,0x5e,0x5b,0x31,0xd2,0x39,0xc3,0x76,0x02,0xff,0xca,
0x89,0xd0,0xff,0xe6,0x5e,0x5b,0x31,0xd2,0x39,0xc3,0x77,0x02,
0xff,0xca,0x89,0xd0,0xff,0xe6,0x5e,0x5b,0x31,0xd2,0x39,0xc3,
0x72,0x02,0xff,0xca,0x89,0xd0,0xff,0xe6,0xb8,0xfe,0xff,0x89,
0xc4 ],
0 ];
!LIBRARY!
i := 0;
Expand Down Expand Up @@ -1995,6 +1996,7 @@ init(p) do var i, b::10;
builtin("t.jmpstack", 3,0x0192);
builtin("t.stackptr", 0,0x0195);
builtin("t.instrptr", 0,0x0198);
builtin("t.bochsbrk", 0,0x019b);
emitlib();
end

Expand Down
1 change: 1 addition & 0 deletions SRC/TSOURCE.T
Original file line number Diff line number Diff line change
Expand Up @@ -1854,6 +1854,7 @@ init(p) do var i, b::10;
builtin("t.jmpstack", 3,0x0192);
builtin("t.stackptr", 0,0x0195);
builtin("t.instrptr", 0,0x0198);
builtin("t.bochsbrk", 0,0x019b);
emitlib();
end

Expand Down
Binary file modified TOOLS/DOSFILE.COM
Binary file not shown.
Binary file modified TOOLS/MKLIB.COM
Binary file not shown.

0 comments on commit a615b69

Please sign in to comment.