Page 1 of 1
Pmode enter and Exit
Posted: Mon Jun 16, 2003 11:00 pm
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
RE:Pmode enter and Exit
Posted: Mon Jun 16, 2003 11:00 pm
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
RE:Pmode enter and Exit
Posted: Mon Jun 16, 2003 11:00 pm
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
RE:Pmode enter and Exit
Posted: Mon Jun 16, 2003 11:00 pm
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
RE:Pmode enter and Exit
Posted: Mon Jun 16, 2003 11:00 pm
by iota
all i am after is a tut or some help on entering unreal mode
regrads iota
RE:Pmode enter and Exit
Posted: Mon Jun 16, 2003 11:00 pm
by mikeleany
RE:Pmode enter and Exit
Posted: Tue Jun 17, 2003 11:00 pm
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