oeps
naar verkeerde adres :-)))))))))))
----- Original Message -----
From: "Barry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 20, 2000 9:41 PM
Subject: Re: GEM v0.4 released!
> ejjjjjjjjjj
>
> zeg eens iets in icq
>
> heb net me pc opnieuw geinstaleerd
>
>
>
> ----- Original Message -----
> From: "Laurens Holst" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 20, 2000 9:33 PM
> Subject: Re: GEM v0.4 released!
>
>
> > [...]
> > > On the other hand, like you say, using GEM as a basis for some other
> kind
> > > of recompilation (dynamic or a mix of recompilation and emulation) is
> not
> > a
> > > bad idea.
> > > Laurens had the idea to implement something similar in GEM. First scan
> the
> > > ROM for opcodes and routines that can be run natively on the MSX, then
> > mark
> > > these routines with a special byte (some illegal Gameboy opcode). When
> GEM
> > > encounters this special byte, it jumps to ANOTHER copy of the ROM,
thus
> > > needing twice the amount of memory, where it will execute the routine
> and
> > > return with a RET.
> >
> > Actually, an RST #38 (otherwise the PC will be lost).
> >
> >
> > > Although it's not a very elegant solution to use twice the memory,
> there's
> > > another problem. Needless to say the scanning part would be very slow
> and
> > > needs to be intelligent enough to see the difference between code and
> > data.
> > > Thus you need some sort of emulation to find that out. *sigh* It's not
> > easy...
> >
> > It is not *that* difficult... Only slow... Therefor, I prefer to make it
a
> > one-time process (by after the first time store the result (adapted ROM)
> in
> > an for example .OPT-file) (or make some kind of 'patchfile').
> >
> > But in theory the only thing you need to do is skip all instructions
> except
> > the JP's and CALL's (and JR's), and stack the current PC upon a call or
a
> > conditional jump. Keep up an overlay in the first pass of what is
> > instruction code and already has been processed. If something already
> > processed is being encountered then 'pop' the previous PC and continue
> from
> > there. Go on with that until you have processed everything.
> >
> > Memorymapping also has to be recognized.
> > Things like self-modifying code won't be a problem, since it's ROM. RAM
> will
> > still be fully emulated.
> >
> >
> > > I was planning on writing patch-support through the config file
anyway,
> so
> > > an external program (possibly on PC) could do the scanning and output
> the
> > > changes to a textfile. Another possibility is hacking into the game by
> > hand.
> >
> > First thing: yes, possibly.
> > Second thing: no way!
> >
> >
> > > The patch-support is needed anyway, since some games use crazy stuff
to
> > get
> > > some extra speed. Mortal Kombat 3 for instance thinks it's being
clever
> by
> > > writing to I/O (which is memory mapped) with a PUSH! ^^;
> >
> > Ugh.
> >
> >
> > ~Grauw
> >
> >
> > --
> > >>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<
> > email me: [EMAIL PROTECTED] or ICQ: 10196372
> > visit my homepage at http://grauw.blehq.org/
> > >>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<
> >
> >
> > ****
> > MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
> > and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
> > the body (not the subject) of the message.
> > Problems? contact [EMAIL PROTECTED]
> > More information on MSX can be found in the following places:
> > The MSX faq: http://www.faq.msxnet.org/
> > The MSX newsgroup: comp.sys.msx
> > The MSX IRC channel: #MSX on Undernet
> > ****
>
>
> ****
> MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
> and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
> the body (not the subject) of the message.
> Problems? contact [EMAIL PROTECTED]
> More information on MSX can be found in the following places:
> The MSX faq: http://www.faq.msxnet.org/
> The MSX newsgroup: comp.sys.msx
> The MSX IRC channel: #MSX on Undernet
> ****
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
the body (not the subject) of the message.
Problems? contact [EMAIL PROTECTED]
More information on MSX can be found in the following places:
The MSX faq: http://www.faq.msxnet.org/
The MSX newsgroup: comp.sys.msx
The MSX IRC channel: #MSX on Undernet
****