File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change
1
+ --target
2
+ cb030
3
+ --rom
4
+ ../../68k_rom/cb030.rom
5
+ --symbols
6
+ ../../68k_rom/cb030.elf
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ def add_arguments(parser):
13
13
type = int ,
14
14
default = 64 ,
15
15
help = 'DRAM size; boards may have 16, 64 or 128M' )
16
+ parser .add_argument ('--cf-width' ,
17
+ type = int ,
18
+ default = 8 ,
19
+ help = 'CompactFlash interface width, 8 or 16' )
16
20
CompactFlash .add_arguments (parser )
17
21
MC68681 .add_arguments (parser )
18
22
@@ -103,7 +107,7 @@ def configure(args):
103
107
emu .add_device (args ,
104
108
CompactFlash ,
105
109
address = 0xffffe000 ,
106
- register_arrangement = '8-bit' )
110
+ register_arrangement = '8-bit' if args . cf_width == 8 else '16-bit' )
107
111
emu .add_device (args ,
108
112
CB030Remap ,
109
113
address = 0xffff8000 )
You can’t perform that action at this time.
0 commit comments