summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/mem.h
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2006-06-19 01:47:45 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2006-06-19 01:47:45 +0000
commit6952f03a7dfef2424164762ecd98fb128b7e44eb (patch)
tree2fa98afcc33e145d3c88417be24eb58a6f90cc9a /apps/plugins/rockboy/mem.h
parentdb8316fa52ed8eeb55136bc3aad2c98b25d249fb (diff)
downloadrockbox-6952f03a7dfef2424164762ecd98fb128b7e44eb.tar.gz
rockbox-6952f03a7dfef2424164762ecd98fb128b7e44eb.zip
Update for Rockboy: - fix scaling for other color screens than H300 - full menu rewrite to display choices properly - some small tweaks to code - some formatting updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10137 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/mem.h')
-rw-r--r--apps/plugins/rockboy/mem.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/plugins/rockboy/mem.h b/apps/plugins/rockboy/mem.h
index 36ea26e9f3..14d03d5ff5 100644
--- a/apps/plugins/rockboy/mem.h
+++ b/apps/plugins/rockboy/mem.h
@@ -1,4 +1,3 @@
1
2#ifndef __MEM_H__ 1#ifndef __MEM_H__
3#define __MEM_H__ 2#define __MEM_H__
4 3
@@ -48,10 +47,6 @@ extern struct mbc mbc;
48extern struct rom rom; 47extern struct rom rom;
49extern struct ram ram; 48extern struct ram ram;
50 49
51
52
53
54
55void mem_updatemap(void) ICODE_ATTR; 50void mem_updatemap(void) ICODE_ATTR;
56void ioreg_write(byte r, byte b) ICODE_ATTR; 51void ioreg_write(byte r, byte b) ICODE_ATTR;
57void mbc_write(int a, byte b) ICODE_ATTR; 52void mbc_write(int a, byte b) ICODE_ATTR;
@@ -60,7 +55,6 @@ byte mem_read(int a) ICODE_ATTR;
60void mbc_reset(void); 55void mbc_reset(void);
61 56
62 57
63
64#define READB(a) ( mbc.rmap[(a)>>12] \ 58#define READB(a) ( mbc.rmap[(a)>>12] \
65? mbc.rmap[(a)>>12][(a)] \ 59? mbc.rmap[(a)>>12][(a)] \
66: mem_read((a)) ) 60: mem_read((a)) )
@@ -71,10 +65,4 @@ void mbc_reset(void);
71: ( mem_write((a), (b)), (b) ) ) 65: ( mem_write((a), (b)), (b) ) )
72#define WRITEW(a, w) ( WRITEB((a), (w)&0xFF), WRITEB((a)+1, (w)>>8) ) 66#define WRITEW(a, w) ( WRITEB((a), (w)&0xFF), WRITEB((a)+1, (w)>>8) )
73 67
74
75
76
77#endif 68#endif
78
79
80