Andrea Odetti
b01bfe8b49
Rework a bit the way keys are processed.
...
Add Ctrl-'-' = 0x1f.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-19 18:23:29 +01:00
Andrea Odetti
8502d4b0d9
Use AltGr and Menu to avoid overloading Ctrl keys.
...
Unfortunately Alt does not work: not all key events are triggered.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 20:13:29 +01:00
Andrea Odetti
7acac5cd22
Add support for Tab.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 13:56:24 +01:00
Andrea Odetti
a7e75078bb
Add support for Open/Closed Apple with Left/Right Ctrl.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 13:56:14 +01:00
Andrea Odetti
42a3294791
Treat Backspace as Left (same as AW).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-15 10:53:42 +01:00
Andrea Odetti
059820847a
Support Ctrl characters.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-15 10:13:16 +01:00
Andrea Odetti
0191652565
First part of merge of new CardManager code.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-31 18:19:45 +00:00
Andrea Odetti
874f4be666
Single keyboard handler.
...
Seems to work...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-07 11:20:37 +00:00
Andrea Odetti
2820e811f8
Extremely hard to measure.
...
But it seems ARGB32_Premul is (very) marginally better.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-29 20:31:31 +00:00
Andrea Odetti
4792c2eeed
Remove custon video processor in favour of AppleWin's.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-22 20:32:32 +00:00
Andrea Odetti
d18269fb2d
First (succesful) attempt at using NTSC code in Linux.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-20 21:23:27 +00:00
Andrea Odetti
4d0af5d3ca
Added a custom version of QPainter which seems to perform much better 20%->11% CPU.
...
It only works if all images involved have the same format.
Using some typedefs, one can revert to the old QPixmap behaviour.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-16 17:00:35 +00:00
Andrea Odetti
14c5c820c1
Adapt to upstream changes.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-08-25 21:17:55 +01:00
Andrea Odetti
6b649bee1a
Follow AppleWin and rename nCyclesLeft to uExecutedCycles.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-04-14 18:46:00 +01:00
Andrea Odetti
269cb6cfd1
Take screenshot.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-17 21:14:36 +01:00
Andrea Odetti
89618601b1
Fix double low resolution colors.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-16 20:45:08 +01:00
Andrea Odetti
8dd454af4d
Add support for Double Low & Hi Resolution.
...
For Double Low Res, I am not sure the colors are correct.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
00360bbe64
Add support for Mouse.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
416b461291
Finally some results in the optimisation of CPU usage:
...
1) Do not call Video::paint() with a scale != 1:1
2) For this reason we need to draw elsewhere
3) and finally scale the whole thing just once to the widget
4) QPixmap vs QImage: cant see the difference
5) QOpenGLWidget is 2x faster than QWidget but it has some flickering when resizing
On my i5-4460 CPU @ 3.20GHz with x2 zoom
TEXT: 4-5% CPU usage
HGR: 6-7% CPU usage
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
140b5bf7d4
Fix inverse lowercase in 80 column mode.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
d699dc98b8
And add Low Resolution color graphics as well.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
c1b7d96dd1
Add (slow) support for HiRes graphics.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
3da7d4ed55
Handle ESC key.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
b3dc584fb0
Better handling of keys.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
fe0730c4d3
Various improvements.
...
Rudimentary keyboard input.
Resize/Zoom video.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
c9fb116464
Various improvements over the QLabel based approach.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
facf9aec25
Initial draft of a QT frontend.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00