Zitat Zitat von Crash-Override

Code:
org 0x7C00 ; Unsere Startadresse

start:
cli
mov ax, 0x9000
mov ss, ax
mov sp, 0
sti

mov [bootdrv], dl

call load

mov ax, 0x1000
mov es, ax
mov ds, ax
push ax
mov ax, 0
push ax
retf

load:
push ds
mov ax, 0
mov dl, [bootdrv]
int 13h
pop ds
jc load

load1:
mov ax,0x1000
mov es,ax
mov bx, 0

mov ah, 2
mov al, 5
mov cx, 2
mov dx, 0
int 13h
jc load1
retn

times 512-($-$$)-2 db 0
dw 0AA55h
Und wer mir sagt was der Code bewirkt bekommt die Adresse wo ich ihn her hab
Ich tippe auf ein.. Wie schreibe ich mein eigenes OS-Tutorial oder so.
Oder eben dein eigens Dings was du da zusammenschusterst. Zumindest kommt mir der Code bekannt vor, ich hatte mal was fuer den C64 ausprobiert, sah so aehnlich aus. IIRC.


Bla, war klar. Ist von nem Bootloader.