mirror of
https://github.com/jfdelnero/HxCFloppyEmulator.git
synced 2026-10-26 22:10:31 +00:00
Pauline Floppy Dumper window : Drive selector added.
git-svn-id: svn://svn.code.sf.net/p/hxcfloppyemu/code/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk@2115 63fa2f70-6a9b-4bc4-b855-9c6a949b1d69
This commit is contained in:
1 parent
4241edec75
commit
e4716d946b
7 files changed
+139
-87
No files matched your search
@@ -594,7 +594,9 @@ void floppy_streamer_readdisk(Fl_Button*, void* w)
|
||||
strcpy(index_mode,"AUTO_INDEX_NAME");
|
||||
}
|
||||
|
||||
sprintf(tmp,"dump 0 %d %d %d %d %d %d %d %d \"%s\" \"%s\" %d %s\n",atoi(fdw->min_track->value()), \
|
||||
sprintf(tmp,"dump %d %d %d %d %d %d %d %d %d \"%s\" \"%s\" %d %s\n", \
|
||||
fdw->drive_choice->value(),
|
||||
atoi(fdw->min_track->value()), \
|
||||
atoi(fdw->max_track->value()), \
|
||||
(fdw->Side_0->value()^1)&1 , \
|
||||
fdw->Side_1->value() , \
|
||||
@@ -640,7 +642,9 @@ void floppy_streamer_readtrack(Fl_Button*, void* w)
|
||||
strcpy(index_mode,"AUTO_INDEX_NAME");
|
||||
}
|
||||
|
||||
sprintf(tmp,"dump 0 -1 -1 %g %g %d %d %d %d \"%s\" \"%s\" %d %s\n",fdw->side_number_slide->value(), \
|
||||
sprintf(tmp,"dump %d -1 -1 %g %g %d %d %d %d \"%s\" \"%s\" %d %s\n", \
|
||||
fdw->drive_choice->value(), \
|
||||
fdw->side_number_slide->value(), \
|
||||
fdw->side_number_slide->value(), \
|
||||
fdw->high_res->value(), \
|
||||
fdw->double_step->value(), \
|
||||
@@ -670,7 +674,7 @@ void floppy_streamer_spybus(Fl_Button*, void* w)
|
||||
sprintf(tmp,"dump_time %d\n",atoi(fdw->dump_lenght->value()));
|
||||
network_write(cmd_connection, (unsigned char*)tmp, strlen(tmp),2);
|
||||
|
||||
sprintf(tmp,"dump 0 -1 -1 %g %g %d %d %d 1\n",fdw->side_number_slide->value(),fdw->side_number_slide->value(),fdw->high_res->value(),fdw->double_step->value(),fdw->ignore_index->value());
|
||||
sprintf(tmp,"dump %d -1 -1 %g %g %d %d %d 1\n",fdw->drive_choice->value(),fdw->side_number_slide->value(),fdw->side_number_slide->value(),fdw->high_res->value(),fdw->double_step->value(),fdw->ignore_index->value());
|
||||
network_write(cmd_connection, (unsigned char*)tmp, strlen(tmp),2);
|
||||
}
|
||||
}
|
||||
@@ -702,10 +706,13 @@ void floppy_streamer_stop(Fl_Button*, void* w)
|
||||
void floppy_streamer_trackup(Fl_Button*, void* w)
|
||||
{
|
||||
char tmpstr[64];
|
||||
floppy_streamer_window *fdw;
|
||||
|
||||
fdw=(floppy_streamer_window *)w;
|
||||
|
||||
if(cmd_connection)
|
||||
{
|
||||
sprintf(tmpstr,"headstep 0 1\n");
|
||||
sprintf(tmpstr,"headstep %d 1\n",fdw->drive_choice->value());
|
||||
network_write(cmd_connection, (unsigned char*)tmpstr, strlen(tmpstr),2);
|
||||
}
|
||||
}
|
||||
@@ -713,10 +720,13 @@ void floppy_streamer_trackup(Fl_Button*, void* w)
|
||||
void floppy_streamer_down(Fl_Button*, void* w)
|
||||
{
|
||||
char tmpstr[64];
|
||||
floppy_streamer_window *fdw;
|
||||
|
||||
fdw=(floppy_streamer_window *)w;
|
||||
|
||||
if(cmd_connection)
|
||||
{
|
||||
sprintf(tmpstr,"headstep 0 -1\n");
|
||||
sprintf(tmpstr,"headstep %d -1\n",fdw->drive_choice->value());
|
||||
network_write(cmd_connection, (unsigned char*)tmpstr, strlen(tmpstr),2);
|
||||
}
|
||||
}
|
||||
@@ -724,10 +734,13 @@ void floppy_streamer_down(Fl_Button*, void* w)
|
||||
void floppy_streamer_recalibrate(Fl_Button*, void* w)
|
||||
{
|
||||
char tmpstr[64];
|
||||
floppy_streamer_window *fdw;
|
||||
|
||||
fdw=(floppy_streamer_window *)w;
|
||||
|
||||
if(cmd_connection)
|
||||
{
|
||||
sprintf(tmpstr,"recalibrate 0\n");
|
||||
sprintf(tmpstr,"recalibrate %d\n",fdw->drive_choice->value());
|
||||
network_write(cmd_connection, (unsigned char*)tmpstr, strlen(tmpstr),2);
|
||||
}
|
||||
}
|
||||
@@ -740,7 +753,7 @@ void floppy_streamer_movehead(Fl_Button*, void* w)
|
||||
|
||||
if(cmd_connection)
|
||||
{
|
||||
sprintf(tmpstr,"movehead 0 %g\n",fdw->track_number_slide->value());
|
||||
sprintf(tmpstr,"movehead %d %g\n",fdw->drive_choice->value(),fdw->track_number_slide->value());
|
||||
network_write(cmd_connection, (unsigned char*)tmpstr, strlen(tmpstr),2);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,97 +31,97 @@ floppy_streamer_window::floppy_streamer_window() {
|
||||
index_name->labelsize(8);
|
||||
index_name->textsize(10);
|
||||
} // Fl_Input* index_name
|
||||
{ Fl_Group* o = new Fl_Group(1050, 81, 275, 140, "Status");
|
||||
{ Fl_Group* o = new Fl_Group(1050, 81, 275, 129, "Status");
|
||||
o->box(FL_ENGRAVED_FRAME);
|
||||
o->labeltype(FL_ENGRAVED_LABEL);
|
||||
o->labelsize(12);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
{ x_pos = new Fl_Output(1055, 112, 265, 15);
|
||||
{ x_pos = new Fl_Output(1055, 103, 265, 15);
|
||||
x_pos->labelsize(10);
|
||||
x_pos->textsize(10);
|
||||
} // Fl_Output* x_pos
|
||||
{ y_pos = new Fl_Output(1055, 128, 265, 15);
|
||||
{ y_pos = new Fl_Output(1055, 119, 265, 15);
|
||||
y_pos->labelsize(10);
|
||||
y_pos->textsize(10);
|
||||
} // Fl_Output* y_pos
|
||||
{ global_status = new Fl_Output(1055, 144, 265, 16);
|
||||
{ global_status = new Fl_Output(1055, 135, 265, 16);
|
||||
global_status->labelsize(10);
|
||||
global_status->textsize(10);
|
||||
} // Fl_Output* global_status
|
||||
{ object_txt = new Fl_Text_Display(1055, 163, 265, 50);
|
||||
{ object_txt = new Fl_Text_Display(1055, 154, 265, 50);
|
||||
object_txt->labelsize(10);
|
||||
object_txt->textsize(10);
|
||||
object_txt->user_data((void*)(this));
|
||||
} // Fl_Text_Display* object_txt
|
||||
o->end();
|
||||
} // Fl_Group* o
|
||||
{ Fl_Group* o = new Fl_Group(1050, 221, 275, 84, "Track analysis format");
|
||||
{ Fl_Group* o = new Fl_Group(1050, 210, 275, 84, "Track analysis format");
|
||||
o->box(FL_ENGRAVED_FRAME);
|
||||
o->labeltype(FL_EMBOSSED_LABEL);
|
||||
o->labelsize(10);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
{ iso_mfm_bt = new Fl_Light_Button(1065, 239, 76, 15, "ISO MFM");
|
||||
{ iso_mfm_bt = new Fl_Light_Button(1065, 228, 76, 15, "ISO MFM");
|
||||
iso_mfm_bt->labelsize(10);
|
||||
iso_mfm_bt->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* iso_mfm_bt
|
||||
{ iso_fm_bt = new Fl_Light_Button(1065, 254, 76, 15, "ISO FM");
|
||||
{ iso_fm_bt = new Fl_Light_Button(1065, 243, 76, 15, "ISO FM");
|
||||
iso_fm_bt->labelsize(10);
|
||||
iso_fm_bt->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* iso_fm_bt
|
||||
{ amiga_mfm_bt = new Fl_Light_Button(1065, 269, 76, 15, "AMIGA MFM");
|
||||
{ amiga_mfm_bt = new Fl_Light_Button(1065, 258, 76, 15, "AMIGA MFM");
|
||||
amiga_mfm_bt->labelsize(10);
|
||||
amiga_mfm_bt->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* amiga_mfm_bt
|
||||
{ apple2_bt = new Fl_Light_Button(1065, 284, 76, 15, "Apple");
|
||||
{ apple2_bt = new Fl_Light_Button(1065, 273, 76, 15, "Apple");
|
||||
apple2_bt->labelsize(10);
|
||||
apple2_bt->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* apple2_bt
|
||||
{ eemu_bt = new Fl_Light_Button(1149, 239, 76, 15, "E-Emu");
|
||||
{ eemu_bt = new Fl_Light_Button(1149, 228, 76, 15, "E-Emu");
|
||||
eemu_bt->labelsize(10);
|
||||
eemu_bt->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* eemu_bt
|
||||
{ tycom_bt = new Fl_Light_Button(1149, 254, 76, 15, "TYCOM");
|
||||
{ tycom_bt = new Fl_Light_Button(1149, 243, 76, 15, "TYCOM");
|
||||
tycom_bt->labelsize(10);
|
||||
tycom_bt->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* tycom_bt
|
||||
{ membrain_bt = new Fl_Light_Button(1149, 269, 76, 15, "MEMBRAIN");
|
||||
{ membrain_bt = new Fl_Light_Button(1149, 258, 76, 15, "MEMBRAIN");
|
||||
membrain_bt->labelsize(10);
|
||||
membrain_bt->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* membrain_bt
|
||||
{ arburg_bt = new Fl_Light_Button(1149, 284, 76, 15, "Arburg");
|
||||
{ arburg_bt = new Fl_Light_Button(1149, 273, 76, 15, "Arburg");
|
||||
arburg_bt->labelsize(10);
|
||||
arburg_bt->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* arburg_bt
|
||||
{ aed6200p_bt = new Fl_Light_Button(1233, 239, 76, 15, "AED 6200P");
|
||||
{ aed6200p_bt = new Fl_Light_Button(1233, 228, 76, 15, "AED 6200P");
|
||||
aed6200p_bt->labelsize(10);
|
||||
aed6200p_bt->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* aed6200p_bt
|
||||
{ northstar_bt = new Fl_Light_Button(1233, 254, 76, 15, "NORTHSTAR");
|
||||
{ northstar_bt = new Fl_Light_Button(1233, 243, 76, 15, "NORTHSTAR");
|
||||
northstar_bt->labelsize(10);
|
||||
northstar_bt->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* northstar_bt
|
||||
{ heathkit_bt = new Fl_Light_Button(1233, 269, 76, 15, "HEATHKIT");
|
||||
{ heathkit_bt = new Fl_Light_Button(1233, 258, 76, 15, "HEATHKIT");
|
||||
heathkit_bt->labelsize(10);
|
||||
heathkit_bt->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* heathkit_bt
|
||||
{ decrx02_bt = new Fl_Light_Button(1233, 284, 76, 15, "DEC RX02");
|
||||
{ decrx02_bt = new Fl_Light_Button(1233, 273, 76, 15, "DEC RX02");
|
||||
decrx02_bt->labelsize(10);
|
||||
decrx02_bt->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* decrx02_bt
|
||||
o->end();
|
||||
} // Fl_Group* o
|
||||
{ Fl_Group* o = new Fl_Group(1050, 306, 275, 84, "Track / Side selection");
|
||||
{ Fl_Group* o = new Fl_Group(1050, 344, 275, 84, "Track / Side selection");
|
||||
o->box(FL_ENGRAVED_FRAME);
|
||||
o->labeltype(FL_EMBOSSED_LABEL);
|
||||
o->labelsize(12);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
{ track_number_slide = new Fl_Value_Slider(1056, 322, 269, 19, "Track number");
|
||||
{ track_number_slide = new Fl_Value_Slider(1056, 360, 269, 19, "Track number");
|
||||
track_number_slide->type(1);
|
||||
track_number_slide->labelsize(12);
|
||||
track_number_slide->textsize(12);
|
||||
track_number_slide->callback((Fl_Callback*)disk_streamer_window_callback, (void*)(this));
|
||||
} // Fl_Value_Slider* track_number_slide
|
||||
{ side_number_slide = new Fl_Value_Slider(1055, 354, 270, 19, "Side number");
|
||||
{ side_number_slide = new Fl_Value_Slider(1055, 392, 270, 19, "Side number");
|
||||
side_number_slide->type(1);
|
||||
side_number_slide->labelsize(12);
|
||||
side_number_slide->textsize(12);
|
||||
@@ -136,65 +136,65 @@ floppy_streamer_window::floppy_streamer_window() {
|
||||
floppy_map_disp->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
floppy_map_disp->end();
|
||||
} // Fl_Group* floppy_map_disp
|
||||
{ Fl_Button* o = new Fl_Button(1102, 393, 78, 40, "Read Disk");
|
||||
{ Fl_Button* o = new Fl_Button(1102, 431, 78, 40, "Read Disk");
|
||||
o->callback((Fl_Callback*)floppy_streamer_readdisk, (void*)(this));
|
||||
} // Fl_Button* o
|
||||
{ Fl_Button* o = new Fl_Button(1180, 393, 85, 40, "Read Track");
|
||||
{ Fl_Button* o = new Fl_Button(1180, 431, 85, 40, "Read Track");
|
||||
o->callback((Fl_Callback*)floppy_streamer_readtrack, (void*)(this));
|
||||
} // Fl_Button* o
|
||||
{ Fl_Button* o = new Fl_Button(1265, 393, 59, 40, "Spy bus");
|
||||
{ Fl_Button* o = new Fl_Button(1265, 431, 59, 40, "Spy bus");
|
||||
o->callback((Fl_Callback*)floppy_streamer_spybus, (void*)(this));
|
||||
} // Fl_Button* o
|
||||
{ Fl_Button* o = new Fl_Button(1103, 436, 222, 25, "STOP !");
|
||||
{ Fl_Button* o = new Fl_Button(1103, 474, 222, 25, "STOP !");
|
||||
o->callback((Fl_Callback*)floppy_streamer_stop, (void*)(this));
|
||||
} // Fl_Button* o
|
||||
{ Fl_Button* o = new Fl_Button(1077, 394, 23, 20, "+");
|
||||
{ Fl_Button* o = new Fl_Button(1077, 432, 23, 20, "+");
|
||||
o->callback((Fl_Callback*)floppy_streamer_trackup, (void*)(this));
|
||||
} // Fl_Button* o
|
||||
{ Fl_Button* o = new Fl_Button(1052, 394, 23, 20, "-");
|
||||
{ Fl_Button* o = new Fl_Button(1052, 432, 23, 20, "-");
|
||||
o->callback((Fl_Callback*)floppy_streamer_down, (void*)(this));
|
||||
} // Fl_Button* o
|
||||
{ Fl_Button* o = new Fl_Button(1052, 415, 48, 21, "move");
|
||||
{ Fl_Button* o = new Fl_Button(1052, 453, 48, 21, "move");
|
||||
o->callback((Fl_Callback*)floppy_streamer_movehead, (void*)(this));
|
||||
} // Fl_Button* o
|
||||
{ Fl_Button* o = new Fl_Button(1052, 440, 48, 21, "recal");
|
||||
{ Fl_Button* o = new Fl_Button(1052, 478, 48, 21, "recal");
|
||||
o->callback((Fl_Callback*)floppy_streamer_recalibrate, (void*)(this));
|
||||
} // Fl_Button* o
|
||||
{ min_track = new Fl_Input(1134, 465, 40, 15, "Min track");
|
||||
{ min_track = new Fl_Input(1134, 503, 40, 15, "Min track");
|
||||
min_track->labelsize(8);
|
||||
min_track->textsize(10);
|
||||
} // Fl_Input* min_track
|
||||
{ max_track = new Fl_Input(1134, 480, 40, 15, "Max track");
|
||||
{ max_track = new Fl_Input(1134, 518, 40, 15, "Max track");
|
||||
max_track->labelsize(8);
|
||||
max_track->textsize(10);
|
||||
} // Fl_Input* max_track
|
||||
{ dump_lenght = new Fl_Input(1134, 493, 40, 15, "lenght (ms)");
|
||||
{ dump_lenght = new Fl_Input(1134, 531, 40, 15, "lenght (ms)");
|
||||
dump_lenght->labelsize(8);
|
||||
dump_lenght->textsize(10);
|
||||
} // Fl_Input* dump_lenght
|
||||
{ index_delay = new Fl_Input(1134, 508, 40, 15, "Index delay (us)");
|
||||
{ index_delay = new Fl_Input(1134, 546, 40, 15, "Index delay (us)");
|
||||
index_delay->labelsize(8);
|
||||
index_delay->textsize(10);
|
||||
} // Fl_Input* index_delay
|
||||
{ Side_0 = new Fl_Light_Button(1177, 464, 80, 15, "Side 0");
|
||||
{ Side_0 = new Fl_Light_Button(1177, 502, 80, 15, "Side 0");
|
||||
Side_0->labelsize(10);
|
||||
} // Fl_Light_Button* Side_0
|
||||
{ Side_1 = new Fl_Light_Button(1177, 479, 80, 15, "Side 1");
|
||||
{ Side_1 = new Fl_Light_Button(1177, 517, 80, 15, "Side 1");
|
||||
Side_1->labelsize(10);
|
||||
} // Fl_Light_Button* Side_1
|
||||
{ double_step = new Fl_Light_Button(1177, 494, 80, 15, "Double step");
|
||||
{ double_step = new Fl_Light_Button(1177, 532, 80, 15, "Double step");
|
||||
double_step->labelsize(10);
|
||||
} // Fl_Light_Button* double_step
|
||||
{ ignore_index = new Fl_Light_Button(1177, 509, 80, 15, "Ignore index");
|
||||
{ ignore_index = new Fl_Light_Button(1177, 547, 80, 15, "Ignore index");
|
||||
ignore_index->labelsize(10);
|
||||
} // Fl_Light_Button* ignore_index
|
||||
{ high_res = new Fl_Light_Button(1260, 464, 65, 15, "50Mhz ");
|
||||
{ high_res = new Fl_Light_Button(1260, 502, 65, 15, "50Mhz ");
|
||||
high_res->labelsize(10);
|
||||
} // Fl_Light_Button* high_res
|
||||
{ high_contrast = new Fl_Light_Button(1130, 529, 107, 15, "High contrast");
|
||||
{ high_contrast = new Fl_Light_Button(1135, 568, 100, 15, "High contrast");
|
||||
high_contrast->labelsize(10);
|
||||
} // Fl_Light_Button* high_contrast
|
||||
{ fat_dots = new Fl_Light_Button(1240, 529, 84, 15, "Fat dots");
|
||||
{ fat_dots = new Fl_Light_Button(1240, 567, 84, 15, "Fat dots");
|
||||
fat_dots->labelsize(10);
|
||||
} // Fl_Light_Button* fat_dots
|
||||
{ server_address = new Fl_Input(1125, 589, 110, 25, "Pauline IP");
|
||||
@@ -227,6 +227,19 @@ floppy_streamer_window::floppy_streamer_window() {
|
||||
} // Fl_Value_Slider* y_time
|
||||
o->end();
|
||||
} // Fl_Group* o
|
||||
{ Fl_Group* o = new Fl_Group(1050, 294, 275, 48, "Disk drive");
|
||||
o->box(FL_ENGRAVED_FRAME);
|
||||
o->labeltype(FL_EMBOSSED_LABEL);
|
||||
o->labelsize(12);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
{ drive_choice = new Fl_Choice(1107, 314, 210, 22, "Drive");
|
||||
drive_choice->down_box(FL_BORDER_BOX);
|
||||
drive_choice->labelsize(12);
|
||||
drive_choice->textsize(12);
|
||||
drive_choice->user_data((void*)(this));
|
||||
} // Fl_Choice* drive_choice
|
||||
o->end();
|
||||
} // Fl_Group* o
|
||||
window->end();
|
||||
window->resizable(window);
|
||||
} // Fl_Window* window
|
||||
|
||||
@@ -25,6 +25,7 @@ extern void floppy_streamer_recalibrate(Fl_Button*, void*);
|
||||
extern void floppy_streamer_connect(Fl_Button*, void*);
|
||||
#include <FL/Fl_Slider.H>
|
||||
extern void disk_streamer_window_callback(Fl_Slider*, void*);
|
||||
#include <FL/Fl_Choice.H>
|
||||
|
||||
class floppy_streamer_window {
|
||||
public:
|
||||
@@ -67,5 +68,6 @@ public:
|
||||
Fl_Value_Slider *x_offset;
|
||||
Fl_Slider *x_time;
|
||||
Fl_Value_Slider *y_time;
|
||||
Fl_Choice *drive_choice;
|
||||
};
|
||||
#endif
|
||||
@@ -30,114 +30,114 @@ class floppy_streamer_window {open
|
||||
}
|
||||
Fl_Group {} {
|
||||
label Status open
|
||||
xywh {1050 81 275 140} box ENGRAVED_FRAME labeltype ENGRAVED_LABEL labelsize 12 align 21
|
||||
xywh {1050 81 275 129} box ENGRAVED_FRAME labeltype ENGRAVED_LABEL labelsize 12 align 21
|
||||
} {
|
||||
Fl_Output x_pos {
|
||||
xywh {1055 112 265 15} labelsize 10 textsize 10
|
||||
xywh {1055 103 265 15} labelsize 10 textsize 10
|
||||
}
|
||||
Fl_Output y_pos {
|
||||
xywh {1055 128 265 15} labelsize 10 textsize 10
|
||||
xywh {1055 119 265 15} labelsize 10 textsize 10
|
||||
}
|
||||
Fl_Output global_status {
|
||||
xywh {1055 144 265 16} labelsize 10 textsize 10
|
||||
xywh {1055 135 265 16} labelsize 10 textsize 10
|
||||
}
|
||||
Fl_Text_Display object_txt {
|
||||
user_data this
|
||||
xywh {1055 163 265 50} labelsize 10 textsize 10
|
||||
xywh {1055 154 265 50} labelsize 10 textsize 10
|
||||
}
|
||||
}
|
||||
Fl_Group {} {
|
||||
label {Track analysis format} open
|
||||
xywh {1050 221 275 84} box ENGRAVED_FRAME labeltype EMBOSSED_LABEL labelsize 10 align 21
|
||||
xywh {1050 210 275 84} box ENGRAVED_FRAME labeltype EMBOSSED_LABEL labelsize 10 align 21
|
||||
} {
|
||||
Fl_Light_Button iso_mfm_bt {
|
||||
label {ISO MFM}
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1065 239 76 15} labelsize 10
|
||||
xywh {1065 228 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button iso_fm_bt {
|
||||
label {ISO FM}
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1065 254 76 15} labelsize 10
|
||||
xywh {1065 243 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button amiga_mfm_bt {
|
||||
label {AMIGA MFM}
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1065 269 76 15} labelsize 10
|
||||
xywh {1065 258 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button apple2_bt {
|
||||
label Apple
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1065 284 76 15} labelsize 10
|
||||
xywh {1065 273 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button eemu_bt {
|
||||
label {E-Emu}
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1149 239 76 15} labelsize 10
|
||||
xywh {1149 228 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button tycom_bt {
|
||||
label TYCOM
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1149 254 76 15} labelsize 10
|
||||
xywh {1149 243 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button membrain_bt {
|
||||
label MEMBRAIN
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1149 269 76 15} labelsize 10
|
||||
xywh {1149 258 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button arburg_bt {
|
||||
label Arburg
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1149 284 76 15} labelsize 10
|
||||
xywh {1149 273 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button aed6200p_bt {
|
||||
label {AED 6200P}
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1233 239 76 15} labelsize 10
|
||||
xywh {1233 228 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button northstar_bt {
|
||||
label NORTHSTAR
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1233 254 76 15} labelsize 10
|
||||
xywh {1233 243 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button heathkit_bt {
|
||||
label HEATHKIT
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1233 269 76 15} labelsize 10
|
||||
xywh {1233 258 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button decrx02_bt {
|
||||
label {DEC RX02}
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1233 284 76 15} labelsize 10
|
||||
xywh {1233 273 76 15} labelsize 10
|
||||
}
|
||||
}
|
||||
Fl_Group {} {
|
||||
label {Track / Side selection} open
|
||||
xywh {1050 306 275 84} box ENGRAVED_FRAME labeltype EMBOSSED_LABEL labelsize 12 align 21
|
||||
xywh {1050 344 275 84} box ENGRAVED_FRAME labeltype EMBOSSED_LABEL labelsize 12 align 21
|
||||
} {
|
||||
Fl_Value_Slider track_number_slide {
|
||||
label {Track number}
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1056 322 269 19} type Horizontal labelsize 12 textsize 12
|
||||
xywh {1056 360 269 19} type Horizontal labelsize 12 textsize 12
|
||||
}
|
||||
Fl_Value_Slider side_number_slide {
|
||||
label {Side number}
|
||||
user_data this
|
||||
callback disk_streamer_window_callback
|
||||
xywh {1055 354 270 19} type Horizontal labelsize 12 textsize 12
|
||||
xywh {1055 392 270 19} type Horizontal labelsize 12 textsize 12
|
||||
}
|
||||
}
|
||||
Fl_Group floppy_map_disp {
|
||||
@@ -148,93 +148,93 @@ class floppy_streamer_window {open
|
||||
label {Read Disk}
|
||||
user_data this
|
||||
callback floppy_streamer_readdisk
|
||||
xywh {1102 393 78 40}
|
||||
xywh {1102 431 78 40}
|
||||
}
|
||||
Fl_Button {} {
|
||||
label {Read Track}
|
||||
user_data this
|
||||
callback floppy_streamer_readtrack
|
||||
xywh {1180 393 85 40}
|
||||
xywh {1180 431 85 40}
|
||||
}
|
||||
Fl_Button {} {
|
||||
label {Spy bus}
|
||||
user_data this
|
||||
callback floppy_streamer_spybus
|
||||
xywh {1265 393 59 40}
|
||||
xywh {1265 431 59 40}
|
||||
}
|
||||
Fl_Button {} {
|
||||
label {STOP !}
|
||||
user_data this
|
||||
callback floppy_streamer_stop
|
||||
xywh {1103 436 222 25}
|
||||
xywh {1103 474 222 25}
|
||||
}
|
||||
Fl_Button {} {
|
||||
label {+}
|
||||
user_data this
|
||||
callback floppy_streamer_trackup
|
||||
xywh {1077 394 23 20}
|
||||
xywh {1077 432 23 20}
|
||||
}
|
||||
Fl_Button {} {
|
||||
label {-}
|
||||
user_data this
|
||||
callback floppy_streamer_down
|
||||
xywh {1052 394 23 20}
|
||||
xywh {1052 432 23 20}
|
||||
}
|
||||
Fl_Button {} {
|
||||
label move
|
||||
user_data this
|
||||
callback floppy_streamer_movehead
|
||||
xywh {1052 415 48 21}
|
||||
xywh {1052 453 48 21}
|
||||
}
|
||||
Fl_Button {} {
|
||||
label recal
|
||||
user_data this
|
||||
callback floppy_streamer_recalibrate
|
||||
xywh {1052 440 48 21}
|
||||
xywh {1052 478 48 21}
|
||||
}
|
||||
Fl_Input min_track {
|
||||
label {Min track}
|
||||
xywh {1134 465 40 15} labelsize 8 textsize 10
|
||||
xywh {1134 503 40 15} labelsize 8 textsize 10
|
||||
}
|
||||
Fl_Input max_track {
|
||||
label {Max track}
|
||||
xywh {1134 480 40 15} labelsize 8 textsize 10
|
||||
xywh {1134 518 40 15} labelsize 8 textsize 10
|
||||
}
|
||||
Fl_Input dump_lenght {
|
||||
label {lenght (ms)}
|
||||
xywh {1134 493 40 15} labelsize 8 textsize 10
|
||||
xywh {1134 531 40 15} labelsize 8 textsize 10
|
||||
}
|
||||
Fl_Input index_delay {
|
||||
label {Index delay (us)}
|
||||
xywh {1134 508 40 15} labelsize 8 textsize 10
|
||||
xywh {1134 546 40 15} labelsize 8 textsize 10
|
||||
}
|
||||
Fl_Light_Button Side_0 {
|
||||
label {Side 0}
|
||||
xywh {1177 464 80 15} labelsize 10
|
||||
xywh {1177 502 80 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button Side_1 {
|
||||
label {Side 1}
|
||||
xywh {1177 479 80 15} labelsize 10
|
||||
xywh {1177 517 80 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button double_step {
|
||||
label {Double step}
|
||||
xywh {1177 494 80 15} labelsize 10
|
||||
xywh {1177 532 80 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button ignore_index {
|
||||
label {Ignore index}
|
||||
xywh {1177 509 80 15} labelsize 10
|
||||
xywh {1177 547 80 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button high_res {
|
||||
label {50Mhz }
|
||||
xywh {1260 464 65 15} labelsize 10
|
||||
xywh {1260 502 65 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button high_contrast {
|
||||
label {High contrast}
|
||||
xywh {1130 529 107 15} labelsize 10
|
||||
xywh {1135 568 100 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button fat_dots {
|
||||
label {Fat dots}
|
||||
xywh {1240 529 84 15} labelsize 10
|
||||
xywh {1240 567 84 15} labelsize 10
|
||||
}
|
||||
Fl_Input server_address {
|
||||
label {Pauline IP}
|
||||
@@ -268,6 +268,16 @@ class floppy_streamer_window {open
|
||||
xywh {727 577 300 25} type {Horz Knob} labelsize 12 textsize 12
|
||||
}
|
||||
}
|
||||
Fl_Group {} {
|
||||
label {Disk drive} open
|
||||
xywh {1050 294 275 48} box ENGRAVED_FRAME labeltype EMBOSSED_LABEL labelsize 12 align 21
|
||||
} {
|
||||
Fl_Choice drive_choice {
|
||||
label Drive
|
||||
user_data this open
|
||||
xywh {1107 314 210 22} down_box BORDER_BOX labelsize 12 textsize 12
|
||||
} {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1203,6 +1203,9 @@ Main_Window::Main_Window()
|
||||
streamer_window->dump_name->value("untitled");
|
||||
streamer_window->index_name->value("AUTO");
|
||||
|
||||
streamer_window->drive_choice->menu(drives_choices);
|
||||
streamer_window->drive_choice->value(0);
|
||||
|
||||
Fl::add_timeout(0.1, streamer_tick_infos, (void*)streamer_window);
|
||||
|
||||
#ifdef GUI_DEBUG
|
||||
|
||||
@@ -375,3 +375,12 @@ const track_type track_type_list[]=
|
||||
{ -1,"",0},
|
||||
{ 0,0,0}
|
||||
};
|
||||
|
||||
Fl_Menu_Item drives_choices[]=
|
||||
{
|
||||
{ "Drive 0",0,NULL,(void*)0},
|
||||
{ "Drive 1",0,NULL,(void*)1},
|
||||
{ "Drive 2",0,NULL,(void*)2},
|
||||
{ "Drive 3",0,NULL,(void*)3},
|
||||
{0}
|
||||
};
|
||||
@@ -23,6 +23,8 @@ extern Fl_Menu_Item disklayout_choices[];
|
||||
|
||||
extern Fl_Menu_Item track_display_view_modes_choices[];
|
||||
|
||||
extern Fl_Menu_Item drives_choices[];
|
||||
|
||||
/*
|
||||
extern platform platformlist[];
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user