aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/mainwindow.cpp
Commit message (Collapse)AuthorAge
* 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>
* Add speed option to run core for time chunks without visualization.Pavel Pisa2019-02-13
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Extend program view to support selected stage followup.Pavel Pisa2019-02-11
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Converted program listing to be QTableView based.Pavel Pisa2019-02-11
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Implemented basic infrastructure to handle exceptions.Pavel Pisa2019-02-07
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Add license to the source files.Pavel Pisa2019-02-04
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Implement BREAK instruction to stop continuous execution.Pavel Pisa2019-02-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Initial implementation of cache viewKarel Kočí2018-04-17
| | | | It needs some more work to look nice but it already works.
* Drop unneeded parameter from CoreViewScene constructorKarel Kočí2018-04-17
|
* Store memory and program view address positionKarel Kočí2018-04-17
| | | | | | This reloads memoryview with same base address as it was closed with. It somewhat works but with program view it seems to be buggy and shifts stuff down. But let's say that it's good enough for now.
* Add 2x speedKarel Kočí2018-04-15
|
* Rename CoreView to GraphicsViewKarel Kočí2018-04-15
| | | | | This generalizes CoreView to be used with other parts of the project too.
* Add cache dockKarel Kočí2018-04-15
|
* Jump to pc address when program counter is double clickedKarel Kočí2018-01-25
|
* Implement memoryviewKarel Kočí2018-01-25
|
* Drop current cache docksKarel Kočí2018-01-15
| | | | | This was just place holder and in future this will be implemented the same way as for example registersdock is.
* Add coreview progressKarel Kočí2018-01-08
|
* Implement machine reloadKarel Kočí2018-01-05
| | | | | Also this commit changes how we pass machine configuration around in gui.
* Remove old scene in more appropriate placeKarel Kočí2018-01-05
| | | | | | Previous implementation was pretty confusing. There was no delete on level where variable override was happening. The object removal was implemented inside constructor. Very nasty.
* Add template for Memory dockKarel Kočí2018-01-05
| | | | For now a memory view is missing so there is no content.
* Fix and suppress most of the warningsKarel Kočí2018-01-05
|
* Implement initial dialog for program memory dockKarel Kočí2018-01-05
| | | | I am missing memory view for now.
* Implement some machine execution speed control for guiKarel Kočí2018-01-04
|
* Drop jump predictionsKarel Kočí2017-12-30
| | | | | | | | Although there are branch likely instruction the whole mips instruction set is designed around static jump predictions. The usage of delay slot ensures that we don't have to handle jump predictions on cpu it self at all. Adding it on top of that makes little to no sense although that was the original plan.
* A lot of small changes in guiKarel Kočí2017-12-21
| | | | | | Added machine status. Widgets now hold size and registers dock has now scrollbars. And more...