1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-02-03 23:03:01 +00:00
Commit Graph

644 Commits

Author SHA1 Message Date
gyurco
07985e9ec0 Merge pull request #87 from retrofun/fix-competition-pro-usb-recognition
usb.c: add 8 bytes device descriptor read before and after set address
2022-02-20 18:04:34 +01:00
Gerald Schnabel
a50b16a06d usb.c: add 8 bytes device descriptor read before and after set address
Fixes recognition of Speedlink Competition Pro USB joystick
2022-02-20 17:42:14 +01:00
Gyorgy Szombathelyi
759f34d0e0 hidparser: initialize report config
Fixes devices which doesn't return Report ID
2022-02-16 22:58:45 +01:00
Gyorgy Szombathelyi
90d3f4e0eb Menu core can have its own settings menu 2022-02-12 15:34:26 +01:00
Gyorgy Szombathelyi
d883e3aad2 PCECD: fix Princess Maker 2 hang at the end of the intro
+more meaningful error messages from CUE parsing
2022-02-11 15:32:15 +01:00
Gyorgy Szombathelyi
c6734acce4 Add missing header 2022-02-10 20:53:28 +01:00
Gyorgy Szombathelyi
735b7aca87 state.c: cleanup 2022-02-02 00:28:24 +01:00
Gyorgy Szombathelyi
b90189f62e Autofire in 8bit/ST/Archie 2022-02-02 00:08:00 +01:00
Gyorgy Szombathelyi
f50ca14752 menu.c: factor out 8bit menu 2022-01-31 21:24:25 +01:00
Gyorgy Szombathelyi
f1ceeaacbe FatFs: use a cache for directory traversing
...as FatFs uses only single sector reads
2022-01-18 17:32:00 +01:00
Gyorgy Szombathelyi
a21bb80928 menu: always parse the 'V'ersion string 2022-01-18 16:05:05 +01:00
Gyorgy Szombathelyi
b3d6595f98 Revert "Supply a default date if no USB-RTC found"
This reverts commit d8ad80c965.
2022-01-16 17:42:54 +01:00
gyurco
4fa2becb9c Merge pull request #85 from retrofun/fix-button-r3-can-not-be-defined
menu.c: fix button R3 can not be defined
2022-01-16 17:42:28 +01:00
Gerald Schnabel
7c04de65ab menu.c: fix button R3 can not be defined 2022-01-16 17:34:42 +01:00
Gyorgy Szombathelyi
11e8fcaecd Workaround a reported issue with some SD Cards 2022-01-16 09:58:35 +01:00
Gyorgy Szombathelyi
de4e989436 user_io: give meaningful message about unknown core 2022-01-16 09:58:35 +01:00
gyurco
4cb7e8aebb Merge pull request #84 from retrofun/minimig-hdd-recognition
hdd.c: use H=1, S=32 for hdf files within valid cylinder range
2022-01-16 09:58:12 +01:00
Gerald Schnabel
91875099ba hdd.c: use H=1, S=32 for hdf files within valid cylinder range 2022-01-14 21:42:15 +01:00
Gyorgy Szombathelyi
4449d16271 Stupid stupid 2022-01-13 19:56:55 +01:00
Gyorgy Szombathelyi
915a6b01d3 Joymapping: fix ignored /core setting in mist.ini
+some fixes handling invalid entries, and a possible overflow
2022-01-13 18:40:25 +01:00
Gyorgy Szombathelyi
0a22c7bb2a Only 8-bit core type has corename.cfg 2022-01-13 11:14:56 +01:00
Gyorgy Szombathelyi
78a56e1eb9 Add missing files 2022-01-13 04:57:52 +01:00
Gyorgy Szombathelyi
d8ad80c965 Supply a default date if no USB-RTC found 2022-01-12 16:09:18 +01:00
Gyorgy Szombathelyi
e514a1bdc4 CFG updates
- convert corename.cfg to INI format
- mistcfg.ini as global config, writable by the firmware
- interactive setup of joystick_remap via the OSD
2022-01-12 16:01:37 +01:00
gyurco
a73183f987 Merge pull request #83 from retrofun/minimig-menu-fix-osd-menu-state-when-loading-config
minimig-menu.c: fix OSD menu state when loading config
2022-01-06 20:09:58 +01:00
Gerald Schnabel
bff6f97185 minimig-menu.c: fix OSD menu state when loading config 2022-01-06 19:34:03 +01:00
Gyorgy Szombathelyi
073910d9bf USB: query the device descriptor only once 2021-12-20 21:50:35 +01:00
Gyorgy Szombathelyi
903e89fccf USB-RTC: allow returning time even in 12h mode
This way it's possible to configure the time of an
unitialized chip in the OSD
2021-12-12 20:28:09 +01:00
Gyorgy Szombathelyi
7af73052fc USB: assign the address before the first query 2021-12-12 20:27:42 +01:00
Gyorgy Szombathelyi
30b04a55cb menu.c: Don't append the verion string more than once to the helptext 2021-12-12 00:16:29 +01:00
Gyorgy Szombathelyi
30d6d40cc6 Restructured menu engine
- Common code for scrolling and paging
- Separate menu data from the menu engine
- Dialog box functions
- 6k less flash space
2021-12-07 19:52:15 +01:00
Gyorgy Szombathelyi
ccdc083120 Add analogue joystick scaling options 2021-12-07 18:24:10 +01:00
Gyorgy Szombathelyi
8970178445 menu.c: cleanup get_joystick_id 2021-11-27 19:22:25 +01:00
Gyorgy Szombathelyi
1021186251 USB: Support two sticks(4 axes)/gamepad 2021-11-27 17:03:57 +01:00
Gyorgy Szombathelyi
58d7dc2c30 Clear dev->vid and dev->pid, too 2021-11-22 23:38:46 +01:00
Gyorgy Szombathelyi
491d467a97 USB: vid and pid belong to the device, not interface 2021-11-21 21:10:22 +01:00
Gyorgy Szombathelyi
2345eb6626 HID: fix polling interval logic 2021-11-21 17:24:17 +01:00
Gyorgy Szombathelyi
a0f9d2f2b3 Add Xbox360 controller support
- tested only with a Retroflag classic USB gamepad
- no analogue parts yet (need a real controller for that)
2021-11-21 16:31:28 +01:00
Gyorgy Szombathelyi
528aa921fe MMC: don't use iprintf in RAM functions 2021-11-16 18:44:55 +01:00
Gyorgy Szombathelyi
3e931f22f6 Revert "tos.c: no need to throttle SPI speed for reads"
This reverts commit 56dba800ea.
2021-11-12 21:26:43 +01:00
Gyorgy Szombathelyi
1a20e1800a Some more SCSI implementation for USB dev 2021-11-11 20:23:55 +01:00
Gyorgy Szombathelyi
161178c4ee Fix for binutils 2.37 (Fedora 35) 2021-11-10 22:57:35 +01:00
Gyorgy Szombathelyi
4fa20a2075 Stupid 2021-11-10 01:27:40 +01:00
Gyorgy Szombathelyi
58c89dad77 Storage: implement READ_FORMAT_CAPACITIES
+ little descriptor fix
2021-11-10 00:14:14 +01:00
Gyorgy Szombathelyi
b7d755f00b Add USB storage device support
Activate with the mist.ini setting: usb_storage=1
2021-11-09 19:16:53 +01:00
Gyorgy Szombathelyi
5d67bc61e6 spi.c: use hardware-controller NPCS lines
This has the advantage that the time between CS and the first SCK
is set by HW, and doesn't depend on the MCU speed
2021-11-07 15:08:48 +01:00
Gyorgy Szombathelyi
f32a9cb590 cdc_control_open() already runs usb_cdc_open() 2021-11-07 15:06:26 +01:00
Gyorgy Szombathelyi
877922afe7 Remove unused files 2021-11-01 02:28:39 +01:00
gyurco
e9058e448f Merge pull request #80 from retrofun/handle_read_only_floppy_disk_images_for_mist_core
Handle read-only floppy disk images for mist core
2021-10-26 20:05:17 +02:00
Gerald Schnabel
e585fcf474 Handle read-only floppy disk images for mist core 2021-10-25 20:38:36 +02:00