Commit graph

269 commits

Author SHA1 Message Date
Gwenhael Le Moine
a2e9bb8aa3
[ncurses] handle Enter key better 2024-10-22 08:11:55 +02:00
Gwenhael Le Moine
ada2410ab9
[49g] densify a little 2024-10-21 10:05:51 +02:00
Gwenhael Le Moine
1efa7c89b4
"(BUSCC)" 2024-10-20 15:19:22 +02:00
Gwenhael Le Moine
b0fe2104c4
static-ify some functions 2024-10-20 15:17:50 +02:00
Gwenhael Le Moine
6183819cef
rename --implement-BUSCC to --enable-BUSCC 2024-10-20 15:17:03 +02:00
Gwenhael Le Moine
feac83a2aa
inline DEBUG_print_cpu_instruction() 2024-10-20 15:16:00 +02:00
Gwenhael Le Moine
0c2d2fd050
indentation 2024-10-20 11:15:16 +02:00
Gwenhael Le Moine
6004d48e67
fix 48gx logo 2024-10-20 11:14:31 +02:00
Gwenhael Le Moine
2d798e1a02
refactoring code style 2024-10-19 14:53:45 +02:00
Gwenhael Le Moine
5f157440e7
runtime --implement-BUSCC param, remove accidental trigraph ??> 2024-10-19 09:52:10 +02:00
Gwenhael Le Moine
3dca62e4bf
(disabled) buggy draft of BUSCC implementation inspired by Emu48 2024-10-18 18:33:28 +02:00
Gwenhael Le Moine
c00b0aebf3
style 2024-10-16 14:42:39 +02:00
Gwenhael Le Moine
243d88cf15
overzealous condition 2024-10-16 14:31:46 +02:00
Gwenhael Le Moine
c501d00c1c
fix printing line number 2024-10-13 20:16:54 +02:00
Gwenhael Le Moine
0c3f575025
display letters again for 48sx 2024-10-13 19:46:34 +02:00
Gwenhael Le Moine
442a455652
0x all over cases 2024-10-13 15:59:05 +02:00
Gwenhael Le Moine
c40a69efca
REAL_CPU_SPEED isn't there anymore, use config.throttle 2024-10-13 15:42:46 +02:00
Gwenhael Le Moine
65a9ef4152
--debug-revision deemed useless 2024-10-13 14:34:37 +02:00
Gwenhael Le Moine
fa1412a6c8
style 2024-10-13 14:22:34 +02:00
Gwenhael Le Moine
47027c375f
split-out inner switch from ExecGroup_1 2024-10-13 14:13:28 +02:00
Gwenhael Le Moine
5f90d54c5e
print --help on stdout 2024-10-13 14:12:31 +02:00
Gwenhael Le Moine
e6dc8a41d4
I like my macros all UPPERCASE, and GetNibble was a bit silly as FetchNibble is just fine 2024-10-12 17:29:58 +02:00
Gwenhael Le Moine
07e0289d5b
cpu status flags as booleans 2024-10-12 17:04:56 +02:00
Gwenhael Le Moine
1cd784b35a
no need to define CHF_MODULE_ID 2024-10-10 16:45:44 +02:00
Gwenhael Le Moine
3b9ea042d8
EmulatorLoopHandler: if -> switch 2024-10-10 16:37:09 +02:00
Gwenhael Le Moine
2076cfd1c9
--debug-opcodes actually prints out all instructions executed 2024-10-10 16:28:18 +02:00
Gwenhael Le Moine
90b23a8613
extract SHUTDN actual logic out of EmulatorLoopHandler() and into do_SHUTDN() 2024-10-10 16:27:32 +02:00
Gwenhael Le Moine
0dfb431aa3
store colors in 0xRRGGBB format 2024-10-10 12:16:50 +02:00
Gwenhael Le Moine
77b6998ba8
48SX too 2024-10-10 08:50:12 +02:00
Gwenhael Le Moine
db4aa0b0a3
compile without warnings with FULL_WARNINGS=yes 2024-10-10 05:53:45 +02:00
Gwenhael Le Moine
517c6d3d3d
[sdl2] add '=' as a + key so that I can up the contrast on my laptop without keypad 2024-10-09 20:40:36 +02:00
Gwenhael Le Moine
5714377466
embed lua to load configuration file
- add --print-config option to output config to stdout
- config file name is config.lua and is look for under
  --state-dir (default: $XDG_CONFIG_DIR/saturnMODEL/)
- wrapper scripts will automatically create config file if needed
- lua version is configurable at build time by passing LUA_VERSION=XX
  to make. XX is lua by default but for example can be luajit
- command-line option have higher priority over config file
2024-10-09 15:24:23 +02:00
Gwenhael Le Moine
aa944ceead
use --debug-opcodes to print instruction in identified buggy cases 2024-10-09 14:07:24 +02:00
Gwenhael Le Moine
c9739ff601
typo 2024-10-09 14:07:09 +02:00
Gwenhael Le Moine
c765e78ab5
style 2024-10-09 14:06:58 +02:00
Gwenhael Le Moine
4467e3dcf3
inline some instructions 2024-10-09 14:06:24 +02:00
Gwenhael Le Moine
1ece12bd2e
preliminary work implementing --debug-opcodes 2024-10-08 19:22:38 +02:00
Gwenhael Le Moine
bb47a0d0aa
HP49_support is always set 2024-10-08 19:14:34 +02:00
Gwenhael Le Moine
dc122cf46f
don't install libChf docs (outdated); more libChf slimming down 2024-10-08 18:53:40 +02:00
Gwenhael Le Moine
d3ef71cb2a
use ChfExit(); keep only the part of libChf that we use 2024-10-08 17:57:27 +02:00
Gwenhael Le Moine
2623dd28e5
[libChf] comment unused code 2024-10-08 16:47:55 +02:00
Gwenhael Le Moine
46e1426818
code formatting 2024-10-08 16:40:42 +02:00
Gwenhael Le Moine
5aab3c06c2
debug-x11 is meaningless 2024-10-08 16:35:46 +02:00
Gwenhael Le Moine
8ba913d994
refactor debugging macros 2024-10-08 16:29:44 +02:00
Gwenhael Le Moine
c20f4a7af4
[libChf] cleaning, code formatting 2024-10-08 15:52:46 +02:00
Gwenhael Le Moine
c6a361466e
add modules names to messages table 2024-10-08 15:51:47 +02:00
Gwenhael Le Moine
d0630eb490
remove macro CHF_Condition 2024-10-08 15:31:33 +02:00
Gwenhael Le Moine
6982d09b61
remove macro ChfEnd 2024-10-08 15:26:59 +02:00
Gwenhael Le Moine
ac604bdb99
[libChf] remove macro CHF_ErrnoCondition 2024-10-08 15:20:16 +02:00
Gwenhael Le Moine
af4e8076db
[libChf] commet unused code 2024-10-08 15:12:35 +02:00