Re: A85: Have you noticed...


[Prev][Next][Index][Thread]

Re: A85: Have you noticed...




At 12:35 1998-05-23 EDT, you wrote:
>
>>ASE for the 86 can emulate most TI-85 games, ZShell & Usgard games,
>>and porting a game from the 85 -> 86 is usually simple.
>
>Couldn't someone write a program to allow 82/83/86 emulation on an 85? 

You would have to simulate an awful lot of ROM calls... the most
common anyway.

86 program always starts on $D748, so you would have to move the program
to that address and move around programs in the memory.

>What needs to be changed between an 85 and an 86 game?

Basically, the name of each ROM call and the RAM addresses. Sometimes
some ordinary rom call works differently, for instance GET_KEY (or _getky
as the official 86 name is) destroys BC,DE & HL instead of just HL.

You would have to change some IY flags that on the 85 are changed by
the shell, and some other ROM calls at the beginning are necessary
(_runindicoff = BUSY_OFF, _flushallmenus)

If you want to save something in the program, you have to copy that
part of the program back to the variable storage memory before
quitting.

If the 85 program uses external stuff, you have to change a lot...

--
Real name: Jimmy Mårdell                "can't go mucking with a 'void *'"
IRC......: Yarin                                // Apple's MPW C compiler
Email....: mailto:yarin@acc.umu.se        
Homepage.: http://www.acc.umu.se/~yarin/   <-- NEW HOMEPAGE!!


References: