Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel video mode? #621

Open
dzavalishin opened this issue Dec 2, 2019 · 0 comments
Open

Intel video mode? #621

dzavalishin opened this issue Dec 2, 2019 · 0 comments

Comments

@dzavalishin
Copy link
Owner

; отключаем pipeB (PIPEBCONF bit31 = 0)
and dword [ds:56280000h+00071008h], 7FFFFFFFh
; отключаем VGA (VGACNTRL bit31 = 1)
or dword [ds:56280000h+00071400h], 80000000h
; меняем разрешение
; 1024x600 - PIPESRC_B
mov dword [ds:56280000h+0006101Ch], 03ff0257h
; 1024x600 - DSPBSIZE
mov dword [ds:56280000h+00071190h], 025703ffh
; количество байт на строку DSPBSTRIDE 400h(1024 пиксела)*4h(4 байта на пиксел)=1000h
mov dword [ds:56280000h+00071188h], 00001000h
; включаем не VGA (DSPBCTRL bit31 = 1)
or dword [ds:56280000h+00071180h], 80000000h
; включаем pipeB (PIPEBCONF bit31 = 1)
or dword [ds:56280000h+00071008h], 80000000h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant