Author: Jo Even Skarstein (195.1.5.228)
Date: 08-18-1999 07:08
You really don't need to make it a proper, windowed AES-application to get it to work under MagiC, MiNT etc. If you simply lock the screen you can do basically whatever you want, unlock the screen before you exit and everything should work fine. There are a few things you'll have to care about though:
* Never, EVER write self-modifying code unless you're 100% sure that it will work on CPUs with caches. Also, don't rely on behaviour that's specific to one certain CPU.
* Alway allocate all your memory properly, don't rely on fixed addresses.
* Save and restore all vectors you steal!
* Don't make any assumptions about the filesystem your game runs from. Use the proper directory-functions in MagiC and MiNT if available.
If you do this your game should work on all machines that supports STE-resolutions (i.e. STEs and Falcons), under MiNT, MagiC and TOS. It would be nice if you used the VDI for all output though, then it would work on my graphics-card as well ;-) It would also be very easy to add support for 8- and 16-bit graphics.
Jo Even Skarstein
|