My Commodore VIC20 emulator with twists
Posted: Wed May 25, 2016 10:37 am
It seems I like to write unfinished and inaccurate emulators
Maybe someone is interested anyway. Don't let the project name confuse you 
https://github.com/lgblgblgb/xclcd
The emulation is not so much accurate, no need to mention. The CPU is 65C02, which for sure is incorrect for a VIC20, but I already had my own emulation for that CPU because of Commodore LCD computer, that's why I use that. VIC-I emulation is done by scanlines, which is also not so correct, I guess, but it's better than the initial version when I did a full frame in once
Sound is - "of course" - not emulated, also no tape/serial IEC, etc (but you can give a .prg) file as a parameter. Keypad arrows is the joystick, but in theory, USB joys/gamepad controllers should work as well (however a fixed single axis is used, which may not be mapped to a sane way by default ...), well it worked with an XBox 360 controller on Linux for me at least.
The project also includes a more-or-less working Commodore LCD and a Commodore 65 emulator (with also emulating the 65CE02 extra opcodes and other changes over 65C02), by the way, but it's kinda off-topic here, I think
Thanks to Pixel, he already had some suggestions and some help eg about the kernal/BASIC entries for the .prg loading stuff, and maybe other topics as well
Here it is a binary build (.win32 files are .exe) built by me (with mingw cross-compilation from Linux), but since I have/had *no* Windows at all, I can't test them too much ....
http://c65.lgb.hu/dist.zip
Thanks for you patience


https://github.com/lgblgblgb/xclcd
The emulation is not so much accurate, no need to mention. The CPU is 65C02, which for sure is incorrect for a VIC20, but I already had my own emulation for that CPU because of Commodore LCD computer, that's why I use that. VIC-I emulation is done by scanlines, which is also not so correct, I guess, but it's better than the initial version when I did a full frame in once

The project also includes a more-or-less working Commodore LCD and a Commodore 65 emulator (with also emulating the 65CE02 extra opcodes and other changes over 65C02), by the way, but it's kinda off-topic here, I think

Thanks to Pixel, he already had some suggestions and some help eg about the kernal/BASIC entries for the .prg loading stuff, and maybe other topics as well

Here it is a binary build (.win32 files are .exe) built by me (with mingw cross-compilation from Linux), but since I have/had *no* Windows at all, I can't test them too much ....
http://c65.lgb.hu/dist.zip
Thanks for you patience
