diff --git a/bochsout b/bochsout index 27b7840..c27072b 100644 --- a/bochsout +++ b/bochsout @@ -32,41 +32,41 @@ 00000000000i[ ] SB16 support: yes 00000000000i[ ] USB support: yes 00000000000i[ ] VGA extension support: vbe -00000000000i[MEM0 ] allocated memory at 0x7fe55d4ff010. after alignment, vector=0x7fe55d500000 +00000000000i[MEM0 ] allocated memory at 0x7fbe8abbf010. after alignment, vector=0x7fbe8abc0000 00000000000i[MEM0 ] 32,00MB 00000000000i[MEM0 ] mem block size = 0x00100000, blocks=32 00000000000i[MEM0 ] rom at 0xfffe0000/131072 ('/usr/local/share/bochs/BIOS-bochs-latest') -00000000000i[ ] lt_dlhandle is 0x23ee760 +00000000000i[ ] lt_dlhandle is 0x17d6760 00000000000i[PLGIN] loaded plugin libbx_hdimage.so -00000000000i[ ] lt_dlhandle is 0x23ef220 +00000000000i[ ] lt_dlhandle is 0x17d7220 00000000000i[PLGIN] loaded plugin libbx_pci.so -00000000000i[ ] lt_dlhandle is 0x23efb10 +00000000000i[ ] lt_dlhandle is 0x17d7b10 00000000000i[PLGIN] loaded plugin libbx_pci2isa.so -00000000000i[ ] lt_dlhandle is 0x23f0650 +00000000000i[ ] lt_dlhandle is 0x17d8650 00000000000i[PLGIN] loaded plugin libbx_usb_uhci.so -00000000000i[ ] lt_dlhandle is 0x23f2cf0 +00000000000i[ ] lt_dlhandle is 0x17dacf0 00000000000i[PLGIN] loaded plugin libbx_usb_common.so -00000000000i[ ] lt_dlhandle is 0x23f3690 +00000000000i[ ] lt_dlhandle is 0x17db690 00000000000i[PLGIN] loaded plugin libbx_acpi.so -00000000000i[ ] lt_dlhandle is 0x23f4080 +00000000000i[ ] lt_dlhandle is 0x17dc080 00000000000i[PLGIN] loaded plugin libbx_cmos.so -00000000000i[ ] lt_dlhandle is 0x23f49a0 +00000000000i[ ] lt_dlhandle is 0x17dc9a0 00000000000i[PLGIN] loaded plugin libbx_dma.so -00000000000i[ ] lt_dlhandle is 0x23f5420 +00000000000i[ ] lt_dlhandle is 0x17dd420 00000000000i[PLGIN] loaded plugin libbx_pic.so -00000000000i[ ] lt_dlhandle is 0x23f5d10 +00000000000i[ ] lt_dlhandle is 0x17ddd10 00000000000i[PLGIN] loaded plugin libbx_pit.so -00000000000i[ ] lt_dlhandle is 0x23f6790 +00000000000i[ ] lt_dlhandle is 0x17de790 00000000000i[PLGIN] loaded plugin libbx_floppy.so -00000000000i[ ] lt_dlhandle is 0x23f7470 +00000000000i[ ] lt_dlhandle is 0x17df470 00000000000i[PLGIN] loaded plugin libbx_vga.so -00000000000i[ ] lt_dlhandle is 0x23f6ea0 +00000000000i[ ] lt_dlhandle is 0x17deea0 00000000000i[PLGIN] loaded plugin libbx_ioapic.so -00000000000i[ ] lt_dlhandle is 0x23f8670 +00000000000i[ ] lt_dlhandle is 0x17e0670 00000000000i[PLGIN] loaded plugin libbx_keyboard.so -00000000000i[ ] lt_dlhandle is 0x23f9050 +00000000000i[ ] lt_dlhandle is 0x17e1050 00000000000i[PLGIN] loaded plugin libbx_harddrv.so -00000000000i[ ] lt_dlhandle is 0x23f8330 +00000000000i[ ] lt_dlhandle is 0x17e0330 00000000000i[PLGIN] loaded plugin libbx_pci_ide.so 00000000000i[PLGIN] init_dev of 'pci' plugin device by virtual method 00000000000i[DEV ] i440FX PMC present at device 0, function 0 @@ -74,7 +74,7 @@ 00000000000i[DEV ] PIIX3 PCI-to-ISA bridge present at device 1, function 0 00000000000i[PLGIN] init_dev of 'cmos' plugin device by virtual method 00000000000i[CMOS ] Using local time for initial clock -00000000000i[CMOS ] Setting initial clock to: Sun Mar 30 21:56:18 2014 (time0=1396209378) +00000000000i[CMOS ] Setting initial clock to: Mon Mar 31 04:16:08 2014 (time0=1396232168) 00000000000i[PLGIN] init_dev of 'dma' plugin device by virtual method 00000000000i[DMA ] channel 4 used by cascade 00000000000i[PLGIN] init_dev of 'pic' plugin device by virtual method @@ -231,24 +231,24 @@ 00001600000i[XGUI ] charmap update. Font Height is 16 00014040328i[BIOS ] Booting from 0000:7c00 00014400000i[XGUI ] charmap update. Font Height is 16 -00088108000p[XGUI ] >>PANIC<< POWER button turned off. -00088108000i[CPU0 ] CPU is in real mode (active) -00088108000i[CPU0 ] CS.mode = 16 bit -00088108000i[CPU0 ] SS.mode = 16 bit -00088108000i[CPU0 ] EFER = 0x00000000 -00088108000i[CPU0 ] | EAX=00000e00 EBX=00000002 ECX=00090004 EDX=00000000 -00088108000i[CPU0 ] | ESP=0000ffc2 EBP=0000ffca ESI=000e8047 EDI=00000400 -00088108000i[CPU0 ] | IOPL=0 id vip vif ac vm rf nt of df if tf sf ZF af PF cf -00088108000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D -00088108000i[CPU0 ] | CS:0800( 0004| 0| 0) 00008000 0000ffff 0 0 -00088108000i[CPU0 ] | DS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 -00088108000i[CPU0 ] | SS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 -00088108000i[CPU0 ] | ES:1000( 0005| 0| 0) 00010000 0000ffff 0 0 -00088108000i[CPU0 ] | FS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 -00088108000i[CPU0 ] | GS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 -00088108000i[CPU0 ] | EIP=00000029 (00000029) -00088108000i[CPU0 ] | CR0=0x60000010 CR2=0x00000000 -00088108000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000 -00088108000i[CMOS ] Last time is 1396209400 (Sun Mar 30 21:56:40 2014) -00088108000i[XGUI ] Exit -00088108000i[CTRL ] quit_sim called with exit code 1 +00227708000p[XGUI ] >>PANIC<< POWER button turned off. +00227708000i[CPU0 ] CPU is in real mode (active) +00227708000i[CPU0 ] CS.mode = 16 bit +00227708000i[CPU0 ] SS.mode = 16 bit +00227708000i[CPU0 ] EFER = 0x00000000 +00227708000i[CPU0 ] | EAX=00000e00 EBX=00000000 ECX=00090004 EDX=00000000 +00227708000i[CPU0 ] | ESP=0000ffbc EBP=0000ffca ESI=000e8076 EDI=00000400 +00227708000i[CPU0 ] | IOPL=0 id vip vif ac vm rf nt of df if tf sf ZF af PF cf +00227708000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D +00227708000i[CPU0 ] | CS:0800( 0004| 0| 0) 00008000 0000ffff 0 0 +00227708000i[CPU0 ] | DS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 +00227708000i[CPU0 ] | SS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 +00227708000i[CPU0 ] | ES:1000( 0005| 0| 0) 00010000 0000ffff 0 0 +00227708000i[CPU0 ] | FS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 +00227708000i[CPU0 ] | GS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 +00227708000i[CPU0 ] | EIP=00000058 (00000058) +00227708000i[CPU0 ] | CR0=0x60000010 CR2=0x00000000 +00227708000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000 +00227708000i[CMOS ] Last time is 1396232224 (Mon Mar 31 04:17:04 2014) +00227708000i[XGUI ] Exit +00227708000i[CTRL ] quit_sim called with exit code 1 diff --git a/second_binary.asm b/second_binary.asm index 71f5104..9cc7632 100644 --- a/second_binary.asm +++ b/second_binary.asm @@ -57,7 +57,7 @@ for_start_0: XOR bx, bx; ;CALL execute_sector ;JMP for_start_0 - JMP $ + JMP $ str: db 'Hi! I',0x27,'m the second binary!',0x0A,0x0D,0x00