Commit 66fb6f7aad1fb5b330a0be600ddc7c059407fef6

Authored by Imanol-Mikel Barba Sabariego
1 parent e1a43189

--no commit message

Showing 2 changed files with 40 additions and 40 deletions
bochsout
... ... @@ -32,41 +32,41 @@
32 32 00000000000i[ ] SB16 support: yes
33 33 00000000000i[ ] USB support: yes
34 34 00000000000i[ ] VGA extension support: vbe
35   -00000000000i[MEM0 ] allocated memory at 0x7fe55d4ff010. after alignment, vector=0x7fe55d500000
  35 +00000000000i[MEM0 ] allocated memory at 0x7fbe8abbf010. after alignment, vector=0x7fbe8abc0000
36 36 00000000000i[MEM0 ] 32,00MB
37 37 00000000000i[MEM0 ] mem block size = 0x00100000, blocks=32
38 38 00000000000i[MEM0 ] rom at 0xfffe0000/131072 ('/usr/local/share/bochs/BIOS-bochs-latest')
39   -00000000000i[ ] lt_dlhandle is 0x23ee760
  39 +00000000000i[ ] lt_dlhandle is 0x17d6760
40 40 00000000000i[PLGIN] loaded plugin libbx_hdimage.so
41   -00000000000i[ ] lt_dlhandle is 0x23ef220
  41 +00000000000i[ ] lt_dlhandle is 0x17d7220
42 42 00000000000i[PLGIN] loaded plugin libbx_pci.so
43   -00000000000i[ ] lt_dlhandle is 0x23efb10
  43 +00000000000i[ ] lt_dlhandle is 0x17d7b10
44 44 00000000000i[PLGIN] loaded plugin libbx_pci2isa.so
45   -00000000000i[ ] lt_dlhandle is 0x23f0650
  45 +00000000000i[ ] lt_dlhandle is 0x17d8650
46 46 00000000000i[PLGIN] loaded plugin libbx_usb_uhci.so
47   -00000000000i[ ] lt_dlhandle is 0x23f2cf0
  47 +00000000000i[ ] lt_dlhandle is 0x17dacf0
48 48 00000000000i[PLGIN] loaded plugin libbx_usb_common.so
49   -00000000000i[ ] lt_dlhandle is 0x23f3690
  49 +00000000000i[ ] lt_dlhandle is 0x17db690
50 50 00000000000i[PLGIN] loaded plugin libbx_acpi.so
51   -00000000000i[ ] lt_dlhandle is 0x23f4080
  51 +00000000000i[ ] lt_dlhandle is 0x17dc080
52 52 00000000000i[PLGIN] loaded plugin libbx_cmos.so
53   -00000000000i[ ] lt_dlhandle is 0x23f49a0
  53 +00000000000i[ ] lt_dlhandle is 0x17dc9a0
54 54 00000000000i[PLGIN] loaded plugin libbx_dma.so
55   -00000000000i[ ] lt_dlhandle is 0x23f5420
  55 +00000000000i[ ] lt_dlhandle is 0x17dd420
56 56 00000000000i[PLGIN] loaded plugin libbx_pic.so
57   -00000000000i[ ] lt_dlhandle is 0x23f5d10
  57 +00000000000i[ ] lt_dlhandle is 0x17ddd10
58 58 00000000000i[PLGIN] loaded plugin libbx_pit.so
59   -00000000000i[ ] lt_dlhandle is 0x23f6790
  59 +00000000000i[ ] lt_dlhandle is 0x17de790
60 60 00000000000i[PLGIN] loaded plugin libbx_floppy.so
61   -00000000000i[ ] lt_dlhandle is 0x23f7470
  61 +00000000000i[ ] lt_dlhandle is 0x17df470
62 62 00000000000i[PLGIN] loaded plugin libbx_vga.so
63   -00000000000i[ ] lt_dlhandle is 0x23f6ea0
  63 +00000000000i[ ] lt_dlhandle is 0x17deea0
64 64 00000000000i[PLGIN] loaded plugin libbx_ioapic.so
65   -00000000000i[ ] lt_dlhandle is 0x23f8670
  65 +00000000000i[ ] lt_dlhandle is 0x17e0670
66 66 00000000000i[PLGIN] loaded plugin libbx_keyboard.so
67   -00000000000i[ ] lt_dlhandle is 0x23f9050
  67 +00000000000i[ ] lt_dlhandle is 0x17e1050
68 68 00000000000i[PLGIN] loaded plugin libbx_harddrv.so
69   -00000000000i[ ] lt_dlhandle is 0x23f8330
  69 +00000000000i[ ] lt_dlhandle is 0x17e0330
70 70 00000000000i[PLGIN] loaded plugin libbx_pci_ide.so
71 71 00000000000i[PLGIN] init_dev of 'pci' plugin device by virtual method
72 72 00000000000i[DEV ] i440FX PMC present at device 0, function 0
... ... @@ -74,7 +74,7 @@
74 74 00000000000i[DEV ] PIIX3 PCI-to-ISA bridge present at device 1, function 0
75 75 00000000000i[PLGIN] init_dev of 'cmos' plugin device by virtual method
76 76 00000000000i[CMOS ] Using local time for initial clock
77   -00000000000i[CMOS ] Setting initial clock to: Sun Mar 30 21:56:18 2014 (time0=1396209378)
  77 +00000000000i[CMOS ] Setting initial clock to: Mon Mar 31 04:16:08 2014 (time0=1396232168)
78 78 00000000000i[PLGIN] init_dev of 'dma' plugin device by virtual method
79 79 00000000000i[DMA ] channel 4 used by cascade
80 80 00000000000i[PLGIN] init_dev of 'pic' plugin device by virtual method
... ... @@ -231,24 +231,24 @@
231 231 00001600000i[XGUI ] charmap update. Font Height is 16
232 232 00014040328i[BIOS ] Booting from 0000:7c00
233 233 00014400000i[XGUI ] charmap update. Font Height is 16
234   -00088108000p[XGUI ] >>PANIC<< POWER button turned off.
235   -00088108000i[CPU0 ] CPU is in real mode (active)
236   -00088108000i[CPU0 ] CS.mode = 16 bit
237   -00088108000i[CPU0 ] SS.mode = 16 bit
238   -00088108000i[CPU0 ] EFER = 0x00000000
239   -00088108000i[CPU0 ] | EAX=00000e00 EBX=00000002 ECX=00090004 EDX=00000000
240   -00088108000i[CPU0 ] | ESP=0000ffc2 EBP=0000ffca ESI=000e8047 EDI=00000400
241   -00088108000i[CPU0 ] | IOPL=0 id vip vif ac vm rf nt of df if tf sf ZF af PF cf
242   -00088108000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D
243   -00088108000i[CPU0 ] | CS:0800( 0004| 0| 0) 00008000 0000ffff 0 0
244   -00088108000i[CPU0 ] | DS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
245   -00088108000i[CPU0 ] | SS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
246   -00088108000i[CPU0 ] | ES:1000( 0005| 0| 0) 00010000 0000ffff 0 0
247   -00088108000i[CPU0 ] | FS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
248   -00088108000i[CPU0 ] | GS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
249   -00088108000i[CPU0 ] | EIP=00000029 (00000029)
250   -00088108000i[CPU0 ] | CR0=0x60000010 CR2=0x00000000
251   -00088108000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000
252   -00088108000i[CMOS ] Last time is 1396209400 (Sun Mar 30 21:56:40 2014)
253   -00088108000i[XGUI ] Exit
254   -00088108000i[CTRL ] quit_sim called with exit code 1
  234 +00227708000p[XGUI ] >>PANIC<< POWER button turned off.
  235 +00227708000i[CPU0 ] CPU is in real mode (active)
  236 +00227708000i[CPU0 ] CS.mode = 16 bit
  237 +00227708000i[CPU0 ] SS.mode = 16 bit
  238 +00227708000i[CPU0 ] EFER = 0x00000000
  239 +00227708000i[CPU0 ] | EAX=00000e00 EBX=00000000 ECX=00090004 EDX=00000000
  240 +00227708000i[CPU0 ] | ESP=0000ffbc EBP=0000ffca ESI=000e8076 EDI=00000400
  241 +00227708000i[CPU0 ] | IOPL=0 id vip vif ac vm rf nt of df if tf sf ZF af PF cf
  242 +00227708000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D
  243 +00227708000i[CPU0 ] | CS:0800( 0004| 0| 0) 00008000 0000ffff 0 0
  244 +00227708000i[CPU0 ] | DS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
  245 +00227708000i[CPU0 ] | SS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
  246 +00227708000i[CPU0 ] | ES:1000( 0005| 0| 0) 00010000 0000ffff 0 0
  247 +00227708000i[CPU0 ] | FS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
  248 +00227708000i[CPU0 ] | GS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
  249 +00227708000i[CPU0 ] | EIP=00000058 (00000058)
  250 +00227708000i[CPU0 ] | CR0=0x60000010 CR2=0x00000000
  251 +00227708000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000
  252 +00227708000i[CMOS ] Last time is 1396232224 (Mon Mar 31 04:17:04 2014)
  253 +00227708000i[XGUI ] Exit
  254 +00227708000i[CTRL ] quit_sim called with exit code 1
... ...
second_binary.asm
... ... @@ -57,7 +57,7 @@ for_start_0:
57 57 XOR bx, bx;
58 58 ;CALL execute_sector
59 59 ;JMP for_start_0
60   - JMP $
  60 + JMP $
61 61  
62 62 str: db 'Hi! I',0x27,'m the second binary!',0x0A,0x0D,0x00
63 63  
... ...