INL-retro-progdump/shared
Paul Molloy ec725f7e33 Getting closer to how I'd like to handle dictionary calls with lua.
Effectively deleted old dictionary call function/files.
Created lua_usb_vend_xfr function so lua can directly send and receive
vendor setup transfers.

Dictionary calls are more like function calls now, and all args aren't
required so the LED can be turned on for example in lua like so:
dict_pinport("LED_ON")
general format is:
dict_name( opcode, operand, misc, datastring )
Also added ability to store opcode's return length in shared dict library
files with RL=number in the comments following the opcode.
Negative numbers designate OUT transfers, positive for IN.
Default value can be determined by each dictionary's calling function.
Decided pinport is 1 for SUCCESS/ERROR CODE.
Also have default return data means with second byte giving length of
return data in bytes that follows.
dictionary call function reports any errors reported by the device and
returns any return data from the device excluding error code / data len

Now time to start implementing some of these dictionaries on the device.
2017-08-01 17:17:13 -05:00
..
shared_dict_buffer.h Flash NROM PRG-ROM operations are pretty well up to snuff now. 2017-02-13 23:51:51 -06:00
shared_dict_io.h Adding EXP0_PULLUP_TEST should probably verify pullup on EXP0 provides 2016-11-27 17:47:40 -06:00
shared_dict_nes.h Big overdue commit of past few days effort.. 2016-12-11 01:06:41 -06:00
shared_dict_operation.h Committing some edits made awhile ago that look legit. 2017-01-29 17:47:29 -06:00
shared_dict_pinport.h Getting closer to how I'd like to handle dictionary calls with lua. 2017-08-01 17:17:13 -05:00
shared_dict_snes.h SNES dictionary creation, addition of NES cpu/ppu read/writes 2016-11-27 15:32:36 -06:00
shared_dict_usb.h Have USB drivers successfully calling usbFunctionSetup when vendor setup 2017-07-24 21:56:34 -05:00
shared_dictionaries.h Have USB drivers successfully calling usbFunctionSetup when vendor setup 2017-07-24 21:56:34 -05:00
shared_enums.h Creations of operation module and dictionary. 2016-12-25 13:48:30 -06:00
shared_errors.h Getting closer to how I'd like to handle dictionary calls with lua. 2017-08-01 17:17:13 -05:00
shared_usb.h Have USB drivers successfully calling usbFunctionSetup when vendor setup 2017-07-24 21:56:34 -05:00