Commit Graph

48 Commits

Author SHA1 Message Date
9cd231f2eb
Fix format warnings for HRESULT 2021-06-17 01:39:50 +00:00
Tau
92b73df3e7 Load and bind aimeio at runtime 2021-06-13 11:27:01 -04:00
e5b0603722
board/io4.c: add system status fix for Ongeki 2020-05-21 00:58:24 +00:00
dogtopus
356e8ae20c Unify LED command name for Diva/Chunithm slider 2019-12-29 22:48:35 -04:00
dogtopus
01e1e1a7b8 Diva: Fix slider detection & sensor order 2019-12-29 21:13:40 -04:00
Tau
f11a3cb657 board: Shift config structs around 2019-11-05 19:40:00 -05:00
Tau
fc345a46a7 board/sg-reader.c: Improve life cycle 2019-11-03 15:37:29 -05:00
Tau
93fcdf8f6d board/io3.c: Add io3_to_jvs_node() accessor 2019-11-03 13:00:55 -05:00
Tau
879dc0bfb4 Use new iohook_open_nul_fd() API
Makes error handling more consistent
2019-11-03 11:02:54 -05:00
Tau
2b5bde7742 board: Naming convention change for "sg" bus 2019-10-26 18:25:04 -04:00
Tau
5ed6eaa203 Overhaul card reader emulation 2019-10-19 15:51:10 -04:00
Tau
bbbb6d08b0 board/vfd.c: Use dump_iobuf() instead of direct dump() 2019-10-13 13:35:43 -04:00
Tau
32c87ca37e board/io4.c: Include NT IOCTL header
Fixes non-PCH build.
2019-09-01 11:48:32 -04:00
Tau
61c7905a32 board/vfd.c: Add stub emu for "VFD" LCD 2019-08-30 19:05:23 -04:00
Tau
6c5673dd24 board/io4.c: Add initial emulator for USB-mode IO-4 2019-08-30 18:49:11 -04:00
Tau
9ea6e09fdc Tweak JVS coin count APIs
This makes things more consistent with the button/analog APIs.
2019-08-03 17:41:39 -04:00
Tau
e06be9fc7b board/sg-reader.c: Configurate sg_reader 2019-06-03 22:28:44 -04:00
Tau
924c1d8fdb board/config.c: Add struct aime_config 2019-06-03 22:28:06 -04:00
Tau
b172c22322 board/sg-reader.c: Streamline further
Remove remaining pointless boilerplate, turn it into a free-
standing hook, since its aimeio.dll dependency forces it to be a
singleton anyway.
2019-05-03 21:23:21 -04:00
Tau
8158d01ed9 board/io3.c: Tweak ADC polling interface 2019-05-03 21:23:21 -04:00
Tau
23257f272e board/slider-cmd: Simplify RGB message def 2019-05-02 22:11:54 -04:00
Tau
ee39a94bde board/io3.c: Add capabilities comment 2019-05-02 19:41:04 -04:00
Tau
0271abb21e board/io3.c: Fix JVS coin counter emulation 2019-05-02 19:38:39 -04:00
Tau
025102fc58 Remove PCH source files
Deprecated in newer versions of Meson.
2019-05-01 21:17:30 -04:00
Tau
27663b4b19 board/sg-reader.c: Push down aimeio.dll calls
This is kind of a layer break but the alternative is way too much
boilerplate to deal with.
2019-03-16 11:42:36 -04:00
Tau
463d55cddc board/io3.c: Use IO-4 GPIO output count
Supposedly the IO-4's JVS interface presents the exact same
capabilities as the IO-3 except that it purports to have a massive
number of GPIO outputs (20 ports, each port having 8 bits). So
we'll just make our emulated IO-3 look like an IO-4 then.
2019-03-08 10:07:48 -05:00
Tau
5eef0455a2 board/io3.c: Fix analog input endianness 2019-03-08 10:07:48 -05:00
Tau
0806282bbf board/guid.c: Add HID class GUID 2019-03-04 16:47:32 -05:00
Tau
bc2928804c board/sg-reader.c: Factor out NFC ass'y emu
Combine the NFC module emulator with the LED module emulator and
a virtual UART to build a higher-level reusable building block.
2019-02-26 13:49:29 -05:00
Tau
2cbb18604b board/sg-led.c: Remove error path from update cmd
No way to return it to the host application anyway since this
command is unacknowledged.
2019-02-26 13:49:29 -05:00
Tau
8606d17699 board/sg-nfc.c: Pass UID consistently
If we receive it from the upper ops layer then we should send it
back as well.
2019-02-26 13:49:29 -05:00
Tau
bbe085b73d board/slider-cmd.h: Add separate Diva LED cmd
The Chunithm slider has sixteen cells and fifteen (I think?)
vertical lines splitting the cells. Diva does not have these lines,
so presumably the LED data format is different. Need to analyze
this further.
2019-02-26 13:49:29 -05:00
Tau
05ccf363d9 board/meson.build: Fix sorting 2019-02-26 13:49:29 -05:00
Tau
8036ff71ec board: Factor out Chunithm slider 2019-01-26 12:05:37 -05:00
Tau
ee011a74d4 Make dprintfs 64-bit clean 2018-12-17 17:34:50 -05:00
Tau
755be05603 board/sg-nfc.c: Use non-hardcoded UID
Turns out this does in fact vary between cards, even though its
actual value is unimportant.
2018-12-17 17:34:50 -05:00
Tau
51e4eca7dd Add MSVC PCH support 2018-11-23 18:25:22 -05:00
Tau
0cbd950289 Fix non-PCH build 2018-11-23 14:37:42 -05:00
Tau
1630784c3d board/sg-led.c: Implement RGB LED support
Used by AiMe reader, possibly used elsewhere.
2018-11-20 20:33:17 -05:00
Tau
4936fc2bcc board/sg-nfc.c: Add initial emu for NFC board
This board also supports FeliCa and probably some other stuff.
Need to analyze and implement these features later, Mifare card
support only for now.
2018-11-20 20:33:17 -05:00
Tau
0135236209 board/sg-cmd.c: Add "sg" req/resp packets 2018-11-20 20:33:17 -05:00
Tau
b8ffd20877 board/sg-frame.c: Add "sg" framing support 2018-11-20 20:33:17 -05:00
Tau
9f43f9f397 Hoist slider from board into chunihook
Diva slider uses the quasi-JVS framing used by all other SEGA
boards, the Chunithm slider is a special case.
2018-11-20 20:33:17 -05:00
Tau
2440be1cbf board/io3.c: Handle short reads/writes 2018-11-20 20:33:17 -05:00
Tau
acfa53fc5c board/slider-cmd.h: Add commands for touch slider PCB 2018-11-20 20:33:17 -05:00
Tau
5a7d549434 board/slider-frame.c: Add framing for touch slider PCB 2018-11-20 20:33:17 -05:00
Tau
372868565e board/io3.c: Add SEGA "Type 3" JVS I/O emulator 2018-11-20 20:33:17 -05:00
Tau
f05348fb9d board: Add empty static library 2018-11-20 20:33:17 -05:00