Dean Netherton
ec973d0b3f
ch376native: fix issue with CH376S modules with VER 3 firmware.
...
The initial device discovery would return a USB STALL state. Added retry
logic to clear the STALL and try again - only retries once.
2025-08-30 09:36:59 +10:00
Dean Netherton
f03c68c016
ch376-native: output the configured port numbers for the ch376 native usb driver
2025-07-21 19:23:26 +10:00
Dean Netherton
aacf98a82a
ch376-native: fixes for windows build
...
* convert 0x??? hex literals to $??? literals
* More label shortening for windows tasm compatibility
2025-07-20 15:32:08 +10:00
Dean Netherton
2269142a04
ch376-native: moved port definition from C code to cfg_MASTER.asm
2025-07-15 11:53:55 +10:00
Dean Netherton
7dbe9a5abb
ch376-native: updated readme notes and adjusted config for Z80 and eZ80 to not by default, enable the USB drivers
2025-07-15 11:08:41 +10:00
Dean Netherton
53d2f3f57b
ch376-native: fixed issue with firmware delegation version (CHNATIVEEZ80) intermittenly failing
2025-06-21 13:37:10 +10:00
Dean Netherton
024074b2cf
ch376-native: fixed issue where keyboard int handler could cause corruption of io
2025-06-21 13:37:09 +10:00
Dean Netherton
4436209213
ch376-native: fixed issue with parsing configs containing HID configs (keyboards/mice)
2025-06-21 13:35:37 +10:00
Dean Netherton
c8a551a781
ch376-native: removed some dead code
2025-06-21 13:35:37 +10:00
Dean Netherton
e0d385af38
ch376-native: boot report now indicates if firmware or RomWBW version of driver is running
2025-06-21 13:35:37 +10:00
Dean Netherton
b62b8639a6
ch376-native: updated keyboard driver
...
1. fix handling of caps-lock
2. removed support for returning scancode/bitfields for hbios call
2025-06-21 13:35:36 +10:00
Dean Netherton
253b92377d
ch376-native: reverted usb keyboard extensions
2025-06-21 13:34:20 +10:00
Dean Netherton
b006343740
ch376-native: implemented ez80 delegated version of ufi driver
2025-06-21 13:34:20 +10:00
Dean Netherton
f0133d1b1b
ch376-native: ufi driver refactor - removed use of bit fields to ensure compatibility with other c compilers
2025-06-21 13:34:20 +10:00
Dean Netherton
d1722923fd
ch376-native: added new config CHNATIVEEZ80 to enable use of ez80's firmware version of usb support
2025-06-21 13:34:20 +10:00
Dean Netherton
242c004749
ch376-native: keyboard: cleaner separation of concerns
2025-06-21 13:34:20 +10:00
Dean Netherton
e24860f474
ch376-native: minor code cleanup
2025-06-21 13:34:20 +10:00
Dean Netherton
ecb95cc161
ch376-native: refactor clear separation of driver and usb functions
2025-06-21 13:34:19 +10:00
Dean Netherton
4e23c9104d
ch376-native: refactor usb scsi/ufi function to replace use of config* with dev_index int
2025-06-21 13:34:19 +10:00
Dean Netherton
179abe7087
ch376-native: refactor: separating driver state and hbios state
2025-06-21 13:34:19 +10:00
Dean Netherton
2b5a224a4f
ch376-native: refactor: moved drive index tracking logic out of drivers into usb framework
2025-06-21 13:34:19 +10:00
Dean Netherton
c350d153da
ch376-native: optimised calling convention for usb_init
2025-06-21 13:34:19 +10:00
Dean Netherton
347b7e6a06
ch376-native: refactor: extracted chnative_init to its own file
2025-06-21 13:34:19 +10:00
Dean Netherton
802c1b41ff
ch376-native: refactored usb init/enumerating
2025-06-21 13:34:19 +10:00
Dean Netherton
7e8560f9a9
ch376-native: fixed issue with enumerating devices with interfaces containing no endpoints
2025-06-21 13:34:19 +10:00
Dean Netherton
580d7761e1
ch376-native: cleaned up formatting for ch376inc.h
2025-06-21 13:34:19 +10:00
Dean Netherton
149ab3ca8a
ch376-native: bumped to version 3.5.1-rc.0+ch376native
2025-06-21 13:34:17 +10:00
Dean Netherton
9abba42df7
ch376-native: keyboard int handler optimisations
2025-06-21 13:33:18 +10:00
Dean Netherton
22c26dba36
ch376-native: UKY_STATE: usb extension returns a 'buffered' hid report (upto 8)
2025-06-21 13:33:18 +10:00
Dean Netherton
3f6fc215e9
ch376-native: UKY_READ fixed issue with incorrect H value when no characters in buffer
2025-06-21 13:33:18 +10:00
Dean Netherton
62d5a7b825
ch376-native: leds default to off and on during activity
2025-06-21 13:33:18 +10:00
Dean Netherton
9c96e7c7a2
ch376-native: fixed issue with TMSMODE_MSXUKY selected when no usb keyboard is present on boot
...
The TMS driver would always install a USB keyboard pooling interrupt, despite no keyboard present
This would load the CPU and prevent other I/O operations
2025-06-21 13:33:18 +10:00
Dean Netherton
ce0d04226e
ch376-native: extended CHNATIVEFORCE option to wait upto approx 5 seconds for at least one connected device
2025-06-21 13:33:18 +10:00
Dean Netherton
eec2147826
ch376-native: applied z88dk version 20250224
2025-06-21 13:33:18 +10:00
Dean Netherton
93d7c7ed77
ch376-native: fixed and extend indicator led operation
2025-06-21 13:33:18 +10:00
Dean Netherton
1a44fbee0f
ch376: implemented CTRL key combinations
2025-06-21 13:33:18 +10:00
Dean Netherton
9cbd8937d7
ch376-native: keyboard driver now support CAPS LOCK key
2025-06-21 13:33:18 +10:00
Dean Netherton
ca6979d97e
ch376: increased rate of keyboard scanining and considers all keycodes state transmitted
2025-06-21 13:33:18 +10:00
Dean Netherton
72ec983c4f
ch376: added build option CHNATIVEFORCE to always force detection of module on boot
2025-06-21 13:33:18 +10:00
Dean Netherton
bf2a45f83e
ch376-native: updated github action build scripts to also attempt to transpile driver from c to assembly
2025-06-21 13:33:18 +10:00
Dean Netherton
3f8bc43596
ch376-native: enabled usb drivers for z80 config
2025-06-21 13:33:16 +10:00
Dean Netherton
e6143beb25
ch376-native: attempt to fix issue with slices not working - restored drive_index counter
2025-06-21 13:11:40 +10:00
Dean Netherton
a92bd780c8
ch376-native: removed some intermediate files that should not have beeen committed
2025-06-21 13:11:40 +10:00
Dean Netherton
04dbb0e4bb
ch376-native: some cleanup of build process and an initial readme added
2025-06-21 13:11:40 +10:00
Dean Netherton
601ddee38b
usb-keyboard: working (limited)
2025-06-21 13:11:38 +10:00
Dean Netherton
1e1554937c
usb-keyboard: enumerated
2025-06-21 13:04:38 +10:00
Dean Netherton
b4421a0532
ch376-native: general fixes - mass storage and floppy devices over hub seem to be working
2025-06-21 13:04:38 +10:00
Dean Netherton
7c3eeaff27
ch376-native: fixes
2025-06-21 13:04:38 +10:00
Dean Netherton
ed47d2f8b6
ch376-native: native USB driver for the CH376 module
2025-06-21 13:04:36 +10:00