Commit Graph

27 Commits

Author SHA1 Message Date
zeromus 089ddeeb5e apply patch #776 - cdlog lua library (and rom.readbytes) 2017-02-23 21:29:43 +00:00
feos-tas 2c80da6cc7 add ppu lua library
only has readbyte and readbyterange so far
2016-12-22 15:15:38 +00:00
feos-tas 2958f2e5df lua: obtain register values via memory, like hexeditor does 2016-12-13 18:13:46 +00:00
zeromus 71e414cfac fix lua print() on some systems, due to mistaken use of printf %Lg instead of just plain %g 2016-12-12 22:25:41 +00:00
rainwarrior f947ef06e7 lua write callbacks: adding optional third parameter to retrieve the value written, added Sprites.lua script to visualize sprites (requires and demonstrates feature just added) 2016-08-23 08:46:22 +00:00
zeromus 2873344ce8 fix parsing of lua colors over 0x80000000 on 32bits systems 2016-08-21 20:12:49 +00:00
feos-tas 6dc943d6b1 lua: fix #734 by adding emu.getpath() and emu.loadrom()
update help

[[Split portion of a mixed commit.]]
2016-07-03 12:01:17 +00:00
feos-tas 9b092023f8 apply patch and fix #639 2016-06-05 09:35:27 +00:00
feos-tas e283fecb15 lua font: proper halo. 2016-01-05 11:07:58 +00:00
feos-tas 954fc5d5dd Lua: rom.writebyte() and gethash(). 2015-06-23 21:04:31 +00:00
zeromus 7b85e797d8 fix linux compiling bug from e3070 2014-11-22 01:44:51 +00:00
zeromus f19171451e revert these revisions:
3060-3066
3053-3058
(input-related 'refactorings' and subsequent bugfixes and squabbling)
reversions went without any merge conflicts, so I think it's OK. your key bindings may be history through, sorry.
2014-11-22 01:23:19 +00:00
feos-tas b77c835d8a Lua doesn't anymore remind the speed is *still* normal each time the script is edited. That uncovered a design bug, uncomment back the message no one saw because of the above, once some solution (and good use for it) is found. 2014-03-15 22:04:04 +00:00
rpahut 85a6c7fd32 win/input cleanup, refactoring 2014-02-23 15:05:32 +00:00
ansstuff 0e2422f90a Optimized Symbolic Debug for speed (so Trace Logger has less overhead when Symbolic Trace is on) 2013-09-19 20:51:41 +00:00
ansstuff 1ab0323d64 * PPU Viewer: added "Mask unused graphics" and "Invert the mask" checkboxes
* PPU Viewer: fixed window layout when using big fonts
2013-09-16 16:04:11 +00:00
feos-tas 1399397477 * Lua: added memory.readword(int address1 [, int address2]).
* Lua: added memory.readwordsigned(int address1 [, int address2]).
Both handle little endian words only.
Second address allows to construct word of 2 scatter addresses.
* Lua: emu.tobit() is now tobitstring().
2013-09-15 18:37:11 +00:00
feos-tas efb262cae6 * Lua: added emu.tobit() function
Converts byte to binary string.
2013-09-15 11:35:14 +00:00
ansstuff 4f0c7474df * Debugger: fixed Cycles counter reset when loading an earlier savestate
* Taseditor: small cleanup because of a failed experiment with different "Follow cursor" behavior
2013-09-05 14:53:07 +00:00
punkrockguy318 97295e18c4 sdl: applied patch to use system lua on non-win platforms (thanks Joe Nahmias!) 2013-07-08 23:00:57 +00:00
ansstuff 50a1ad74ab * Lua: added debugger.hitbreakpoint() function
* Lua: added debugger.getcyclescount() function
* Lua: added debugger.getinstructionscount() function
* Lua: added debugger.resetcyclescount() function
* Lua: added debugger.resetinstructionscount() function
* Win32: when no script is currently running, Shift+L loads the most recent Lua script
2013-05-26 15:18:30 +00:00
zeromus 166e1637fd fix win32 compilation errors 2013-04-13 23:17:46 +00:00
xhainingx bc8a01178d corrected c-style includes, added static_casts around compile time conversions
there were a lot of lines that needed static_casts to get rid of compiler
errors (c++11 issues) so I added them.  Replaced #include<lib.h>s with
#include<clib>s, and moved them below the local includes
2013-04-13 02:52:13 +00:00
gocha 43c849cc68 Lua: fix wrong frequency calculation in sound.get() 2013-04-12 12:52:01 +00:00
zeromus 195514bf78 win32-dont demand lua dll when shutting down 2013-03-20 22:17:14 +00:00
gocha 3316c49348 Win32: delayload lua51.dll 2013-03-20 14:46:55 +00:00
punkrockguy318 2be5084a7b create new subversion repo structure (trunk, tags, branches)
[[Split portion of a mixed commit.]]
2013-03-15 19:00:14 +00:00