Project files for the CPE 481 Embedded and Console Games Development course (Fall 2016).
- Instructions for ASM (Atari 2600)
- 2600Assignment1.asm
- 2600Assignment2.asm
- Instructions for BAS (Commodore 64)
- C64Assignment1.bas
- C64Assignment2.bas
Compile using DASM (https://sourceforge.net/projects/dasm-dillon/)
dasm Assignment1.asm -f3 -oAssignment1.bin
Run using Stella Atari 2600 Emulator (http://stella.sourceforge.net/). Tested on Windows 7 x64.
Displays a 1 pixel red line on the screen. It's horizontal position may be moved using left and right on the joystick. Joystick 1 is default mapped to left & right arrow on Stella.
Displays 2 sprites whose vertical and horizontal movements may be controlled by joystick 1 & 2 respectively. On collision the sprite's color will change. Note that the color is set based on the sprite's location on the screen, if the sprite does not move, it will not change colors. Joystick 1 is default mapped to up, down, left, & right arrow, joystick 2 is mapped to Y, H, G, & J on Stella.
Tokenize the .bas file into a .prg. I suggest using CBRM prg Studio (http://www.ajordison.co.uk/download.html). Execute the .prg with VICE (http://vice-emu.sourceforge.net/). Tested on Windows 7 x64.
A small program to test the functionality of the C64 SID chip. The program synthesizes a short song using a white noise waveform.
This program highlights two of the major features of the SID chip: voices and filtering. The program will prompt you to to use either a low-pass, high-pass, or band-pass filter. It will then generate frequencies filtered by the selection for all 3 voices.