Commit Graph

25 Commits

Author SHA1 Message Date
636c85fa8f amex/ds.c: Handle ABI version ioctl 2021-09-01 22:52:07 +00:00
e76cd2ec3a63f11710dc9fa0bc5b66176521af0a
b73ded3597 eeprom: fill in actual geometry 2021-02-13 15:51:16 -05:00
Tau
b799f9f446 Simplify configurable GetAsyncKeyState
Setting the VK code to zero effectively disables these anyway.
2019-11-27 21:02:51 -05:00
Tau
f8289689f0 amex: Shift config structs around 2019-11-05 19:36:35 -05:00
Tau
0e1cfb66db Improve JVS bus life cycle handling 2019-11-03 13:01:38 -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
bd61b3e3d9 amex: Defer NVRAM file open
This will hopefully allow us to use hook DLLs from multiple
processes simultaneously (and so the cycle goes on).
2019-10-20 22:41:59 -04:00
Tau
6bdd1f90bc amex: Use iobuf_write() instead of pointer casts 2019-10-13 14:48:10 -04:00
Tau
05e4dda8e6 Add missing <assert.h> includes
Fixes non-PCH build.
2019-09-01 11:48:14 -04:00
Tau
a34d845730 Revert "amex/nvram.c: Relax file sharing mode"
This reverts commit 9b47b51bf2b83d7d5a242e38ea6b41b120371e80.
2019-08-20 13:13:30 -04:00
Tau
67c1fcedea amex/nvram.c: Relax file sharing mode
QoL hack for Chunithm support.
2019-06-09 15:38:43 -04:00
Tau
a2bcd575d6 amex/jvs.c: Tweak debug message prefix 2019-06-07 17:25:36 -04:00
Tau
4135e674ee amex/config.c: Add asserts
If I'm going to do this boilerplate I should at least do it
consistently I suppose.
2019-05-17 23:07:20 -04:00
Tau
6d933eb8f4 amex/config.c: Rename from cfg.c
Easier to type and more consistent with its identifiers.
2019-05-17 23:07:20 -04:00
Tau
1b93551a41 hooklib: Split out of util
This is distinct from capnhook's hooklib, although the intent is
the same. Hopefully these two libraries sharing a name won't get
too confusing...
2019-05-14 17:13:08 -04:00
Tau
07237730cd Use string equality wrappers 2019-05-14 17:13:08 -04:00
Tau
c19d140589 Wire up libamex config 2019-05-04 14:50:33 -04:00
Tau
68ec23e3c8 amex/cfg.c: Add libamex INI configuration system 2019-05-04 13:11:59 -04:00
Tau
c5758ac374 amex/amex.c: Add amex_hook_init() helper 2019-05-04 12:04:38 -04:00
Tau
025102fc58 Remove PCH source files
Deprecated in newer versions of Meson.
2019-05-01 21:17:30 -04:00
Tau
f6a2e64df2 amex/gpio.c: Make DIPSW configurable 2019-05-01 21:12:13 -04:00
Tau
690f96f276 amex/ds.c: Rename ds.txt to pcbid.txt
ALLS hardware does not have a DS EEPROM or indeed even an AMEX. It
uses the Windows hostname instead. We'd like to use the same file
name for both use cases, so let's change the file name to be
something more generic.
2019-03-16 12:17:41 -04:00
Tau
9924bf6018 amex/ds.c: Remove redundant OVERLAPPED handling
capnhook handles this common case by itself.
2019-03-16 12:17:41 -04:00
Tau
72f28e40b0 amex/ds.c: Read optional region code 2019-03-04 18:39:37 -05:00
Tau
bc297b2480 Split libnu into libplatform, libamex
Going to add some ALLS stuff to libplatform and the ALLS hardware
does not contain an AMEX board.
2019-03-04 17:22:38 -05:00