added demo rom (2048) to releases

This commit is contained in:
Daniel Prilik 2018-06-12 11:39:31 -07:00
parent e5b69f599b
commit d5922ed9bb
5 changed files with 31 additions and 5 deletions

View file

@ -28,7 +28,8 @@ after_success:
ARCHIVE="ANESE_macOS_`date +"%Y%m%d"`_`git rev-parse --short HEAD`.zip"
echo "Creating $ARCHIVE"
cd $TRAVIS_BUILD_DIR/bin
zip -r $ARCHIVE ANESE.app
cp -R ../roms/demos ./
zip -r $ARCHIVE ANESE.app demos
echo "Starting Google Drive upload"
echo "Uploading commit"
gdrive upload --refresh-token $GDRIVE_REFRESH_TOKEN --parent $GDRIVE_MACOS_FOLDER $ARCHIVE

View file

@ -26,5 +26,6 @@ after_build:
- cmd: cd ANESE_win_latest
- cmd: 7z x -y ..\SDL2-2.0.8-win32-x86.zip
- cmd: move ..\build\Release\anese.exe .\
- cmd: xcopy ..\roms\demos .\ /e
artifacts:
- path: ANESE_win_latest

BIN
roms/demos/2048/2048.nes Normal file

Binary file not shown.

View file

@ -0,0 +1,24 @@
NES/FC version of the popular 2048 game. Written by Valtteri "tsone" Heikkilä.
Font and number tile graphics are ripped with permission from Sega Mega Drive/
Genesis version by Oerg866. The game uses FamiTone2 audio library by Shiru.
Many thanks to Shiru and Oerg866.
The sources are available as part of the neskit project:
https://bitbucket.org/tsone/neskit/
The sources are in examples/2048/ directory. Please read the documentation on
how to build.
Enjoy!
--
Copyright 2013,2014 Valtteri "tsone" Heikkilä
Copying and distribution of this file, with or without modification, are
permitted in any medium without royalty provided the copyright notice and
this notice are preserved. This file is offered as-is, without any warranty.

View file

@ -168,10 +168,10 @@ u8 PPU::read(u16 addr) {
retval = 0x00;
} break;
default: { retval = this->cpu_data_bus;
fprintf(stderr,
"[PPU] Reading from Write-Only register: 0x%04X\n",
addr
);
// fprintf(stderr,
// "[PPU] Reading from Write-Only register: 0x%04X\n",
// addr
// );
} break;
}