Article View: rec.games.programmer
Article #80Re: Code for loading directly into VGA mem
From: Ryan Haksi
Date: Wed, 04 Nov 1992 00:32
Date: Wed, 04 Nov 1992 00:32
36 lines
1691 bytes
1691 bytes
in regard to the problem with inline assembly in labels in conjunction with
Borland....
... Personally I use Borland C++ v 2.0 and I have notice a few things
ONE. You are better off typing:
asm COMMAND
asm COMMAND
LABEL:
asm COMMAND
then typing:
asm {
COMMANDS
}
LABEL:
asm {
COMMANDS
}
TWO. You will notice I just showed you how to use labels with inline assembly ;-)
have fun.
(The reason I mention one is better is that although both forms should be equivalent
I have noticed that the first form will allways compile without generating nonsensical
errors........)
In any case I would personally compile things from the command line and forget about
inline assembler.. great in theory, but I have found it to be problematic in some cases
/-----------------------------------------------------------------------------/
Ryan Haksi | "Ha, You're bluffing you allready fired six shots!"
rhaksi@sirius.uvic.ca | -famous last words
| "I re-loaded....." -the rebuttal
/-----------------------------------------------------------------------------/
Technical Details
Message-ID:
<1992Nov4.003253.9437@sol.UVic.CA>Path:
arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!news.UVic.CA!uglw!rhaksiReferences:
<Bx1zLG.AMB@news.cso.uiuc.edu>Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!news.UVic.CA!uglw!rhaksi From: rhaksi@engr.UVic.CA (Ryan Haksi) Subject: Re: Code for loading directly into VGA mem Message-ID: <1992Nov4.003253.9437@sol.UVic.CA> Sender: news@sol.UVic.CA Nntp-Posting-Host: uglw.uvic.ca Reply-To: rhaksi@engr.UVic.CA Organization: University of Victoria, Victoria, BC, Canada References: <Bx1zLG.AMB@news.cso.uiuc.edu> Date: Wed, 4 Nov 92 00:32:53 GMT Lines: 37