how can i operate vesa card in protect model?
how can i operate vesa card in protect model?
i want to operate vesa card int protect model especially i want to set bank/page number which can be down in real model via vbe function 5.
but i failed too many times in protect model:(
first, i want to return back real model from protect model and use int 0x10 via vbe function 5 to finish it, but failed
then, i want to via vesa 2.0 protect model interface ( get it via function 0x0a ), but bochs don't support it even if vmmare.
so i failed too
how can it do it?
thank you very much!
but i failed too many times in protect model:(
first, i want to return back real model from protect model and use int 0x10 via vbe function 5 to finish it, but failed
then, i want to via vesa 2.0 protect model interface ( get it via function 0x0a ), but bochs don't support it even if vmmare.
so i failed too
how can it do it?
thank you very much!
Re:how can i operate vesa card in protect model?
i find a way to complish it: via LFB.
but, i don't map it and i only 4M memory, why can i use it 0xfxxxx xxxx address directly?
but, i don't map it and i only 4M memory, why can i use it 0xfxxxx xxxx address directly?
-
- Member
- Posts: 1600
- Joined: Wed Oct 18, 2006 11:59 am
- Location: Vienna/Austria
- Contact:
Re:how can i operate vesa card in protect model?
I won't waste my time with the protected mode VESA interface. I'd either do it with a combo of in() and out() - or use VBE 2.0 linear framebuffer. That's the most elegant possibility.
HTH.
PS: the linear framebuffer is entered in a field of the mode information you can obtain from VBE 2.0 via vbe-bios call. Look it up, it isn't that hard to find. Mark: the address of the linear framebuffer which you get from your video card is a physical address. You have to map it into your address space.
HTH.
PS: the linear framebuffer is entered in a field of the mode information you can obtain from VBE 2.0 via vbe-bios call. Look it up, it isn't that hard to find. Mark: the address of the linear framebuffer which you get from your video card is a physical address. You have to map it into your address space.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
BlueillusionOS iso image
Re:how can i operate vesa card in protect model?
Uses lfb and switch to realmode, do mode changing and switch back.
\\\\||////
(@@)
ASHLEY4.
\\\\||////
(@@)
ASHLEY4.
Re:how can i operate vesa card in protect model?
PS: go here and down load CdPod, this sets up vesa2 goes to pmode draws a 640x480 24bit, i-pod image and has a atapi drive for the cd player and switch's to real mode and back if the wrong type of 24bit graphic's (eg: some use XRGB and some use RGB) and switch's to textmode and goes back to pmode and plays cd's.
Take's user in put from menu and prints to screen (no bios,all done in pmode)
ALL IN 512bytes, yes it fit's on the boot sector of a floppy.
Try it from here: http://512.decard.net/?body=entries
\\\\||////
(@@)
ASHLEY4.
Take's user in put from menu and prints to screen (no bios,all done in pmode)
ALL IN 512bytes, yes it fit's on the boot sector of a floppy.
Try it from here: http://512.decard.net/?body=entries
\\\\||////
(@@)
ASHLEY4.
Re:how can i operate vesa card in protect model?
thank you for your reply.beyond infinity wrote: I won't waste my time with the protected mode VESA interface. I'd either do it with a combo of in() and out() - or use VBE 2.0 linear framebuffer. That's the most elegant possibility.
HTH.
PS: the linear framebuffer is entered in a field of the mode information you can obtain from VBE 2.0 via vbe-bios call. Look it up, it isn't that hard to find. Mark: the address of the linear framebuffer which you get from your video card is a physical address. You have to map it into your address space.
i do it via linear framebuffer. it works well now.but i don't map it into my address space.this is my puzzle.why don't i need to map it?
Re:how can i operate vesa card in protect model?
i have down it. thank you very much! ^_^ASHLEY4 wrote: PS: go here and down load CdPod, this sets up vesa2 goes to pmode draws a 640x480 24bit, i-pod image and has a atapi drive for the cd player and switch's to real mode and back if the wrong type of 24bit graphic's (eg: some use XRGB and some use RGB) and switch's to textmode and goes back to pmode and plays cd's.
Take's user in put from menu and prints to screen (no bios,all done in pmode)
ALL IN 512bytes, yes it fit's on the boot sector of a floppy.
Try it from here: http://512.decard.net/?body=entries
\\\\||////
(@@)
ASHLEY4.
Re:how can i operate vesa card in protect model?
Hi, i have a vesa demo i made that set up vesa, go to pmode, does a vesa demo, switch's back to realmode, switch's mode and goes back to pmode does a demo etc, With full asm code, let me know if you want it.
ps: If you like "CdPod" maybe you could rate it itjavascript:wink() .
\\\\||////
(@@)
ASHLEY4.
ps: If you like "CdPod" maybe you could rate it itjavascript:wink() .
\\\\||////
(@@)
ASHLEY4.
Re:how can i operate vesa card in protect model?
to ASHLEY4:
i want to see your vesa demo and study it.where can i get it? thank you very much
i want to see your vesa demo and study it.where can i get it? thank you very much
Re:how can i operate vesa card in protect model?
Hi, you can get it from my site, http://www.falconrybells.co.uk/
it's called "DemoVesa.zip" you need vesa 2 to use it.
All i ask is that if you try it, just report that it works or not works with your pc, nothing make's me mad, more that people not giving feedback.
\\\\||////
(@@)
ASHLEY4.
it's called "DemoVesa.zip" you need vesa 2 to use it.
All i ask is that if you try it, just report that it works or not works with your pc, nothing make's me mad, more that people not giving feedback.
\\\\||////
(@@)
ASHLEY4.
Re:how can i operate vesa card in protect model?
to ASHLEY4:
sorry, it can't work on my pc, neither on vmware nor bochs
sorry, it can't work on my pc, neither on vmware nor bochs
Re:how can i operate vesa card in protect model?
What graphic card do you have and what does it do when you run it on your pc ?.
\\\\||////
(@@)
ASHLEY4.
\\\\||////
(@@)
ASHLEY4.
Re:how can i operate vesa card in protect model?
my video card is TNT2 M64,
when I turn on my computer with your code,the computer stoped after read the floopy.
when I turn on my computer with your code,the computer stoped after read the floopy.
Re:how can i operate vesa card in protect model?
ASHLEY4 Your link for demovesa.zip doesn't work.
Do you have a backup ?
Thanks
Rich
Do you have a backup ?
Thanks
Rich
Re:how can i operate vesa card in protect model?
I used the same link for some thing else, i will up load it again, may take a day for the site to refresh data.
ps: if you do down load it, just let me know if it works ok on your pc, also you need vesa2 for it to work.
\\\\||////
(@@)
ASHLEY4.
ps: if you do down load it, just let me know if it works ok on your pc, also you need vesa2 for it to work.
\\\\||////
(@@)
ASHLEY4.