1
0
Fork 0
forked from Miroirs/x49gp
Commit graph

55 commits

Author SHA1 Message Date
Gwenhael Le Moine
b8614acbae
drop all custom fonts code and assets 2024-11-05 16:38:27 +01:00
Gwenhael Le Moine
567771cbcc
ignore s3c2410.h in make pretty-code 2024-11-05 13:48:44 +01:00
Gwenhael Le Moine
cadc26714e
prefix ui_ 2024-11-03 09:06:49 +01:00
Gwenhael Le Moine
c2d142281c
move fonts' functions into their own files 2024-11-03 09:01:21 +01:00
Gwenhael Le Moine
fe8b759aa8
optimize qemu building in Makefile 2024-10-31 22:30:38 +01:00
Gwenhael Le Moine
8a47fd4ff8
tweaks 2024-10-30 14:44:17 +01:00
Gwenhael Le Moine
2786f95166
separate further our code from qemu-git's 2024-10-30 14:15:25 +01:00
Gwenhael Le Moine
d300afe3c7
[gtk] use accessor functions to get values
as part of modernizing gtk code before upgrading gtk
2024-10-24 15:39:41 +02:00
Gwenhael Le Moine
1a1993d845
refactor++ 2024-10-23 16:20:09 +02:00
Gwenhael Le Moine
cb7c9f6e37
refactoring of Makefile + fixes 2024-10-23 16:17:52 +02:00
Gwenhael Le Moine
b5f6fbe716
select faceplate and name thru args instead of config file
Added --50g --50g-newrpl --49gp --49gp-newrpl and --name= args
Remove [gui] section from config file
2024-10-23 14:24:46 +02:00
Gwenhael Le Moine
6fe6c501b0
use getopt_long to parse options, change semantic of -d and -F slightly 2024-10-23 11:28:20 +02:00
Gwenhael Le Moine
0089156ad1
add versionning, fix config path in --help 2024-10-23 10:12:22 +02:00
Gwenhael Le Moine
41b501f9a1
s/x49gp/x49gpng/g rename files and directories 2024-10-23 09:36:13 +02:00
Gwenhael Le Moine
00f57c458f
[block_vvfat.c] slightly increase buffer size to avoid array-bounds and stringop-overflow= errors 2024-10-22 21:53:59 +02:00
Gwenhael Le Moine
8e05de8737
merge includes into src/ 2024-10-22 19:36:18 +02:00
Gwenhael Le Moine
2e440861bc
mkdir 2024-10-22 17:22:23 +02:00
Gwenhael Le Moine
9f05aab9fc
install all faces 2024-10-22 17:21:06 +02:00
Gwenhael Le Moine
4b44c772ef
clangd 2024-10-22 15:45:08 +02:00
Gwenhael Le Moine
745bb7e28d
change dist/ strategy 2024-10-22 13:46:52 +02:00
Gwenhael Le Moine
b1ddf671c3
fix install 2024-10-22 13:38:45 +02:00
Gwenhael Le Moine
f421cd202d
fix TARGET 2024-10-22 13:32:26 +02:00
Gwenhael Le Moine
4c9be25894
replace pull-firmware.sh with a Makefile; move targets into dist/ 2024-10-22 13:28:00 +02:00
Gwenhael Le Moine
d79958261f
SRC_DIR 2024-10-21 22:16:05 +02:00
Gwenhael Le Moine
5493b6d90f
install pull-firmware.sh 2024-10-21 22:05:53 +02:00
Gwenhael Le Moine
8408b3b5d7
755 2024-10-21 21:03:37 +02:00
Gwenhael Le Moine
f5ee0635fb
install pull-firmware.sh in $PREFIX/share/x49gp 2024-10-21 20:59:09 +02:00
Gwenhael Le Moine
c8e608ee64
pull-firmware.sh 2024-10-21 20:53:45 +02:00
Gwenhael Le Moine
da5f0a0668
move qemu-git under src/ 2024-10-21 20:45:51 +02:00
Gwenhael Le Moine
3302c4b6e2
pull-firmware 2024-10-21 20:42:42 +02:00
Gwenhael Le Moine
044a165758
move actual code under ./src/ 2024-10-21 18:20:13 +02:00
Gwenhael Le Moine
8aa4c62d88
[Makefile] prefix source with $(SRC_DIR); add mrproper 2024-10-21 18:14:46 +02:00
Gwenhael Le Moine
ce5e207a51
allow pretification of code (not qemu's) 2024-10-21 18:01:28 +02:00
Gwenhael Le Moine
d0a5f8a166
remove bootloaders' binaries references, install pull-roms.sh 2021-12-02 16:18:08 +01:00
Gwenhael Le Moine
476b1ccf10
fix compilation on slackware-current 2021-10-31 2021-10-31 14:10:00 +01:00
gwenhael
9933c03253
Update Makefile
add DESTDIR to make packaging easier
2021-10-31 12:49:17 +01:00
claudiol
69d4cff83e Removed FORTIFY_SOURCE macro 2018-08-28 18:07:09 -04:00
claudiol
019914c5f8 [3298] More building system fixes 2018-08-28 12:56:10 -04:00
claudiol
cb4ed1a375 [3298] Compile warnings fixed 2018-08-28 12:46:52 -04:00
claudiol
02ed9ab8a9 [3298] Updated QEMU patches 2018-08-28 12:42:54 -04:00
claudiol
1dd8295b04 [3298] International keyboard issues and build system patches. 2018-08-28 12:32:34 -04:00
claudiol
f5c6457a1e Disable one last warning -Wno-unused-result 2018-05-07 18:26:28 -04:00
claudiol
c61f11cff2 On behalf of: 3298 - Applied 23 patches by 3298:
Misc changes, mostly fixes:
- fix ./newconfig systems other than OSX (broke in c8b823f)
- fix palette usage in 2-bit color mode (was broken ever since grayscale was implemented in 18e1003 and its improperly attributed copy f7913eb)
- fix continuing from breakpoints in the debugger (never worked, was exposed when the debugger was enabled in 9c1f2ed)
- restore the printf statements commented out in 9c1f2ed and hide them with #ifdefs instead
- close the server socket after accepting a debugger connection to allow another simultaneous debug session to be started using the same TCP port
- use the symbolic constant DEFAULT_GDBSTUB_PORT (already defined in gdb_stub.h as 1234) when starting the gdb server in main.c in place of the raw number 1234
- change Makefile to read the name of the firmware file from the file update.scp instead of hardcoding it; this allows users to switch to another firmware
by simply pasting it along with its accompanying update.scp into the x49gp directory

- Enhance port G (keyboard) handling to remember the value of output bits across periods with these bits configured as input
This fixes interaction with HPGCC3 keyboard routines, and it also fixes keys with eint==7 (assuming the stock firmware is in use)
needing a double-tap to work unless pressed very shortly after another keypress (the latter broke in b5f93ed)
- Get rid of the deprecated function warning by switching from gdk_pixbuf_new_from_inline to gdk_pixbuf_new_from_data (based on code by chwdt)
- Delete remaining now-redundant CVS files
- Don't release all buttons anymore if there are still physical keys and/or the left mouse button are holding some down
On the other hand, forcibly release all buttons when losing focus to avoid getting stuck in a state with buttons down
when they are not held down by anything; this would happen due to missed events while not in focus
- Add a context menu to the screen, containing only "Reset" and "Quit" items for now
- Ensure that the files backing flash, sram, and s3c2410-sram exist and have the correct size when opening them
Note that if the flash file does not exist, this will not fill it with the code that's supposed to be in there, obviously causing the calculator to crash. That's an improvement for later.
- Allow the config system to fill not only numbers, but also strings (including filenames) with default values
basename is excluded, but it's planned to be dropped entirely.
- Add an "install" target to the Makefile
- Implement a more generic command-line parser for substantially improved flexibility
- Also adds a proper help option, though the manual referenced in the corresponding output (a manpage, hopefully) does not exist yet.
- Drop the "basename" config property in favor of interpreting relative paths in the config as relative to the config file's location
- Retire the "image" config property in favor of simply loading the image from next to the binary or from the install directory
- Split the UI name property into name (affecting only the window title) and type (affecting the UI image and in the future also the default bootcode) properties
- Change the default calculator type to the 50g everywhere, which probably matches today's user expectations better than the 49g+.
- Create a flash file from the calculator model's appropriate boot file if it does not exist, relying on the bootcode to detect the absence of a firmware
  The bootcode will complain about the missing firmware and enter update mode, so the user needs to supply their favorite firmware version and point the bootcode's updater to it.
  The easiest way is probably pointing the emulated SD card at a directory containing the firmware and its accompanying update.scp file, and then starting the SD-based update.
- Add SD mount / unmount options to the right-click / menu-key popup menu
- Remove most of the old script-based config-generating system since the binary now has these capabilities as well
- Add an applications menu item for installing
- Keep some debug output on stderr and a huge vvfat.log file from showing up when not debugging x49gp itself
- Allow (re-)connecting a debugger to a running session
  This is done through the right-click / menu-key popup menu.
  To avoid confusion due to the accidental clicks leading to an unresponsive interface (caused by waiting for the debugger to connect),
  this option is hidden unless option -d or its new companion -D (same as -d, but does not start the debug interface right away) is present.
- Improved support for hardware keyboards
- Update README.md, add manpage, rename other README files to TODO to reflect their contents
2018-05-07 17:32:14 -04:00
claudiol
066af08ae5 On behalf of:3298
Merge remote-tracking branch 'datajerk/master'
2018-05-07 17:26:44 -04:00
Christian Wendt
ec9ea8e5ca add 2MB 2.15 update file 2017-12-07 13:14:22 +01:00
Christian Wendt
407b2c3e8c compile with newer gtk, fix parallel builds 2017-12-07 12:57:12 +01:00
Eddie C. Dost
2a23ee8088 fix parallel builds and subdir qemu 2017-11-28 11:34:55 +01:00
Eddie C. Dost
74e7ea152c Allow parallel builds. 2017-10-26 15:42:01 +02:00
Eddie C. Dost
eede585bc9 update ROM to version 2.15 2017-10-26 12:32:35 +02:00
Eddie C. Dost
e865764785 Fix warnings, compile again with -Werror. 2017-10-26 11:41:01 +02:00