Article View: comp.lang.asm.x86
Article #128Re: Loading files in DPMI
From: David Lindauer
Date: Sun, 26 Jul 1998 00:00
Date: Sun, 26 Jul 1998 00:00
30 lines
2556 bytes
2556 bytes
In my app I still link the DPMI driver in with the pmode code, and then load it into extended memory with rep movsd. But that limits you to the DOS 640K for program sizes. If you have a borland or watcom linker you can write a loader for their EXE files; those files are NOT in the dos format but in the windows and OS/2 formats. There is documentation on the net about these formats, but I'm not sure where you would find it. David Marcus Johansson wrote: > I am almoust finsihed with my DPMI loader but I can only load 64kbit > files, anyone know how to load programs when operating in protectedmode? > > The dos routine for loading files seemes to be limited to 64kb so how do > > I load larger files, anyone got any code for it? Or suggestions? > > Thanks, > Marcus -- --------------------------------------------------------------- David Lindauer mailto:camille@bluegrass.net ICQ: 8699592 http://www.geocities.com/Area51/Station/5196/index.html (home page) http://www.geocities.com/Area51/Station/5196/ttc.html (tao te ching) http://www.geocities.com/Area51/Station/5196/treasure.html (computer page)
Technical Details
Message-ID:
<6pfslo$iko$1@winter.news.erols.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6pe4q3$oej$3@winter.news.erols.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: feaef,f21f69c019c6776d X-Google-Attributes: gidfeaef,public X-Google-Thread: 110df7,f21f69c019c6776d X-Google-Attributes: gid110df7,public X-Google-Thread: f7d8d,f21f69c019c6776d X-Google-Attributes: gidf7d8d,public X-Google-Thread: 1072bd,f21f69c019c6776d X-Google-Attributes: gid1072bd,public X-Google-Thread: 104440,f21f69c019c6776d X-Google-Attributes: gid104440,public X-Google-Thread: 114917,f21f69c019c6776d X-Google-Attributes: gid114917,public X-Google-Thread: 1093da,f21f69c019c6776d X-Google-Attributes: gid1093da,public From: David Lindauer <camille@bluegrass.net> Subject: Re: Loading files in DPMI Date: 1998/07/26 Message-ID: <6pfslo$iko$1@winter.news.erols.com> X-Deja-AN: 375084705 Cache-Post-Path: news.bluegrass.net!unknown@dial66.pm4.bluegrass.net Content-Transfer-Encoding: 7bit Approved: <johnfine@erols.com> References: <6pe4q3$oej$3@winter.news.erols.com> Content-Type: text/plain; charset=us-ascii X-Mozilla-Status: 0801 X-Complaints-To: abuse@rcn.com X-Trace: winter.news.erols.com 901477880 19096 207.172.241.35 (26 Jul 1998 18:31:20 GMT) Organization: Bluegrass Net X-Cache: nntpcache 2.3.2.1 (see http://www.nntpcache.org/) Mime-Version: 1.0 Newsgroups: comp.lang.asm.x86,sk.comp.asm,comp.lang.asm,borland.public.tasm,alt.lang.asm,alt.os.assembly,de.comp.lang.assembler.misc