+ if (strcmp(var, "rtg") == 0 && !rtg_enabled) {
+ if (init_rtg_data(cfg)) {
+ printf("[AMIGA] RTG Enabled.\n");
+ rtg_enabled = 1;
+ adjust_ranges_amiga(cfg);
+ }
+ else
+ printf("[AMIGA} Failed to enable RTG.\n");
+ }
+ if (strcmp(var, "kick13") == 0) {
+ printf("[AMIGA] Kickstart 1.3 mode enabled, Z3 PICs will not be enumerated.\n");
+ kick13_mode = 1;
+ }
+
+ // PiSCSI stuff
+ if (strcmp(var, "piscsi") == 0 && !piscsi_enabled) {
+ printf("[AMIGA] PISCSI Interface Enabled.\n");
+ piscsi_enabled = 1;
+ piscsi_init();
+ add_z2_pic(ACTYPE_PISCSI, 0);
+ //ac_z2_type[ac_z2_pic_count] = ACTYPE_PISCSI;
+ //ac_z2_pic_count++;
+ adjust_ranges_amiga(cfg);
+ }
+ if (piscsi_enabled) {
+ if (strcmp(var, "piscsi0") == 0) {
+ piscsi_map_drive(val, 0);
+ }
+ if (strcmp(var, "piscsi1") == 0) {
+ piscsi_map_drive(val, 1);
+ }
+ if (strcmp(var, "piscsi2") == 0) {
+ piscsi_map_drive(val, 2);
+ }
+ if (strcmp(var, "piscsi3") == 0) {
+ piscsi_map_drive(val, 3);
+ }
+ if (strcmp(var, "piscsi4") == 0) {
+ piscsi_map_drive(val, 4);
+ }
+ if (strcmp(var, "piscsi5") == 0) {
+ piscsi_map_drive(val, 5);
+ }
+ if (strcmp(var, "piscsi6") == 0) {
+ piscsi_map_drive(val, 6);
+ }
+ }
+
+ // Pi-Net stuff
+ if (strcmp(var, "pi-net") == 0 && !pinet_enabled) {
+ printf("[AMIGA] PI-NET Interface Enabled.\n");
+ pinet_enabled = 1;
+ pinet_init(val);
+ adjust_ranges_amiga(cfg);
+ }
+
+ if (strcmp(var, "no-pistorm-dev") == 0) {
+ pistorm_dev_enabled = 0;
+ printf("[AMIGA] Disabling PiStorm interaction device.\n");
+ }
+
+ // RTC stuff
+ if (strcmp(var, "rtc_type") == 0) {