www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/07/19/12:17:34

Xref: news-dnh.mv.net comp.os.msdos.djgpp:957
Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!plug.news.pipex.net!pipex!tank.news.pipex.net!pipex!dish.news.pipex.net!pipex!sunsite.doc.ic.ac.uk!daresbury!s-crim1!mbbad
From: mbbad AT s-crim1 DOT dl DOT ac DOT uk (I. Badcoe)
Newsgroups: comp.os.msdos.djgpp
Subject: Execution of Data ?
Date: 18 Jul 1995 14:56:22 GMT
Organization: SERC Daresbury Lab, Warrington, U.K.
Lines: 15
Nntp-Posting-Host: s-crim1.dl.ac.uk
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
	Just a quick query.  Am I right in thinking that I can load a suitable
set of bytes into an array and then jump to the start of the array (perhaps
by casting, perhaps using some of the go32_dpmi_* functions or perhaps with
inline asm) and it will execute happily under go32 ?

	I seem to remember when I looked at some of the _go32_dpmi* function
source that they did similar things to this (except perhaps they always use
DOS-memory; that may be because they always use RM code).

	Comments/answers.

	Badders

 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019