21
Lowlevel-Coding / Break-SCanCode wird nicht gesendet ...
« am: 20. July 2006, 23:25 »
vllt liegt das daran, dass du erst ne Taste, die n breakcode sendet, drücken muss? XD
11. May 2024, 21:42
Diese Sektion erlaubt es dir alle Beiträge dieses Mitglieds zu sehen. Beachte, dass du nur solche Beiträge sehen kannst, zu denen du auch Zugriffsrechte hast.
; multiboot config
MBOOT_FLAGS equ MBOOT_PAGE_ALIGN | MBOOT_MEMORY_INFO | MBOOT_AOUT_KLUDGE | MBOOT_VIDEO_INFO
; start of file
_start_of_file:
; MBoot Header, 4-byte aligned
align 4, db 0
_mboot:
dd MBOOT_MAGIC
dd MBOOT_FLAGS
dd 0 - MBOOT_MAGIC - MBOOT_FLAGS
dd _mboot
dd _start_of_file
dd _end_of_data
dd _end_of_file
dd _entry_point
dd 0
dd 800
dd 600
dd 16
_entry_point:
; get VbePhysBasePtr
mov edx, dword [ebx+mbti_vbe_mode_info]
mov eax, dword [edx+VbeModePhysBasePtr]
mov dword [VbePhysBasePtr], eax
; color screen
mov edi, dword [VbePhysBasePtr]
mov eax, 0xCC
mov ecx, 600 * 800
rep stosd
; data section
VbePhysBasePtr dd 0
_end_of_data:
; bss section
_end_of_file
timeout 8
default 0
title testOS
root (fd0)
kernel /boot/loader.gz
vbematch 800 600 16