From: cuz Date: Fri, 14 Sep 2001 08:41:16 +0000 (+0000) Subject: Added peekxsys functions for the 6509 machines X-Git-Tag: V2.12.0~2664 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0dd35700c9391f4d5ee40fb5c2fc3782ff3adde0;p=cc65 Added peekxsys functions for the 6509 machines git-svn-id: svn://svn.cc65.org/cc65/trunk@917 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/cbm510.h b/include/cbm510.h index 295d6e679..8a4286ee2 100644 --- a/include/cbm510.h +++ b/include/cbm510.h @@ -82,7 +82,9 @@ -/* Special routines to write bytes and words in the system bank */ +/* Special routines to read/write bytes and words in the system bank */ +unsigned char __fastcall__ peekbsys (unsigned addr); +unsigned __fastcall__ peekwsys (unsigned addr); void __fastcall__ pokebsys (unsigned addr, unsigned char val); void __fastcall__ pokewsys (unsigned addr, unsigned val); diff --git a/include/cbm610.h b/include/cbm610.h index 2ca6f7af8..865d1452f 100644 --- a/include/cbm610.h +++ b/include/cbm610.h @@ -69,6 +69,8 @@ /* Special routines to write bytes and words in the system bank */ +unsigned char __fastcall__ peekbsys (unsigned addr); +unsigned __fastcall__ peekwsys (unsigned addr); void __fastcall__ pokebsys (unsigned addr, unsigned char val); void __fastcall__ pokewsys (unsigned addr, unsigned val);