| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Add methods for memory writing, similarly to existing readers.
Signed-off-by: Luca Bruno <lucab@debian.org>
|
|
|
|
|
|
|
| |
Drawing and scripts should use the actual visible_area,
not the maximum declared screen size.
Signed-off-by: Luca Bruno <lucab@debian.org>
|
| |
|
|
|
|
|
|
|
|
|
| |
This commit exposes device_state_entry to LUA, providing methods
to enumerate available states for a device object, as well as getting
and setting their values.
It is mostly usefull to inspect and manipulate registers content.
Signed-off-by: Luca Bruno <lucab@debian.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This commit adds a method to let LUA scripts register a callback
to be invoked before rendering each frame.
This callback typically makes use of screen drawing methods to
draw a custom HUD on top of each frame.
Signed-off-by: Luca Bruno <lucab@debian.org>
|
|
|
|
|
|
|
|
|
| |
This commit allows LUA scripts to implement HUD capabilities,
by overlaying elements (lines, boxes, text) to screen.
Mostly used to draw custom graphic helpers for trainings and
TAS runs development.
Signed-off-by: Luca Bruno <lucab@debian.org>
|
|
|
|
|
|
|
|
|
|
| |
This commit maps some more classes (device_t and address_space)
to retrieve devices and address spaces out of current running
machine.
Proxy methods are provided to enumerate/access devices and
address spaces, and to read memory content.
Signed-off-by: Luca Bruno <lucab@debian.org>
|
|
|
|
|
|
|
|
|
|
| |
This commit adds two methods to LUA interface, allowing scripts to
programatically retrieve current running application name and version.
The idea is to make scripts aware of changes in the API, by
linking it to current version number. Compatibility helpers can then
be added to LUA scripts to keep working across API changes.
Signed-off-by: Luca Bruno <lucab@debian.org>
|
|
|
|
| |
Signed-off-by: Luca Bruno <lucab@debian.org>
|
|
|
|
| |
Signed-off-by: Luca Bruno <lucab@debian.org>
|
|
|
|
| |
well, just doing now what we can
|
| |
|
| |
|
| |
|
|
|
| |
Need to generalize mechanism of communication between threads and do more cleanup
|
|
|
|
|
|
|
|
|
| |
running machine [Miodrag Milanovic]
-Updated LUA engine to run in machine_manager instead of being initialized per machine
-Added "-console" option so emulator can be started with LUA enabled console
-Update LUA to version 5.2.3
-Enabled SQLite3 to be compiled and added LUA module for it
|
| |
|
| |
|
|
|
|
| |
one instead of direct execution, note that you need to add \n for new line at the end now (nw)
|
|
machine [Miodrag Milanovic]
added -script (or -autoboot_script) command to execute LUA script after driver startup
|