Dave Van Wagner / Mbed OS C64-stm429_discovery

Dependencies:   LCD_DISCO_F429ZI BSP_DISCO_F429ZI USBHOST

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers emuc64.h Source File

emuc64.h

00001 // emuc64.h - Commodore 64 Emulator
00002 //
00003 ////////////////////////////////////////////////////////////////////////////////
00004 //
00005 // C64-stm429_discovery
00006 // C64/6502 Emulator targeting STM32F429 LCD/USBHOST
00007 // [ported from c-simple-emu-cbm (C Portable Version - for console)]
00008 //
00009 // MIT License
00010 //
00011 // Copyright(c) 2020 by David R.Van Wagner
00012 // davevw.com
00013 //
00014 // Permission is hereby granted, free of charge, to any person obtaining a copy
00015 // of this software and associated documentation files (the "Software"), to deal
00016 // in the Software without restriction, including without limitation the rights
00017 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
00018 // copies of the Software, and to permit persons to whom the Software is
00019 // furnished to do so, subject to the following conditions:
00020 //
00021 // The above copyright notice and this permission notice shall be included in all
00022 // copies or substantial portions of the Software.
00023 //
00024 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00025 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00026 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
00027 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
00028 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
00029 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
00030 // SOFTWARE.
00031 //
00032 ////////////////////////////////////////////////////////////////////////////////
00033 
00034 #pragma once
00035 
00036 extern void C64_Init(const char* basic_file, const char* chargen_file, const char* kernal_file);
00037 extern char* StartupPRG;
00038 extern void keyboard_task(void const *); // enhancement for ARM MBED USBHOST