flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
DennisCGc
You know, I have the same problem too...
It looks like the some parts will overlap each other (AFAIK).. I indeed would like to see a patch too.... |
|||
![]() |
|
Wildwest
You can rewrite set_bank in VESA12.INC:
set_bank: cli cmp al,[0xfff2] je retsb mov [0xfff2],al push ax push cx push dx mov dx,3D4h mov ch,al ; Save value for later and al,0Fh ; Mask off all but bottom 4 bits mov cl,al mov ax,4838h ; Enable extended registers out dx,ax mov al,31h ; Index of S3R1 out dx,al inc dl in al,dx ; Read value of S3R1 or al,9 ; Set bits 0 and 3 out dx,al ; Write value back again dec dl mov al,35h ; Index of S3R5 out dx,al inc dl in al,dx ; Read value of CR51 and al,0xC0 or al,cl and ch,0xF0 ; [S3_mask] ; Mask out appropriate bits shr ch,2 or al,ch ; Or in top 2 bits of bank number out dx,al ; Write the value back again dec dl mov ax,0039h ; Lock system control registers out dx,ax @@S32: mov ax,0038h ; Disable extended registers out dx,ax pop dx pop cx pop ax retsb: ret This code is not mine. I take it from menuetos.org.ru some months ago. Good luck! |
|||
![]() |
|
compilax
In 0.78pre3, VESA12 is just a few comments describing code that is no longer present. Can I in some way replace VESA20.INC by an old VESA12.INC (and replace labels with their 2.0 counterparts) then apply that patch? Has 1.2 support been moved to another source file or completely abandoned? Why does it still show VESA 1.2 modes on boot?
|
|||
![]() |
|
Tolle
Compilax, are you sure you are talking about the official 0.78pre3 menuetos.org distribution?
Now, who needs a new pair of glasses? |
|||
![]() |
|
Madis731
Yep, the VESA12.INC is absolutely clean of any code. They are
offering you a chance to write your own driver there ![]() |
|||
![]() |
|
ASHLEY4
I read some thing in allegro, that there is a bug seting up vesa on S3 trio.
To get round it you setup vga mode 13h and then set vesa up and it works normal. Not tryed it my self. \\\\||//// (@@) ASHLEY4. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.