2121 call print_base_str
2222%endmacro
2323
24- %macro PRINT_HINT 2
25- mov di , (% 1 * 80 + 8 ) * 2
26- mov si , % 2
27- mov bl , 0x4F
28- call print_base_str
29- %endmacro
30-
3124BITS 16
3225ORG 0x0500 ; Stage1 springt nach 0000:0500
3326
@@ -83,9 +76,6 @@ boot_menu:
8376 mov ax , 0xB800
8477 mov es , ax
8578
86- ; hinweis
87- PRINT_HINT 1 , note_str
88-
8979 ; menu bar
9080 mov di , ( 0 * 80 + 0 ) * 2
9181 mov ax , 0x07DB
@@ -449,22 +439,6 @@ print_base_str:
449439 .endeDBstr:
450440 ret
451441
452- print_hint_str:
453- push cs
454- pop ds
455- mov ax , 0xB800
456- mov es , ax
457- mov ah , bl
458- cld
459- .loop2:
460- lodsb
461- test al , al
462- jz .endeDCstr
463- stosw
464- jmp .loop2
465- .endeDCstr:
466- ret
467-
468442; ------------------------------------------------------------
469443; UI: Fill screen with char in AL and attr in AH
470444; ------------------------------------------------------------
@@ -499,7 +473,7 @@ main_bootmenu_loop:
499473 int 0x16
500474 jz main_bootmenu_loop
501475
502- ; Taste lesen: AH=scancode, AL=ascii (bei Pfeiltasten AL=0 oder 0xE0)
476+ ; Taste lesen: AH=bios scancode, AL=ascii (bei Pfeiltasten AL=0 oder 0xE0)
503477 mov ah , 0x00
504478 int 0x16
505479
@@ -648,13 +622,14 @@ enter_text_pm:
648622 a20_failed:
649623 mov si , msgA20FAIL
650624 call print_string
651- hlt
625+ jmp $
652626
653627 ; -------------------------------------------------
654628 ; GDT laden, Protected Mode aktivieren
655629 ; -------------------------------------------------
656630 A20ok:
657631 cli
632+
658633 lgdt [ gdt_descriptor ]
659634
660635 mov eax , cr0
@@ -905,7 +880,7 @@ pm_entry_kernel_2:
905880 ;mov dword [0xB8000], 0x07420741 ; "AB"
906881 mov esp , 0x0009F000 ; irgendein 32-Bit-Stack im oberen Bereich
907882
908- ; mov dword [0xB8000], 0x072A072A ; "**" (2 Zeichen) weiß auf schwarz
883+ mov dword [ 0xB8000 ], 0x072A072A ; "**" (2 Zeichen) weiß auf schwarz
909884
910885 ; entrypoint steht als dword am Anfang des
911886 ; geladenen kernel.bin (kernel.ld)
@@ -961,8 +936,6 @@ msgDBASEvesa1024x728: db " Start dBase 2026 Graphics-Mode 1024x728 ... ", 0
961936msgDBASE: db " -=< dBASE 2026 >=- " , 0
962937msgDBASEenv: db " Choose your Favorite Environment " , 0
963938
964- note_str: db "Hint: You have to do tripple press ENTER-Key, to select Env ! " , 0
965-
966939share1: db " ____ _ _ _ ____ _____ _ _ _ ____ _____ " , 0
967940share2: db " / ___|| | | | / \ | _ \| ____| | | | | / \ | _ \| ____| " , 0
968941share3: db " \___ \| |_| | / _ \ | |_) | _| | |/\| | / _ \ | |_) | _| " , 0
@@ -974,10 +947,6 @@ msgVESA_failModeInfo: db "[VESA] Error: ModeInfo." , 0
974947msgVESA_failUnsupported: db "[VESA] Error: Unsupported." , 0
975948msgVESA_failSetmode: db "[VESA] Error: SetMode." , 0
976949
977-
978- vessatext_a: db "vESSA 1111" , 13 , 10 , 0
979- vessatext_b: db "vESSA CCCC" , 13 , 10 , 0
980- vessatext_c: db "gugu " , 13 , 10 , 0
981950menuFlag db 4
982951
983952; Puffer für VBE Mode Info (256 Byte reichen)
0 commit comments