1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-01-13 15:17:43 +00:00

623 Commits

Author SHA1 Message Date
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 56dba800eac61a85e200f28cac806b6fedfcdb86.
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
Gyorgy Szombathelyi
ca7f938fbb Minimig: support analog joystick 2021-10-24 22:22:04 +02:00
Gyorgy Szombathelyi
e76df4cb77 MMC: optimize multiple reads
Allow the firmware to continue after a transfer is finished,
no need to wait until the SD Card is not busy.
Wait instead at the beginning of a new command.
2021-10-07 20:56:46 +02:00
Gyorgy Szombathelyi
c187b3b8ce user_io: some safety for ext_idx
nameext cannot be > 3 chars anyway (because of the file selection filter), but be safe
2021-10-01 18:04:09 +02:00
Gyorgy Szombathelyi
77a95b84b4 user_io: fix ext_idx again 2021-10-01 11:06:40 +02:00
Gyorgy Szombathelyi
196128c8c4 HID: query only the LangIDs
Retrobit gamepad breaks querying other strings
2021-09-29 18:03:52 +02:00
Gyorgy Szombathelyi
13ee0cb334 MMC: add gap bytes for multiple writes 2021-09-28 21:08:41 +02:00
Gyorgy Szombathelyi
afd2f5a7be Speed up RBF programming a bit 2021-09-28 21:08:00 +02:00
Gyorgy Szombathelyi
b6ad6ebbe7 Revert "FatFs: use the external sector buffer for directory browsing"
This reverts commit fc7121d2024ebec43202b7e5ef9f102d72f873e9.
2021-09-11 19:30:43 +02:00
Gyorgy Szombathelyi
982fa97d5a Revert "FatFs: fix ext buffer when buf_size>cluster size"
This reverts commit 5f3d21330731bdc3a1f6591ee0f15d3266d12ad6.
2021-09-11 19:30:31 +02:00
Gyorgy Szombathelyi
5f3d213307 FatFs: fix ext buffer when buf_size>cluster size 2021-09-09 21:06:27 +02:00
Gyorgy Szombathelyi
0476169450 Add some features
...the core name comparison can be deleted later
2021-09-07 20:11:46 +02:00
Gyorgy Szombathelyi
ec0653032c Enable HIDP debug 2021-09-06 17:44:56 +02:00
Gyorgy Szombathelyi
2feeaf2e03 ACSI: remove spurious lba increase 2021-09-06 17:44:22 +02:00
Gyorgy Szombathelyi
3c892c72e7 HID: more complete HAT switch handling 2021-09-06 17:43:03 +02:00
Gyorgy Szombathelyi
93a1220285 HID: fix signed joystick axis handling 2021-09-05 17:24:11 +02:00
Gyorgy Szombathelyi
2835cf1e92 Remove reduntant line 2021-09-03 23:00:04 +02:00
Gyorgy Szombathelyi
fc7121d202 FatFs: use the external sector buffer for directory browsing
...utilizing multiple reads
2021-09-02 17:54:32 +02:00
Till Harbaum
c55ff7e4a5
Merge pull request #78 from retrofun/print-name-of-fpga-bitstream-file
fpga.c: print name of FPGA bitstream file
2021-09-02 17:33:03 +02:00
Gerald Schnabel
086cec0b8d fpga.c: print name of FPGA bitstream file 2021-09-02 17:21:52 +02:00
Gyorgy Szombathelyi
7d0beb3297 Add include 2021-09-01 00:45:57 +02:00
Gyorgy Szombathelyi
51701e7dab IDE: single block - single block write cmd 2021-08-31 15:52:50 +02:00