folkert van heusden
be68ad2357
code cleanup: unify getGAM/getGAMAddress/putGAM (first step)
2023-03-18 14:35:31 +01:00
folkert van heusden
57c7a23bd5
setPSW_flags_nzv
2023-03-18 12:50:14 +01:00
folkert van heusden
7245340c20
debug
2023-03-18 12:35:14 +01:00
folkert van heusden
b88efb312f
getGAMAddress does not require the prev_mode flag
2023-03-18 12:32:58 +01:00
folkert van heusden
89435e48d6
getGAMAddress: reg 6/7 need special handling
2023-03-18 12:28:43 +01:00
folkert van heusden
3c81b4f9e8
single step: clear stop_event
2023-03-18 01:06:37 +01:00
folkert van heusden
38369348c3
debugger: setmem
2023-03-18 00:56:03 +01:00
folkert van heusden
62205273aa
setpc (debugger)
2023-03-17 22:47:44 +01:00
folkert van heusden
b50b75f1a0
according to FKTCA0.BIC, MFPI should not set c and set v to 0
2023-03-17 21:52:52 +01:00
folkert van heusden
2c98fa23f5
according to FKTCA0.BIC, MTPI should not set c and set v to 0
2023-03-17 21:50:04 +01:00
folkert van heusden
0dda33c754
code that would crash ESP32
2023-03-17 21:17:16 +01:00
folkert van heusden
e9284e1914
copy/paste fix
2023-03-17 21:17:08 +01:00
folkert van heusden
5de6b16cee
ifdef'd code that would crash the ESP32
2023-03-17 19:38:54 +01:00
folkert van heusden
85680260b0
needed to update neopixel library
2023-03-17 19:27:17 +01:00
folkert van heusden
d785a260d9
close logfile at exit
2023-03-13 15:46:41 +01:00
folkert van heusden
050b0f7ea5
clean-up
2023-03-13 13:33:57 +01:00
folkert van heusden
d7ca617155
assert
2023-03-13 12:25:24 +01:00
folkert van heusden
4618c86ffa
Revert "RTI/RTT shall not change the PSW in user/supervisor mode"
...
This reverts commit 31edf022cc
.
Seems to break at least XXDP EKBAD0.BIC
2023-03-13 10:10:13 +01:00
folkert van heusden
615652f7b1
Merge branch 'master' of github.com:folkertvanheusden/kek
2023-03-13 10:09:15 +01:00
folkert van heusden
8809bb96e7
Revert "RTI/RTT shall not change the PSW in user/supervisor mode"
...
This reverts commit 31edf022cc
.
31edf02
breaks XXDP EKBAD0.BIC
2023-03-13 10:08:27 +01:00
folkert van heusden
08d8c75d58
- readPhysical
...
- initialize psw to 0 to match pypdp (for diff)
- SUB instruction V-flag may have been incorrect
- MFPI/MTPI flags
- MFPI readPhysical
- bootloader from pypdp (for diff)
2023-03-12 22:32:53 +01:00
folkert van heusden
60210e4f82
Merge fix for 2fd1da58bb
...
The fault in that merge caused two sets of pc/psw to be pushed on the
stack.
2023-03-12 13:19:54 +01:00
folkert van heusden
a84d9a2a3a
make log more readable
2023-03-12 10:20:47 +01:00
folkert van heusden
d68a5af55e
writePhysical
2023-03-11 21:54:18 +01:00
folkert van heusden
e643952a2f
log always is now always
2023-03-11 21:54:04 +01:00
folkert van heusden
3ef8bd930d
Added:
...
* calculate data/instruction physical addresses from a virtual address
memory_addresses_t calculate_physical_address(const int run_mode, const uint16_t a);
* check if a 'memory_address_t'-address would cause a fault
void check_address(const bool trap_on_failure, const bool is_write, const memory_addresses_t & addr, const bool word_mode, const bool is_data, const int run_mode);
2023-03-11 21:13:46 +01:00
Folkert van Heusden
44eef20bc0
typo
2023-02-11 19:11:04 +01:00
folkertvanheusden
8285cc51b3
Merge pull request #6 from lgtm-migrator/codeql
...
Add CodeQL workflow for GitHub code scanning
2022-12-05 20:28:48 +01:00
LGTM Migrator
e9edff856d
Add CodeQL workflow for GitHub code scanning
2022-12-05 19:10:52 +00:00
folkert van heusden
c43c6618d9
disassembler fix
2022-11-11 21:50:40 +01:00
folkert van heusden
6f20ce864f
disassembler fix
2022-11-11 21:50:30 +01:00
folkert van heusden
f3e234d9d3
debugger enhancements
2022-11-10 13:26:53 +01:00
folkert van heusden
2838695fb6
debugger enhancements
2022-11-10 13:26:45 +01:00
folkert van heusden
2fd1da58bb
Merge branch 'master' into d_i
2022-11-10 09:13:22 +01:00
folkert van heusden
13d3825d73
-Q
2022-11-10 08:50:26 +01:00
folkert van heusden
4ccc53f5f2
tweaks
2022-11-09 21:25:55 +01:00
folkert van heusden
f59ae65e5e
funding
2022-09-29 15:28:05 +02:00
folkert van heusden
5b1d75fb74
disassembler fix (SWAB)
2022-07-03 19:34:39 +02:00
folkert van heusden
c9a2b39116
timing cleanup for esp32
2022-07-02 21:53:34 +02:00
folkert van heusden
f6f86ba18a
KW11-L esp32 functionality fix
2022-07-02 21:41:34 +02:00
folkert van heusden
dddb298567
Merge branch 'master' of github.com:folkertvanheusden/kek
2022-07-02 16:56:03 +02:00
folkert van heusden
381879030f
helpful logging
2022-07-02 16:55:55 +02:00
folkertvanheusden
56e147ec09
Create FUNDING.yml
2022-06-30 08:43:43 +02:00
folkert van heusden
9a1924b0af
PICO does not compile yet as std::thread and std::mutex seem to be missing
2022-06-28 19:27:01 +02:00
folkert van heusden
0d7cbe3da9
replaced addresses by defines
2022-06-28 17:58:04 +02:00
folkert van heusden
55ad46c55c
Code-cleanup (PAR/PDR read/write helper methods)
2022-06-28 16:31:17 +02:00
folkert van heusden
2717799df4
- fix for busy loop in console_posix (due to poll with 0ms timeout)
...
- disable kw11-l interrupt when emulation is not running
2022-06-26 01:41:58 +02:00
folkert van heusden
ea8edbf0c7
lbp fix
2022-06-25 08:11:41 +02:00
folkert van heusden
42fc44b206
page written bit only when written
...
double trap: use stack from 000004
2022-06-24 20:03:32 +02:00
folkert van heusden
88933e303c
Console switches configurable on command line
2022-06-19 15:39:46 +02:00