aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/mainwindow.cpp
Commit message (Collapse)AuthorAge
* Resolve emscripten problem with save as during close by queued connection.Pavel Pisa2019-08-20
| | | | | | | | | | | | It seems that directly connected one dialog result signal to method which created another modal dialog results in new dialog to be hidden when finished dialog closes under emscripten. Queued connection resolves this problem for simple case of source file close. It still does not resolve save as invocation during complete application close. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Workaround to emscripten problem with source close when save requiring rename.Pavel Pisa2019-08-20
| | | | | | Allow user to select only discard and cancel close. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Attempt to correct ask for file save when closed on emscripten.Pavel Pisa2019-08-20
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Add embedded examples menu and resources.Pavel Pisa2019-08-20
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Make program and memory window visible when address requested from symbol ↵Pavel Pisa2019-08-20
| | | | | | dialog. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Ask for modified source close and handle unnamed sources close.Pavel Pisa2019-08-20
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Ask to save modified files on exit.Pavel Pisa2019-08-19
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Action to execute external make command and ask for unsaved sources.Pavel Pisa2019-08-19
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Add config option to reset machine before internal assembler starts.Pavel Pisa2019-07-18
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Update editor search algorithm to prefer current editor for unnamed buffers.Pavel Pisa2019-07-17
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Enable CLI version to use simple assembler.Pavel Pisa2019-07-17
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Do not open editor twice for same filename.Pavel Pisa2019-07-17
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Simple assembler moved to separate class which is independent on Qt GUI API.Pavel Pisa2019-07-17
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Implemented message window to report compilation errors.Pavel Pisa2019-07-17
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Minor correction of emscripten save as to offer original file name if known.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Emscripten version does not wait for dialog->exec(), proces selected value ↵Pavel Pisa2019-07-03
| | | | | | by signal. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Process .equ and .set directives and ignore some others.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Allow start of comments by two slashes.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Implement file save as workaround for emscripten build.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Allow to switch between numeric and mnemonics registers names.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Implement file save for emscripten build.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Store and restore open source files editors.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Ignore code and data assembler directives.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Allow spaces in middle of assembler arguments and report errors.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Implement load of sources in emscripten build and minor fixes.Pavel Pisa2019-07-02
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Teach simple embedded assembler .orig and .word directives.Pavel Pisa2019-07-02
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Change instruction parsing to allow multiple words pseudo-operations.Pavel Pisa2019-07-02
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Evaluation of symbolic expressions in assembler added.Pavel Pisa2019-07-02
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Minimal prototype of integrated assembler.Pavel Pisa2019-07-01
| | | | | | | The labels are parsed and stored into symbol table but expressions dependent on symbols values are not evaluated. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Correct order of operations during editor close.Pavel Pisa2019-07-01
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Include simple text editor in QtMips emulator.Pavel Pisa2019-07-01
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Provide option to hide coreview to speedup simulation.Pavel Pisa2019-06-30
| | | | | | | If the view of core is not needed during simulation it can be hidded to speedup simulation. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Initial optimized version LCD display emulation.Pavel Pisa2019-06-28
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Do not run local event loop in about dialog.Pavel Pisa2019-06-27
| | | | | | | Local event loops in modal dialog prevents emscripten/WAS function correctly. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Set default location of the program view on the left.Pavel Pisa2019-06-27
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Allow to create simulator without loaded executable.Pavel Pisa2019-06-26
| | | | | | | This allows to test simple instruction sequences without need to install compiler. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Printing/export to PDF file reduces print area/page to actual image size.Pavel Pisa2019-06-12
| | | | | | | This allows direct inclusion of print outputs into documentation and papers. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Add simple printing of core view.Pavel Pisa2019-06-11
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Do not save program view start address when changed due to program executed.Pavel Pisa2019-03-25
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Updated read and write, added open, close, ftruncate syscalls and fs_root ↵Pavel Pisa2019-03-09
| | | | | | | | | | | option. When operating system emulation root directory (fs_root) are selected then open() syscall opens real host system files in this limited subtree. When fs_root is not set then console is mapped to all read, write, open and close calls. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Enable configuration of syscalls emulation and stop on exception.Pavel Pisa2019-03-06
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Dock to view coprocessor 0 and cop0 counter/comparator support.Pavel Pisa2019-03-05
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Simple serial port receive implementation.Pavel Pisa2019-02-25
| | | | | | | | | Simple polled mode serial port input implemented for serial port peripheral and for read and readv system calls. When end of input character reserve is reached for read/readv, newline is automatically appended. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Add support for goto to selected symbol address.Pavel Pisa2019-02-22
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* variable font sizeFanda Vacek2019-02-19
|
* Implement write syscall and signal written characters to terminal.Pavel Pisa2019-02-14
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Initial attempt to as operating system syscall handler.Pavel Pisa2019-02-13
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Implemented three dials equivalent to MZ_APO RGB dials.Pavel Pisa2019-02-13
| | | | | | | Tested with code compiled by Linux PIC based GCC compiler with calling musl-libc sprintf function. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Include simple serial port terminal and prepare empty peripheral dock.Pavel Pisa2019-02-13
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Add simple about dialog and prepare menu entries for serial port and ↵Pavel Pisa2019-02-13
| | | | | | peripherals. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>