Commit 3a1e20ed5a068b469ffe2df390ecb0b1ebc55abb
1 parent
c90df8df
--no commit message
Showing
4 changed files
with
43 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 0x7ff291e01010. after alignment, vector=0x7ff291e02000 | |
35 | +00000000000i[MEM0 ] allocated memory at 0x7f72141e9010. after alignment, vector=0x7f72141ea000 | |
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 0xd57760 | |
39 | +00000000000i[ ] lt_dlhandle is 0x2060760 | |
40 | 40 | 00000000000i[PLGIN] loaded plugin libbx_hdimage.so |
41 | -00000000000i[ ] lt_dlhandle is 0xd58220 | |
41 | +00000000000i[ ] lt_dlhandle is 0x2061220 | |
42 | 42 | 00000000000i[PLGIN] loaded plugin libbx_pci.so |
43 | -00000000000i[ ] lt_dlhandle is 0xd58b10 | |
43 | +00000000000i[ ] lt_dlhandle is 0x2061b10 | |
44 | 44 | 00000000000i[PLGIN] loaded plugin libbx_pci2isa.so |
45 | -00000000000i[ ] lt_dlhandle is 0xd59650 | |
45 | +00000000000i[ ] lt_dlhandle is 0x2062650 | |
46 | 46 | 00000000000i[PLGIN] loaded plugin libbx_usb_uhci.so |
47 | -00000000000i[ ] lt_dlhandle is 0xd5bcf0 | |
47 | +00000000000i[ ] lt_dlhandle is 0x2064cf0 | |
48 | 48 | 00000000000i[PLGIN] loaded plugin libbx_usb_common.so |
49 | -00000000000i[ ] lt_dlhandle is 0xd5c690 | |
49 | +00000000000i[ ] lt_dlhandle is 0x2065690 | |
50 | 50 | 00000000000i[PLGIN] loaded plugin libbx_acpi.so |
51 | -00000000000i[ ] lt_dlhandle is 0xd5d080 | |
51 | +00000000000i[ ] lt_dlhandle is 0x2066080 | |
52 | 52 | 00000000000i[PLGIN] loaded plugin libbx_cmos.so |
53 | -00000000000i[ ] lt_dlhandle is 0xd5d9a0 | |
53 | +00000000000i[ ] lt_dlhandle is 0x20669a0 | |
54 | 54 | 00000000000i[PLGIN] loaded plugin libbx_dma.so |
55 | -00000000000i[ ] lt_dlhandle is 0xd5e420 | |
55 | +00000000000i[ ] lt_dlhandle is 0x2067420 | |
56 | 56 | 00000000000i[PLGIN] loaded plugin libbx_pic.so |
57 | -00000000000i[ ] lt_dlhandle is 0xd5ed10 | |
57 | +00000000000i[ ] lt_dlhandle is 0x2067d10 | |
58 | 58 | 00000000000i[PLGIN] loaded plugin libbx_pit.so |
59 | -00000000000i[ ] lt_dlhandle is 0xd5f790 | |
59 | +00000000000i[ ] lt_dlhandle is 0x2068790 | |
60 | 60 | 00000000000i[PLGIN] loaded plugin libbx_floppy.so |
61 | -00000000000i[ ] lt_dlhandle is 0xd60470 | |
61 | +00000000000i[ ] lt_dlhandle is 0x2069470 | |
62 | 62 | 00000000000i[PLGIN] loaded plugin libbx_vga.so |
63 | -00000000000i[ ] lt_dlhandle is 0xd5fea0 | |
63 | +00000000000i[ ] lt_dlhandle is 0x2068ea0 | |
64 | 64 | 00000000000i[PLGIN] loaded plugin libbx_ioapic.so |
65 | -00000000000i[ ] lt_dlhandle is 0xd61670 | |
65 | +00000000000i[ ] lt_dlhandle is 0x206a670 | |
66 | 66 | 00000000000i[PLGIN] loaded plugin libbx_keyboard.so |
67 | -00000000000i[ ] lt_dlhandle is 0xd62050 | |
67 | +00000000000i[ ] lt_dlhandle is 0x206b050 | |
68 | 68 | 00000000000i[PLGIN] loaded plugin libbx_harddrv.so |
69 | -00000000000i[ ] lt_dlhandle is 0xd61330 | |
69 | +00000000000i[ ] lt_dlhandle is 0x206a330 | |
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 01:31:04 2014 (time0=1396139464) | |
77 | +00000000000i[CMOS ] Setting initial clock to: Sun Mar 30 03:10:31 2014 (time0=1396141831) | |
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 | 00001600001i[XGUI ] charmap update. Font Height is 16 |
232 | 232 | 00014040325i[BIOS ] Booting from 0000:7c00 |
233 | 233 | 00014400001i[XGUI ] charmap update. Font Height is 16 |
234 | -00172500000p[XGUI ] >>PANIC<< POWER button turned off. | |
235 | -00172500000i[CPU0 ] CPU is in real mode (active) | |
236 | -00172500000i[CPU0 ] CS.mode = 16 bit | |
237 | -00172500000i[CPU0 ] SS.mode = 16 bit | |
238 | -00172500000i[CPU0 ] EFER = 0x00000000 | |
239 | -00172500000i[CPU0 ] | EAX=00001000 EBX=00000000 ECX=00090000 EDX=00000000 | |
240 | -00172500000i[CPU0 ] | ESP=0000ffde EBP=00000000 ESI=000e7c0b EDI=00000400 | |
241 | -00172500000i[CPU0 ] | IOPL=0 id vip vif ac vm rf nt of df if tf sf ZF af PF cf | |
242 | -00172500000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D | |
243 | -00172500000i[CPU0 ] | CS:0000( 0004| 0| 0) 00000000 0000ffff 0 0 | |
244 | -00172500000i[CPU0 ] | DS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 | |
245 | -00172500000i[CPU0 ] | SS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 | |
246 | -00172500000i[CPU0 ] | ES:1000( 0005| 0| 0) 00010000 0000ffff 0 0 | |
247 | -00172500000i[CPU0 ] | FS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 | |
248 | -00172500000i[CPU0 ] | GS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 | |
249 | -00172500000i[CPU0 ] | EIP=00007c8e (00007c8e) | |
250 | -00172500000i[CPU0 ] | CR0=0x60000010 CR2=0x00000000 | |
251 | -00172500000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000 | |
252 | -00172500000i[CMOS ] Last time is 1396139507 (Sun Mar 30 01:31:47 2014) | |
253 | -00172500000i[XGUI ] Exit | |
254 | -00172500000i[CTRL ] quit_sim called with exit code 1 | |
234 | +00132892000p[XGUI ] >>PANIC<< POWER button turned off. | |
235 | +00132892000i[CPU0 ] CPU is in real mode (active) | |
236 | +00132892000i[CPU0 ] CS.mode = 16 bit | |
237 | +00132892000i[CPU0 ] SS.mode = 16 bit | |
238 | +00132892000i[CPU0 ] EFER = 0x00000000 | |
239 | +00132892000i[CPU0 ] | EAX=00001000 EBX=00000000 ECX=00090006 EDX=00000000 | |
240 | +00132892000i[CPU0 ] | ESP=0000ffde EBP=00000000 ESI=000e7c0b EDI=00000400 | |
241 | +00132892000i[CPU0 ] | IOPL=0 id vip vif ac vm rf nt of df if tf sf ZF af PF cf | |
242 | +00132892000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D | |
243 | +00132892000i[CPU0 ] | CS:0000( 0004| 0| 0) 00000000 0000ffff 0 0 | |
244 | +00132892000i[CPU0 ] | DS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 | |
245 | +00132892000i[CPU0 ] | SS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 | |
246 | +00132892000i[CPU0 ] | ES:1000( 0005| 0| 0) 00010000 0000ffff 0 0 | |
247 | +00132892000i[CPU0 ] | FS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 | |
248 | +00132892000i[CPU0 ] | GS:0000( 0005| 0| 0) 00000000 0000ffff 0 0 | |
249 | +00132892000i[CPU0 ] | EIP=00007c94 (00007c94) | |
250 | +00132892000i[CPU0 ] | CR0=0x60000010 CR2=0x00000000 | |
251 | +00132892000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000 | |
252 | +00132892000i[CMOS ] Last time is 1396141864 (Sun Mar 30 03:11:04 2014) | |
253 | +00132892000i[XGUI ] Exit | |
254 | +00132892000i[CTRL ] quit_sim called with exit code 1 | ... | ... |
boot.asm
... | ... | @@ -24,9 +24,12 @@ str: db 'THE GAME ',0x00 |
24 | 24 | |
25 | 25 | clear_screen: |
26 | 26 | PUSH ax |
27 | - MOV al, 02h ; Setting the graphical mode 80x25(text) | |
27 | + MOV al, 03h ; Setting the graphical mode 80x25(text) | |
28 | 28 | MOV ah, 00h ; Code of the function of changing video mode |
29 | 29 | INT 10h ; Call interruption |
30 | + MOV cl, 0x06 | |
31 | + MOV ah, 0x01 | |
32 | + INT 10h | |
30 | 33 | POP ax |
31 | 34 | RETN |
32 | 35 | ... | ... |
boot.bin
No preview for this file type
floppy.img
No preview for this file type