#jsmess 2018-03-24,Sat

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
oscarAh, but Lua doesn't do ioctl() natively.
Unless you are COMPLETELY INSANE, anyway: http://netbsd.gw.com/cgi-bin/man-cgi?lua+4+NetBSD-current
[00:00]
..... (idle for 20mn)
Anyway, a plain read()/write() ought to really do the trick, and it'll be out of band from the console. [00:21]
...... (idle for 27mn)
db48xyea, that's how the PCE emulator works
I was going to have the lua script expose some function that could be called from Lua's C api
[00:48]
...... (idle for 29mn)
oscarYou could definitely do that.
It gets my Computer Scientist Hackles up, but that's probably OK.
I can dig in MAME to see what the function is to just evaluate a script.
Probably easier to handle potential blocking issues that way as well.
There's lua_engine::execute_function, obviously.
Though I'm having a bit of trouble seeing how you're expected to pass in variables.
Unless you're expected to preload them on the stack a la the Lua C API.
I don't see facilities for that, though, and it looks like it's mostly only used internally to run argumentless callbacks for events.
Hm.
[01:18]
***bwn has quit IRC (Read error: Connection reset by peer) [01:27]
oscarIs there a convenient way to ls the contents of the file system?
I see my .lua file getting loaded, but MAME is giving me an error indicating it doesn't see it where I think it should be.
[01:39]
***bwn has joined #jsmess [01:45]
..... (idle for 24mn)
oscarNevermind, figured it out... the file is there, now trying to figure out if I can read it from the console... [02:09]
..................................................... (idle for 4h21mn)
***wdna has joined #jsmess
wdna has quit IRC (Client Quit)
[06:30]
wdna has joined #jsmess [06:48]
.............. (idle for 1h8mn)
db48xof course going through a socket might be easier
it all depends on whether you think serializing and deserializing messages will be easier than calling Lua's C api :)
[07:56]
.......... (idle for 49mn)
***wdna has quit IRC (Quit: WeeChat 2.1) [08:46]
............... (idle for 1h13mn)
bwn has quit IRC (Read error: Operation timed out) [09:59]
bwn has joined #jsmess [10:06]
.......... (idle for 48mn)
db48x has quit IRC (Read error: Operation timed out) [10:54]
...... (idle for 29mn)
db48x has joined #jsmess [11:23]
....... (idle for 30mn)
bwn has quit IRC (ny.us.hub ircd.choopa.net)
datajerk has quit IRC (ny.us.hub ircd.choopa.net)
[11:53]
.... (idle for 17mn)
bwn has joined #jsmess
datajerk has joined #jsmess
[12:10]
............................................................. (idle for 5h3mn)
godane has quit IRC (Quit: Leaving.) [17:13]
SketchCowSo, just to pick this up.... ted ----
I don't think the USB controllers work with our thing anymore.
I could be wrong, but I'll begin testing it as soon as I go buy another USB controller, maybe today.
[17:15]
..... (idle for 21mn)
***godane has joined #jsmess [17:36]
............................................................................. (idle for 6h22mn)
balrog has quit IRC (Read error: Operation timed out) [23:58]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)