Re: How to enter v86 and execute my program?

2008-09-01 Thread Peter Teoh
sorry, i am beginning to learn something new. never knew there is such a system call vm86(). (man vm86 to read more), and the implementation is in linux kernel's vm86.c, which runs 16bit under 32bit protected mode task. and from the man pages of vm86, dosemu is using this API. So I think you

Re: How to enter v86 and execute my program?

2008-09-01 Thread Peter Teoh
technically, 16bit cannot access > 16bit of RAM for i368 CPU. so the answer is technically impossible, CMIW. and linux kernel only runs on 32bit and 64bit, but u want to execute 16bit insn? eg, using QEMU to run 16 bit application? So i think your questions sounds like: how to execute insn

Re: How to enter v86 and execute my program?

2008-09-01 Thread Thomas Petazzoni
Le Mon, 1 Sep 2008 17:56:13 +0800, ZelluX <[EMAIL PROTECTED]> a écrit : > I want to enter v86 mode and switch to VGA Mode 13h to draw some > pictures. Now i can enter v86 mode with IRET instruction setting VM > flag in the eflags register. > > But since v86 mode supports only 16-bit address, how

How to enter v86 and execute my program?

2008-09-01 Thread ZelluX
Hi, all I want to enter v86 mode and switch to VGA Mode 13h to draw some pictures. Now i can enter v86 mode with IRET instruction setting VM flag in the eflags register. But since v86 mode supports only 16-bit address, how can i let the cpu executes instructions beyond 0x10 which includes set