Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly x86 > Re: VESA Modes
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 11 Topic 4577 of 4729
Post > Topic >>

Re: VESA Modes

by Dirk Wolfgang Glomp <spamtrap@[EMAIL PROTECTED] > Mar 19, 2008 at 12:14 AM

Am Tue, 18 Mar 2008 18:09:56 +0000 schrieb Alex Buell:

> On Tue, 18 Mar 2008 07:43:50 +0100, I waved a wand and this message
> magically appears in front of Dirk Wolfgang Glomp:
> 
>> [vmode.asm]
>> Maybe anyone start your executable within an other executable using
>> ax=4B00h/int 21h(with own parameter block) as a child process, so it
>> is necessary to get the segment of the current psp, before searching
>> for some bytes of a wrong commandline.
> 
> Hmm, I did some experiements shelling out the program, but didn't see
> anything go bang. I also looked at Ralf Brown's Interrupt List for
> AX=0x4B00/int 0x21, but doesn't seem to be do***ented... 

RBIL->inter61b.zip->Interrup.g
--------D-214B-------------------------------
INT 21 - DOS 2+ - "EXEC" - LOAD AND/OR EXECUTE PROGRAM
	AH = 4Bh
	AL = type of load
	     00h load and execute
	....
	DS:DX -> ASCIZ program name (must include extension)
	ES:BX -> parameter block (see #01590,#01591,#01592)
.....
Format of EXEC parameter block for AL=00h,01h,04h:
Offset	Size	Description	(Table 01590)
 00h	WORD	segment of environment to copy for child process (copy caller's
		  environment if 0000h)
 02h	DWORD	pointer to command tail to be copied into child's PSP
 06h	DWORD	pointer to first FCB to be copied into child's PSP
 0Ah	DWORD	pointer to second FCB to be copied into child's PSP
.....
Notes:...
--------------------------------------------------------------------

PARBLOCK equ THIS WORD ; EXEC parameter block
DW 0                   ; same environment-block
DW OFFSET COMLINE      ; pointer(offset/segment) to child-commandline
DW SEG CODE
DD 0                   ; no entry in PSP #1
DD 0                   ; no entry in PSP #2

COMLINE DB 80h dup (0) ; child-commandline

Dirk
 




 11 Posts in Topic:
VESA Modes
Alex Buell <spamtrap@  2008-03-17 20:17:16 
Re: VESA Modes
Frank Kotler <spamtra  2008-03-17 22:36:15 
Re: VESA Modes
Frank Kotler <spamtra  2008-03-17 23:40:04 
Re: VESA Modes
Terence <spamtrap@[EM  2008-03-17 15:28:04 
Re: VESA Modes
Dirk Wolfgang Glomp <  2008-03-18 07:43:50 
Re: VESA Modes
Alex Buell <spamtrap@  2008-03-18 18:09:56 
Re: VESA Modes
Dirk Wolfgang Glomp <  2008-03-19 00:14:01 
Re: VESA Modes
Alex Buell <spamtrap@  2008-03-18 14:39:02 
Re: VESA Modes
Frank Kotler <spamtra  2008-03-19 08:46:31 
Re: VESA Modes
Alex Buell <spamtrap@  2008-03-19 15:41:34 
Re: VESA Modes
dirk <spamtrap@[EMAIL   2008-03-19 12:50:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 15:11:36 CDT 2008.