From 0dd35700c9391f4d5ee40fb5c2fc3782ff3adde0 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 14 Sep 2001 08:41:16 +0000 Subject: [PATCH] Added peekxsys functions for the 6509 machines git-svn-id: svn://svn.cc65.org/cc65/trunk@917 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/cbm510.h | 4 +++- include/cbm610.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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); -- 2.39.5