Home
last modified time | relevance | path

Searched refs:drive_ram (Results 1 – 23 of 23) sorted by relevance

/dports/emulators/vice/vice-3.5/src/drive/ieee/
H A Dmemieee.c48 return drv->drive_ram[address & 0x7ff]; in drive_read_2031ram()
53 drv->drive_ram[address & 0x7ff] = value; in drive_store_2031ram()
58 return drv->drive_ram[address & 0xff]; in drive_read_zero()
63 drv->drive_ram[address & 0xff] = value; in drive_store_zero()
95 return drv->drive_ram[address & 0xff]; in drive_read_1001zero_ram()
100 drv->drive_ram[address & 0xff] = byte; in drive_store_1001zero_ram()
105 return drv->drive_ram[(address & 0x3ff) + 0x100]; in drive_read_1001buffer1_ram()
185 drv->cpu->pageone = drv->drive_ram + 0x100; in memieee_init()
203 drv->cpu->pageone = drv->drive_ram; in memieee_init()
221 drv->cpu->pageone = drv->drive_ram; in memieee_init()
[all …]
H A Dfdc.c972 uint8_t *buffermem = drv->drive_ram + 0x100; in fdc_init()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/drive/ieee/
H A Dmemieee.c48 return drv->drive->drive_ram[address & 0x7ff]; in drive_read_2031ram()
53 drv->drive->drive_ram[address & 0x7ff] = value; in drive_store_2031ram()
58 return drv->drive->drive_ram[address & 0xff]; in drive_read_zero()
63 drv->drive->drive_ram[address & 0xff] = value; in drive_store_zero()
95 return drv->drive->drive_ram[address & 0xff]; in drive_read_1001zero_ram()
100 drv->drive->drive_ram[address & 0xff] = byte; in drive_store_1001zero_ram()
105 return drv->drive->drive_ram[(address & 0x3ff) + 0x100]; in drive_read_1001buffer1_ram()
185 drv->cpu->pageone = drv->drive->drive_ram + 0x100; in memieee_init()
203 drv->cpu->pageone = drv->drive->drive_ram; in memieee_init()
220 drv->cpu->pageone = drv->drive->drive_ram; in memieee_init()
[all …]
H A Dfdc.c739 uint8_t *buffermem = drv->drive->drive_ram + 0x100;
/dports/emulators/vice/vice-3.5/src/drive/iec/
H A Dmemiec.c57 return drv->drive_ram[address]; in drive_read_ram()
62 drv->drive_ram[address] = value; in drive_store_ram()
67 return drv->drive_ram[address & 0x7ff]; in drive_read_1541ram()
72 drv->drive_ram[address & 0x7ff] = value; in drive_store_1541ram()
77 return drv->drive_ram[address & 0xff]; in drive_read_zero()
82 drv->drive_ram[address & 0xff] = value; in drive_store_zero()
95 drv->cpu->pageone = drv->drive_ram + 0x100; in memiec_init()
136 drv->cpu->pageone = drv->drive_ram + 0x100; in memiec_init()
157 drv->cpu->pageone = drv->drive_ram + 0x100; in memiec_init()
166 drv->cpu->pageone = drv->drive_ram + 0x100; in memiec_init()
[all …]
H A Dcmdhd.c204 return drv->drive_ram[address]; in drive_read_ram()
209 drv->drive_ram[address] = value; in drive_store_ram()
1235 cmdhd_has_sig(&(hd->mycontext->drive_ram[0x9000])) ? 8000000 : 500000; in cmdhd_reset()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/drive/iec/
H A Dmemiec.c56 return drv->drive->drive_ram[address]; in drive_read_ram()
61 drv->drive->drive_ram[address] = value; in drive_store_ram()
66 return drv->drive->drive_ram[address & 0x7ff]; in drive_read_1541ram()
71 drv->drive->drive_ram[address & 0x7ff] = value; in drive_store_1541ram()
76 return drv->drive->drive_ram[address & 0xff]; in drive_read_zero()
81 drv->drive->drive_ram[address & 0xff] = value; in drive_store_zero()
94 drv->cpu->pageone = drv->drive->drive_ram + 0x100; in memiec_init()
95 …func(cpud, 0x00, 0x01, drive_read_zero, drive_store_zero, NULL, drv->drive->drive_ram, 0x000007fd); in memiec_init()
135 drv->cpu->pageone = drv->drive->drive_ram + 0x100; in memiec_init()
156 drv->cpu->pageone = drv->drive->drive_ram + 0x100; in memiec_init()
[all …]
/dports/emulators/vice/vice-3.5/src/drive/tcbm/
H A Dmem1551.c44 return drv->drive_ram[address & 0x7ff]; in drive_read_1551ram()
49 drv->drive_ram[address & 0x7ff] = value; in drive_store_1551ram()
61 return drv->drive_ram[address & 0xff]; in drive_read_zero()
75 drv->drive_ram[address & 0xff] = value; in drive_store_zero()
84 drv->cpu->pageone = drv->drive_ram + 0x100; in mem1551_init()
85 …drivemem_set_func(cpud, 0x00, 0x01, drive_read_zero, drive_store_zero, NULL, drv->drive_ram, 0x000… in mem1551_init()
86 …(cpud, 0x01, 0x08, drive_read_1551ram, drive_store_1551ram, NULL, &drv->drive_ram[0x0100], 0x00020… in mem1551_init()
H A Dglue1551.c61 output = (drv->drive_ram[1] & drv->drive_ram[0]) in glue_pport_update()
62 | ~(drv->drive_ram[0]); in glue_pport_update()
96 drv->drive_ram[1] = output & (input | ~0x90); in glue_pport_update()
104 return drv->drive_ram[0]; in glue1551_port0_read()
110 return drv->drive_ram[1]; in glue1551_port1_read()
115 drv->drive_ram[0] = value; in glue1551_port0_store()
121 drv->drive_ram[1] = value; in glue1551_port1_store()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/drive/tcbm/
H A Dmem1551.c44 return drv->drive->drive_ram[address & 0x7ff]; in drive_read_1551ram()
49 drv->drive->drive_ram[address & 0x7ff] = value; in drive_store_1551ram()
61 return drv->drive->drive_ram[address & 0xff]; in drive_read_zero()
75 drv->drive->drive_ram[address & 0xff] = value; in drive_store_zero()
84 drv->cpu->pageone = drv->drive->drive_ram + 0x100; in mem1551_init()
85 …func(cpud, 0x00, 0x01, drive_read_zero, drive_store_zero, NULL, drv->drive->drive_ram, 0x000207fd); in mem1551_init()
86 …0x01, 0x08, drive_read_1551ram, drive_store_1551ram, NULL, &drv->drive->drive_ram[0x0100], 0x00020… in mem1551_init()
H A Dglue1551.c61 output = (drv->drive->drive_ram[1] & drv->drive->drive_ram[0]) in glue_pport_update()
62 | ~(drv->drive->drive_ram[0]); in glue_pport_update()
96 drv->drive->drive_ram[1] = output & (input | ~0x90); in glue_pport_update()
104 return drv->drive->drive_ram[0]; in glue1551_port0_read()
110 return drv->drive->drive_ram[1]; in glue1551_port1_read()
115 drv->drive->drive_ram[0] = value; in glue1551_port0_store()
121 drv->drive->drive_ram[1] = value; in glue1551_port1_store()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/arch/gtk3/widgets/
H A Dsettings_drive.c69 static GtkWidget *drive_ram[4]; variable
159 option = drive_ram[unit - 8]; in on_model_changed()
262 drive_ram[unit - 8] = drive_ram_widget_create(unit); in create_vic20_layout()
263 gtk_grid_attach(GTK_GRID(grid), drive_ram[unit - 8], 1, 0, 1, 1); in create_vic20_layout()
319 drive_ram[unit - 8] = drive_ram_widget_create(unit); in create_c64_layout()
320 gtk_grid_attach(GTK_GRID(grid), drive_ram[unit - 8], 1, 0, 1, 1); in create_c64_layout()
378 drive_ram = drive_ram_widget_create(unit); in create_plus4_layout()
379 gtk_grid_attach(GTK_GRID(grid), drive_ram, 1, 0, 1, 1); in create_plus4_layout()
/dports/emulators/vice/vice-3.5/src/arch/gtk3/widgets/
H A Dsettings_drive.c84 static GtkWidget *drive_ram[NUM_DISK_UNITS]; variable
187 option = drive_ram[unit - DRIVE_UNIT_MIN]; in on_model_changed()
331 drive_ram[unit - DRIVE_UNIT_MIN] = drive_ram_widget_create(unit); in create_vic20_layout()
332 gtk_grid_attach(GTK_GRID(grid), drive_ram[unit - DRIVE_UNIT_MIN], 1, 0, 1, 1); in create_vic20_layout()
404 drive_ram[unit - DRIVE_UNIT_MIN] = drive_ram_widget_create(unit); in create_c64_layout()
405 gtk_grid_attach(GTK_GRID(grid), drive_ram[unit - DRIVE_UNIT_MIN], 1, 0, 1, 1); in create_c64_layout()
472 drive_ram = drive_ram_widget_create(unit); in create_plus4_layout()
473 gtk_grid_attach(GTK_GRID(grid), drive_ram, 1, 0, 1, 1); in create_plus4_layout()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/drive/
H A Ddrive.c105 drv->drive->drive_ram[0x12] = id[0]; in drive_set_disk_memory()
106 drv->drive->drive_ram[0x13] = id[1]; in drive_set_disk_memory()
107 drv->drive->drive_ram[0x16] = id[0]; in drive_set_disk_memory()
108 drv->drive->drive_ram[0x17] = id[1]; in drive_set_disk_memory()
109 drv->drive->drive_ram[0x18] = track; in drive_set_disk_memory()
110 drv->drive->drive_ram[0x19] = sector; in drive_set_disk_memory()
111 drv->drive->drive_ram[0x22] = track; in drive_set_disk_memory()
141 memcpy(&(drv->drive->drive_ram[0x0400]), buffer, 256); in drive_set_last_read()
H A Ddrivecpu.c600 if (SMW_BA(m, drv->drive->drive_ram, 0x800) < 0) { in drivecpu_snapshot_write_module()
608 if (SMW_BA(m, drv->drive->drive_ram, 0x2000) < 0) { in drivecpu_snapshot_write_module()
613 if (SMW_BA(m, drv->drive->drive_ram, 0x1100) < 0) { in drivecpu_snapshot_write_module()
692 if (SMR_BA(m, drv->drive->drive_ram, 0x800) < 0) { in drivecpu_snapshot_read_module()
700 if (SMR_BA(m, drv->drive->drive_ram, 0x2000) < 0) { in drivecpu_snapshot_read_module()
706 if (SMR_BA(m, drv->drive->drive_ram, 0x1100) < 0) { in drivecpu_snapshot_read_module()
H A Ddrive.h326 uint8_t drive_ram[DRIVE_RAM_SIZE]; member
H A Ddrivecpu65c02.c497 if (SMW_BA(m, drv->drive->drive_ram, 0x2000) < 0) { in drivecpu65c02_snapshot_write_module()
570 if (SMR_BA(m, drv->drive->drive_ram, 0x2000) < 0) { in drivecpu65c02_snapshot_read_module()
/dports/emulators/vice/vice-3.5/src/drive/
H A Ddrive.c101 unit->drive_ram[0x12] = id[0]; in drive_set_disk_memory()
102 unit->drive_ram[0x13] = id[1]; in drive_set_disk_memory()
103 unit->drive_ram[0x16] = id[0]; in drive_set_disk_memory()
104 unit->drive_ram[0x17] = id[1]; in drive_set_disk_memory()
105 unit->drive_ram[0x18] = track; in drive_set_disk_memory()
106 unit->drive_ram[0x19] = sector; in drive_set_disk_memory()
107 unit->drive_ram[0x22] = track; in drive_set_disk_memory()
139 memcpy(&(unit->drive_ram[0x0400]), buffer, 256); in drive_set_last_read()
H A Ddrivecpu.c610 if (SMW_BA(m, drv->drive_ram, 0x800) < 0) { in drivecpu_snapshot_write_module()
618 if (SMW_BA(m, drv->drive_ram, 0x2000) < 0) { in drivecpu_snapshot_write_module()
623 if (SMW_BA(m, drv->drive_ram, 0x1100) < 0) { in drivecpu_snapshot_write_module()
702 if (SMR_BA(m, drv->drive_ram, 0x800) < 0) { in drivecpu_snapshot_read_module()
710 if (SMR_BA(m, drv->drive_ram, 0x2000) < 0) { in drivecpu_snapshot_read_module()
716 if (SMR_BA(m, drv->drive_ram, 0x1100) < 0) { in drivecpu_snapshot_read_module()
H A Ddrivecpu65c02.c495 if (SMW_BA(m, drv->drive_ram, 0x2000) < 0) { in drivecpu65c02_snapshot_write_module()
501 if (SMW_BA(m, drv->drive_ram, 0x10000) < 0) { in drivecpu65c02_snapshot_write_module()
574 if (SMR_BA(m, drv->drive_ram, 0x2000) < 0) { in drivecpu65c02_snapshot_read_module()
580 if (SMR_BA(m, drv->drive_ram, 0x10000) < 0) { in drivecpu65c02_snapshot_read_module()
H A Ddrivetypes.h231 uint8_t drive_ram[DRIVE_RAM_SIZE]; member
/dports/emulators/fs-uae/fs-uae-3.1.35/src/
H A Dcdtvcr.cpp1239 BYTE drive_ram[DRIVE_RAM_SIZE]; member
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/
H A DChangeLog.28569 (pageone): made variable to be able to set it to drive_ram
8570 or (drive_ram + 0x100)