Jump to content

Elektron72

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

8 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. There is a vector located at $0314 that points to the interrupt routine (which is by default called at vertical blank every frame). Changing this vector to point to your own code will allow you to write a routine that runs at vertical blank. To make sure the original interrupt routine still runs, save the original value of the vector, and jump there at the end of your routine.
  2. The 6502 (and 65c02) only have 8 bit add and subtract. The carry flag has to be used to perform operations on any larger values, and multiplication/division must be done with loops and bit shifts.
  3. If you want to use the kernal routines, I believe that the most efficient way to do it using the routines currently implemented is using PLOT and CHROUT. To change colors using these routines, output the color control characters listed in the Programmer's Reference Guide. However, the fastest way to do it would most likely be by directly accessing the VERA registers. The default layout of screen memory allocates 256 bytes for each row, meaning that to access a specific X and Y, the high byte of the address is the Y, and the low byte is X*2 (which is easy to calculate using ASL). Even numbered bytes store character codes, and odd numbered bytes store color data. In 16-color mode, the lower 4 bits of each color byte store the foreground color, and the upper 4 bits store the background color.
  4. Is the clock frequency of the YM2151 in the Commander X16 3.579545 MHz or 4 MHz?
  5. Elektron72

    MineX16

    Version 1.0.1

    25 downloads

    This is a minesweeper clone for the Commander X16. It allows custom minefield sizes up to 38x24, with almost any amount of mines. To start, load and run MINEX16.PRG. Controls: Main Game Left click to reveal a tile Right click to flag a tile Click on the face to reset Press space to open the configuration screen (will reset the minefield) To exit, reset the machine (Ctrl-R on the emulator) Configuration Space to open and close Use the + and - buttons next to each digit to change the width, height, and number of mines Numbers are capped to a specific range; attempting to select an invalid value will set the number to its maximum or minimum value Click any of the presets to set all of the numbers at once Note: The game uses kernal functions to handle the mouse, so any weirdness is most likely caused by the emulator.
  6. MineX16 View File This is a minesweeper clone for the Commander X16. It allows custom minefield sizes up to 38x24, with almost any amount of mines. To start, load and run MINEX16.PRG. Controls: Main Game Left click to reveal a tile Right click to flag a tile Click on the face to reset Press space to open the configuration screen (will reset the minefield) To exit, reset the machine (Ctrl-R on the emulator) Configuration Space to open and close Use the + and - buttons next to each digit to change the width, height, and number of mines Numbers are capped to a specific range; attempting to select an invalid value will set the number to its maximum or minimum value Click any of the presets to set all of the numbers at once Note: The game uses kernal functions to handle the mouse, so any weirdness is most likely caused by the emulator. Submitter Elektron72 Submitted 08/19/20 Category Games  
×
×
  • Create New...

Important Information

Please review our Terms of Use