23 June 2021, 19:28 | #1 |
Demoscene musician
Join Date: May 2010
Location: UK
Posts: 55
|
lua support in WinUAE
I noticed recently that WinUAE has added lua support. I've used this in other emulators to do register logging and was hoping I can do the same thing on Amiga. Got a couple of questions:
1) I'm assuming I don't need to install anything else to get this working? When I add the lua= line to my config file it immediately crashes out the emulator if I have anything in the lua file it's pointing at. Assuming it's probably my syntax? (using 4.4.0 x64 zip from the website) 2) To get output into a file do I use the standard lua io device, the log command from luascript.cpp or pipe it out via the commandline? I'm assuming something like: while true do l_uae_log(l_uae_peek_u16(address)) end Would save the value of a register out constantly to the winuae log? I see there's also a way to check for the next vblank which is useful. Thanks in advance, |
29 June 2021, 20:49 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
It was never finished, I think it was some kind of experiment. I don't even remember what it was supposed to do anymore
|
30 June 2021, 14:18 | #3 |
Demoscene musician
Join Date: May 2010
Location: UK
Posts: 55
|
Thanks for the reply. I'll see if I can get something similar out of the debugger or something. Basically I'm trying to log the audio register data per frame so those plus the sync registers will probably get me what I'm looking for.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Howto compile Lua branch? | Azvareth | support.FS-UAE | 0 | 06 September 2020 13:35 |
A lua shell for FS-UAE | lallafa | support.FS-UAE | 10 | 14 August 2020 20:35 |
Lua interpreter with arbitrary precision math. | Thorham | Coders. Releases | 19 | 06 January 2020 23:13 |
Lua? | Marcuz | Coders. General | 2 | 03 April 2016 20:15 |
Portaudio support (was: WinUAE support for ASIO drivers) | Amiga1992 | support.WinUAE | 57 | 28 March 2009 21:15 |
|
|