http://git.dujemihanovic.i2p?p=nameless-os.git;a=blobdiff;f=boot.s;h=de5887dddc3101695a5ddcdc7e5deeca7f1d3796;hp=50730d0c39dd9566f3eef2e0b87582758af13444;hb=668fa121eb74d3317a73c2289f8805aaf1c84d7e;hpb=4326df7844154f8c575a33b3898709944e08f74b
- mov cx, msg1end - msg1 ; size of message - mov dl, 0 ; column to write to - mov dh, 0 ; row to write to - push cs ; push code segment to stack - pop es ; pop pushed code segment to extra segment, this serves as the base to the string - mov bp, msg1 ; offset where the string is - mov ah, 13h ; write string subservice - int 10h ; call BIOS interrupt 0x10 - jmp msg1end ; jmp to endless loop - msg1 db "Gotta start somewhere"...