Login
Back to forumSee the full topicGo to last reply

Posted By

IstvanV
on 2007-05-22
07:13:17
 Re: plus4emu 1.1.0

And that happens even without threads, running in software mode, and SDL disabled at compile time ? However, even without display, it can be tested if everything else is working correctly, for example, when opening a disk image, the LED display should turn on, or sound output can be checked by typing a command like >ff11 48 in the debugger (you may need to set the audio output device). The emulator can be stripped down to a minimum (no GUI, no keyboard input, only a video display window) by replacing these lines in gui/main.cpp (nothreads version):
gui_ = new Plus4EmuGUI(*(dynamic_cast<Plus4Emu::VideoDisplay *>(w)),
*audioOutput, *vm, *vmThread, *config);
gui_->run();
with:
w->show();
vmThread->pause(false);
do {
if (!vmThread->process()) {
w->hide();
break;
}
if (dynamic_cast<Plus4Emu::FLTKDisplay_ *>(w)->checkEvents())
w->redraw();
Fl::wait(0.0);
} while (w->shown());
Even after that, there is still no video ? Perhaps an alternative frontend needs to be developed that does not use FLTK.



Back to top


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon