🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2777

Re: Int 10H Function 13H - How Do I access BP from C ?

#2777
From: Filip Gieszczykiewicz
Date: Wed, 24 Oct 1990 15:26
28 lines
1713 bytes
.>A C compiler that can't link to assembly is pretty poor.  MS-C can certainly
.>do it from version 4.0 on; I imagine it's been supported since version 1.0.
.You missed the point !
.Inline assembly indeed requries MS-C 6.0 (and MASM or TASM I would guess).
.I once saw a program named MASM.EXE which just called TASM with some additional
.parameters, so you really don't need MASM.

	You can also use A86 assembler on Simtel. It has a .com file
	that you rename to MASM.COM and it executes like the real
	thing. I also think that it provides a more compact result and
	is _almost_ Masm comaptible.
.
.But, try it with the int86 or int86x, first.

	Weeeellll... First, it's slow. Second, you can't do anything
	other than they supply. For example, the guy is trying to
	use registers that are not passed by the INT86 routines
	(or so I understood) and it's foolish to rewrite them ;-)
.
.Norbert Bladt.

	Take care.
-- 
_______________________________________________________________________________
"The Force will be with you, always." It _is_ with me and has been for 10 years
Filip Gieszczykiewicz  "... a Jedi does it with a mind trick... " ;-)
FMGST@PITTVMS  or  fmgst@unix.cis.pitt.edu "My ideas. ALL MINE!!"
Technical Details
Message-ID: <52678@unix.cis.pitt.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!fmgst

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!fmgst
From: fmgst@unix.cis.pitt.edu (Filip Gieszczykiewicz)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Int 10H Function 13H - How Do I access BP from C ?
Keywords: MASM 6.0 etc..
Message-ID: <52678@unix.cis.pitt.edu>
Date: 24 Oct 90 15:26:35 GMT
Reply-To: fmgst@unix.cis.pitt.edu (Filip Gieszczykiewicz)
Followup-To: comp.os.msdos.programmer
Organization: The Last Jedi
Lines: 28