Canola  0.8.D001
lib/calculator/asm.cc
Go to the documentation of this file.
00001 //
00002 // canola - canon canola 1614p emulator
00003 // Copyright (C) 2011 Peter Miller
00004 //
00005 // This program is free software; you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License, version 3, as
00007 // published by the Free Software Foundation.
00008 //
00009 // This program is distributed in the hope that it will be useful,
00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012 // General Public License for more details.
00013 //
00014 // You should have received a copy of the GNU General Public License along
00015 // with this program. If not, see <http://www.gnu.org/licenses/>.
00016 //
00017 
00018 #include <lib/config.h>
00019 #include <libexplain/output.h>
00020 
00021 #include <lib/calculator/asm.h>
00022 #include <lib/std_string_printf.h>
00023 
00024 
00025 calculator_asm::~calculator_asm()
00026 {
00027 }
00028 
00029 
00030 calculator_asm::calculator_asm()
00031 {
00032 }
00033 
00034 
00035 calculator::pointer
00036 calculator_asm::create()
00037 {
00038     return pointer(new calculator_asm());
00039 }
00040 
00041 
00042 void
00043 calculator_asm::derived_print(const display &)
00044 {
00045 }
00046 
00047 
00048 void
00049 calculator_asm::derived_feed(void)
00050 {
00051 }
00052 
00053 
00054 void
00055 calculator_asm::on_error_v(const char *fmt, va_list ap)
00056 {
00057     std::string text = std_string_printf_v(fmt, ap);
00058     explain_output_error_and_die("%s", text.c_str());
00059 }
00060 
00061 
00062 void
00063 calculator_asm::run(void)
00064 {
00065 }
00066 
00067 
00068 void
00069 calculator_asm::derived_off(void)
00070 {
00071     exit(0);
00072 }
00073 
00074 
00075 void
00076 calculator_asm::derived_update_display(const display &)
00077 {
00078 }
00079 
00080 
00081 void
00082 calculator_asm::clock_tick_start_running(void)
00083 {
00084 }
00085 
00086 
00087 void
00088 calculator_asm::printer_timer_start_running(void)
00089 {
00090 }