File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,7 @@ void Pt2001Base::downloadRam(int target) {
241
241
start_address = 0 ;
242
242
codeWidthRegAddr = 0x107 ;
243
243
RAM_ptr = PT2001_code_RAM1;
244
+ // todo: use efi::size?
244
245
size = sizeof (PT2001_code_RAM1) / 2 ;
245
246
break ;
246
247
@@ -249,13 +250,15 @@ void Pt2001Base::downloadRam(int target) {
249
250
start_address = 0 ;
250
251
codeWidthRegAddr = 0x127 ;
251
252
RAM_ptr = PT2001_code_RAM2;
253
+ // todo: use efi::size?
252
254
size = sizeof (PT2001_code_RAM2) / 2 ;
253
255
break ;
254
256
255
257
case DATA_RAM: // ch1 only?
256
258
memory_area = 0x4 ;
257
259
start_address = 0 ;
258
260
RAM_ptr = PT2001_data_RAM;
261
+ // todo: use efi::size?
259
262
size = sizeof (PT2001_data_RAM) / 2 ;
260
263
break ;
261
264
// optional, both data_rams with 0x3, writes same code to both
You can’t perform that action at this time.
0 commit comments