gut danke, wenn ich es ändere bekomme ich keinen Fehler mehr aber bochs bootet dauernd neu, was ja eigentlich heißen sollte ich habe keine Endlosschleife, jedoch existiert diese, aber da auch kein Text ausgegeben wird hab ich das gefühl er bricht vorher ab?!
Edit: Das ändern von
;mov eax, cs ;EAX auf derzeitiges Codesegment setzen
;mov ds, ax ;DS auf Codesegment setzen
mov eax, 0x7C00
mov ds, ax
Hat jedoch immernoch nicht viel mehr gebracht, da er immer "Neu bootet" und (wahrscheinlich) nicht ein mal den text darstellt
Hier mal die bochsout.txt
00000000000i[ ] Bochs x86 Emulator 2.4.pre1
00000000000i[ ] Build from CVS snapshot on April 18, 2009
00000000000i[ ] System configuration
00000000000i[ ] processors: 1 (cores=1, HT threads=1)
00000000000i[ ] A20 line support: yes
00000000000i[ ] CPU configuration
00000000000i[ ] level: 6
00000000000i[ ] SMP support: no
00000000000i[ ] APIC support: yes
00000000000i[ ] FPU support: yes
00000000000i[ ] MMX support: yes
00000000000i[ ] SSE support: 2
00000000000i[ ] CLFLUSH support: yes
00000000000i[ ] VME support: yes
00000000000i[ ] 3dnow! support: no
00000000000i[ ] PAE support: yes
00000000000i[ ] PGE support: yes
00000000000i[ ] PSE support: yes
00000000000i[ ] 1G paging support: no
00000000000i[ ] x86-64 support: yes
00000000000i[ ] SEP support: yes
00000000000i[ ] MWAIT support: no
00000000000i[ ] XSAVE support: no
00000000000i[ ] AES support: no
00000000000i[ ] VMX support: no
00000000000i[ ] Optimization configuration
00000000000i[ ] RepeatSpeedups support: yes
00000000000i[ ] Trace cache support: yes
00000000000i[ ] Fast function calls: yes
00000000000i[ ] Devices configuration
00000000000i[ ] ACPI support: yes
00000000000i[ ] NE2000 support: yes
00000000000i[ ] PCI support: yes
00000000000i[ ] SB16 support: yes
00000000000i[ ] USB support: yes
00000000000i[ ] VGA extension support: vbe cirrus
00000000000i[MEM0 ] allocated memory at 05F40020. after alignment, vector=05F41000
00000000000i[MEM0 ] 32,00MB
00000000000i[MEM0 ] rom at 0xfffe0000/131072 ('C:\Program Files (x86)\Bochs-2.4.pre1/BIOS-bochs-latest')
00000000000i[MEM0 ] rom at 0xc0000/40448 ('C:\Program Files (x86)\Bochs-2.4.pre1/VGABIOS-lgpl-latest')
00000000000i[CMOS ] Using local time for initial clock
00000000000i[CMOS ] Setting initial clock to: Mon Aug 31 12:35:31 2009 (time0=1251714931)
00000000000i[DMA ] channel 4 used by cascade
00000000000i[DMA ] channel 2 used by Floppy Drive
00000000000i[FDD ] fd0: 'C:\Users\Marc\Coding\ASM\nasm-2.06rc2-win32\nasm-2.06rc2\tux\kernel.img' ro=0, h=2,t=80,spt=18
00000000000i[PCI ] 440FX Host bridge present at device 0, function 0
00000000000i[PCI ] PIIX3 PCI-to-ISA bridge present at device 1, function 0
00000000000i[MEM0 ] Register memory access handlers: 0x000a0000 - 0x000bffff
00000000000i[WGUI ] Desktop Window dimensions: 1400 x 1050
00000000000i[WGUI ] Number of Mouse Buttons = 5
00000000000i[WGUI ] IME disabled
00000000000i[MEM0 ] Register memory access handlers: 0xe0000000 - 0xe0ffffff
00000000000i[CLVGA] VBE Bochs Display Extension Enabled
00000000000i[CLVGA] interval=300000
00000000000i[ ] init_dev of 'unmapped' plugin device by virtual method
00000000000i[ ] init_dev of 'biosdev' plugin device by virtual method
00000000000i[ ] init_dev of 'speaker' plugin device by virtual method
00000000000i[ ] init_dev of 'extfpuirq' plugin device by virtual method
00000000000i[ ] init_dev of 'gameport' plugin device by virtual method
00000000000i[ ] init_dev of 'pci_ide' plugin device by virtual method
00000000000i[PCI ] PIIX3 PCI IDE controller present at device 1, function 1
00000000000i[ ] init_dev of 'acpi' plugin device by virtual method
00000000000i[PCI ] ACPI Controller present at device 1, function 3
00000000000i[ ] init_dev of 'ioapic' plugin device by virtual method
00000000000i[IOAP ] initializing I/O APIC
00000000000i[MEM0 ] Register memory access handlers: 0xfec00000 - 0xfec00fff
00000000000i[ ] init_dev of 'keyboard' plugin device by virtual method
00000000000i[KBD ] will paste characters every 1000 keyboard ticks
00000000000i[ ] init_dev of 'harddrv' plugin device by virtual method
00000000000i[HD ] Using boot sequence floppy, none, none
00000000000i[HD ] Floppy boot signature check is enabled
00000000000i[ ] init_dev of 'serial' plugin device by virtual method
00000000000i[SER ] com1 at 0x03f8 irq 4
00000000000i[ ] init_dev of 'parallel' plugin device by virtual method
00000000000i[PAR ] parallel port 1 at 0x0378 irq 7
00000000000i[ ] register state of 'unmapped' plugin device by virtual method
00000000000i[ ] register state of 'biosdev' plugin device by virtual method
00000000000i[ ] register state of 'speaker' plugin device by virtual method
00000000000i[ ] register state of 'extfpuirq' plugin device by virtual method
00000000000i[ ] register state of 'gameport' plugin device by virtual method
00000000000i[ ] register state of 'pci_ide' plugin device by virtual method
00000000000i[ ] register state of 'acpi' plugin device by virtual method
00000000000i[ ] register state of 'ioapic' plugin device by virtual method
00000000000i[ ] register state of 'keyboard' plugin device by virtual method
00000000000i[ ] register state of 'harddrv' plugin device by virtual method
00000000000i[ ] register state of 'serial' plugin device by virtual method
00000000000i[ ] register state of 'parallel' plugin device by virtual method
00000000000i[SYS ] bx_pc_system_c::Reset(HARDWARE) called
00000000000i[CPU0 ] cpu hardware reset
00000000000i[APIC0] local apic 0 initializing
00000000000i[APIC0] allocate APIC id=0 (MMIO enabled) to 0xfee00000
00000000000i[ ] reset of 'unmapped' plugin device by virtual method
00000000000i[ ] reset of 'biosdev' plugin device by virtual method
00000000000i[ ] reset of 'speaker' plugin device by virtual method
00000000000i[ ] reset of 'extfpuirq' plugin device by virtual method
00000000000i[ ] reset of 'gameport' plugin device by virtual method
00000000000i[ ] reset of 'pci_ide' plugin device by virtual method
00000000000i[ ] reset of 'acpi' plugin device by virtual method
00000000000i[ ] reset of 'ioapic' plugin device by virtual method
00000000000i[ ] reset of 'keyboard' plugin device by virtual method
00000000000i[ ] reset of 'harddrv' plugin device by virtual method
00000000000i[ ] reset of 'serial' plugin device by virtual method
00000000000i[ ] reset of 'parallel' plugin device by virtual method
00000003305i[BIOS ] $Revision: 1.230 $ $Date: 2009/04/10 16:36:34 $
00000320074i[KBD ] reset-disable command received
00000449796i[VBIOS] VGABios $Id: vgabios.c,v 1.69 2009/04/07 18:18:20 vruppert Exp $
00000449867i[CLVGA] VBE known Display Interface b0c0
00000449899i[CLVGA] VBE known Display Interface b0c5
00000452824i[VBIOS] VBE Bios $Id: vbe.c,v 1.62 2009/01/25 15:46:25 vruppert Exp $
00000759385i[BIOS ] Starting rombios32
00000759882i[BIOS ] Shutdown flag 0
00000760563i[BIOS ] ram_size=0x02000000
00000761041i[BIOS ] ram_end=32MB
00000861037i[BIOS ] Found 1 cpu(s)
00000880072i[BIOS ] bios_table_addr: 0x000fb9a8 end=0x000fcc00
00000880180i[PCI ] 440FX PMC write to PAM register 59 (TLB Flush)
00001207877i[PCI ] 440FX PMC write to PAM register 59 (TLB Flush)
00001535805i[P2I ] PCI IRQ routing: PIRQA# set to 0x0b
00001535826i[P2I ] PCI IRQ routing: PIRQB# set to 0x09
00001535847i[P2I ] PCI IRQ routing: PIRQC# set to 0x0b
00001535868i[P2I ] PCI IRQ routing: PIRQD# set to 0x09
00001535878i[P2I ] write: ELCR2 = 0x0a
00001536763i[BIOS ] PIIX3/PIIX4 init: elcr=00 0a
00001544721i[BIOS ] PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237 class=0x0600
00001547297i[BIOS ] PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000 class=0x0601
00001549712i[BIOS ] PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010 class=0x0101
00001549952i[PIDE ] new BM-DMA address: 0xc000
00001550656i[BIOS ] region 4: 0x0000c000
00001552970i[BIOS ] PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113 class=0x0680
00001553222i[ACPI ] new irq line = 11
00001553236i[ACPI ] new irq line = 9
00001553266i[ACPI ] new PM base address: 0xb000
00001553280i[ACPI ] new SM base address: 0xb100
00001553308i[PCI ] setting SMRAM control register to 0x4a
00001717402i[CPU0 ] Enter to System Management Mode
00001717412i[CPU0 ] RSM: Resuming from System Management Mode
00001881432i[PCI ] setting SMRAM control register to 0x0a
00001890601i[BIOS ] MP table addr=0x000fba80 MPC table addr=0x000fb9b0 size=0xd0
00001892543i[BIOS ] SMBIOS table addr=0x000fba90
00001894927i[BIOS ] ACPI tables: RSDP addr=0x000fbba0 ACPI DATA addr=0x01ff0000 size=0x988
00001898166i[BIOS ] Firmware waking vector 0x1ff00cc
00001909279i[PCI ] 440FX PMC write to PAM register 59 (TLB Flush)
00001910123i[BIOS ] bios_table_cur_addr: 0x000fbbc4
00003000000i[WGUI ] dimension update x=720 y=400 fontheight=16 fontwidth=9 bpp=8
00032315724i[BIOS ] Booting from 0000:7c00
00032315804e[CPU0 ] check_cs(0x0008): not a valid code segment !
00032315804e[CPU0 ] interrupt(): gate descriptor is not valid sys seg (vector=0x0d)
00032315804e[CPU0 ] interrupt(): gate descriptor is not valid sys seg (vector=0x08)
00032315804i[CPU0 ] CPU is in protected mode (active)
00032315804i[CPU0 ] CS.d_b = 16 bit
00032315804i[CPU0 ] SS.d_b = 16 bit
00032315804i[CPU0 ] EFER = 0x00000000
00032315804i[CPU0 ] | RAX=0000000060000011 RBX=0000000000000000
00032315804i[CPU0 ] | RCX=0000000000000000 RDX=0000000000000000
00032315804i[CPU0 ] | RSP=000000000000ffd6 RBP=0000000000000000
00032315804i[CPU0 ] | RSI=00000000000e3238 RDI=000000000000ffac
00032315804i[CPU0 ] | R8=0000000000000000 R9=0000000000000000
00032315804i[CPU0 ] | R10=0000000000000000 R11=0000000000000000
00032315804i[CPU0 ] | R12=0000000000000000 R13=0000000000000000
00032315804i[CPU0 ] | R14=0000000000000000 R15=0000000000000000
00032315804i[CPU0 ] | IOPL=0 id vip vif ac vm RF nt of df if tf sf zf af PF cf
00032315804i[CPU0 ] | SEG selector base limit G D
00032315804i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D
00032315804i[CPU0 ] | CS:0000( 0004| 0| 0) 00000000 0000ffff 0 0
00032315804i[CPU0 ] | DS:7c00( 0005| 0| 0) 0007c000 0000ffff 0 0
00032315804i[CPU0 ] | SS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
00032315804i[CPU0 ] | ES:0000( 0005| 0| 0) 00000000 0000ffff 0 0
00032315804i[CPU0 ] | FS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
00032315804i[CPU0 ] | GS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
00032315804i[CPU0 ] | MSR_FS_BASE:0000000000000000
00032315804i[CPU0 ] | MSR_GS_BASE:0000000000000000
00032315804i[CPU0 ] | RIP=0000000000007c66 (0000000000007c66)
00032315804i[CPU0 ] | CR0=0x60000011 CR2=0x0000000000000000
00032315804i[CPU0 ] | CR3=0x00000000 CR4=0x00000000
00032315804i[CPU0 ] 0x0000000000007c66>> jmp far 0008:006b : EA6B000800
00032315804e[CPU0 ] exception(): 3rd (13) exception with no resolution, shutdown status is 00h, resetting
00032315804i[SYS ] bx_pc_system_c::Reset(HARDWARE) called
00032315804i[CPU0 ] cpu hardware reset
00032315804i[APIC0] local apic 0 initializing
00032315804i[APIC0] allocate APIC id=0 (MMIO enabled) to 0xfee00000
00032315804i[ ] reset of 'unmapped' plugin device by virtual method
00032315804i[ ] reset of 'biosdev' plugin device by virtual method
00032315804i[ ] reset of 'speaker' plugin device by virtual method
00032315804i[ ] reset of 'extfpuirq' plugin device by virtual method
00032315804i[ ] reset of 'gameport' plugin device by virtual method
00032315804i[ ] reset of 'pci_ide' plugin device by virtual method
00032315804i[ ] reset of 'acpi' plugin device by virtual method
00032315804i[ ] reset of 'ioapic' plugin device by virtual method
00032315804i[ ] reset of 'keyboard' plugin device by virtual method
00032315804i[ ] reset of 'harddrv' plugin device by virtual method
00032315804i[ ] reset of 'serial' plugin device by virtual method
00032315804i[ ] reset of 'parallel' plugin device by virtual method
00032319110i[BIOS ] $Revision: 1.230 $ $Date: 2009/04/10 16:36:34 $
00032635043i[KBD ] reset-disable command received