mirror of
https://github.com/michaelcmartin/Ophis.git
synced 2024-12-30 10:30:47 +00:00
.. | ||
c64_0.oph | ||
c64kernal.oph | ||
nes.oph | ||
README.txt | ||
stella.oph |
This directory holds files likely to be of use to you in developing your own programs. The contents of each file is summarized below. c64_0.oph: A Commodore 64 equivalent to a modern compiler's "crt0.s" - it contains a .PRG file header, a short BASIC program that launches the machine language program, and a prologue and epilogue that prepare memory for your use and then clean it up again when you are done. Memory locations $02 through $7F on the zero page are available for your use, and the program lives at the beginning a contiguous block of RAM from $0800 through $CF81. The BASIC ROM is swapped out of memory (leaving $A000-$BFFF as RAM) for the duration of your program. c64kernal.oph: A collection of standard aliases for the KERNAL routines on the Commodore 64. Names for these routines have been chosen to match the Commodore 64 Programmer's Reference Guide. Additional useful constants are defined for the character codes for color changes and case-changing. nes.oph: A somewhat skeletal collection of aliases for the PPU registers on the Nintendo Entertainment System. These names were chosen to match the constant names given on the NESdev Wiki. stella.oph: A collection of aliases for the registers of the Atari 2600. These names were taken from the "Stella Programmer's Guide" and are in wide use amongst developers and code analysts alike.