Pmode enter and Exit

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
iota

Pmode enter and Exit

Post by iota »

hi all
this is not os as such
but i need asm code to enter pmode put a pixel on the screen and then exit back to real mode.
i am using qbasic dose that run in pmode or real mode.
i would like to go into unreal mode if posible or do i need to know some in depth knolage first.
any code tuts anything would help.
regards iota
carbonBased

RE:Pmode enter and Exit

Post by carbonBased »

QBasic runs in real mode, and has no methods to enter and/or leave pmode.

If you can embed assembly language into your QB code, then it is conceivable that you can write these routines yourself, but... IIRC, QB doesn't allow inline assembly, and even if it did... if you're writting in assembly, you might as well write completely in assembly, and get rid of the Basic muck.

Cheers,
Jeff
iota

RE:Pmode enter and Exit

Post by iota »

you can embed asm into qb code
i have done it meny a time before......
all i want is asm code to enter pmode print a chr then goto unreal mode.
if anyone has code that is commented that would be g8t.
i will not be writing it all in asm only the bit to goto pmode print a chr the goto unreal mode.
i need unreal mode because i intend on makeing an app and it will need lots of mem.
regrads iota
ps. any docs tuts at all will be helpful
Adek336

RE:Pmode enter and Exit

Post by Adek336 »

if you want to use unreal mode, how about learning it yourself than copying from somebody else.

it is a lot easier to code in asm than in qbasic, i think, so first - try in qbasic.

Adek
iota

RE:Pmode enter and Exit

Post by iota »

all i am after is a tut or some help on entering unreal mode
regrads iota
mikeleany

RE:Pmode enter and Exit

Post by mikeleany »

No offense, but sometimes I wonder if people know how to use a search engine.

http://www.google.com/search?hl=en&ie=U ... gle+Search
http://www.google.com/search?hl=en&lr=l ... gle+Search
Adek336

RE:Pmode enter and Exit

Post by Adek336 »

adek336.republika.pl/pm1.asm

nasm syntax - heavy commented - basic pmode enter and leave. if you get through it i will send you the part about unreal mode

Adek
Post Reply