00:00:00 --- log: started retro/12.08.02 01:59:42 --- quit: SimonRC (Ping timeout: 244 seconds) 02:09:42 --- quit: ChanServ (*.net *.split) 02:14:05 --- join: SimonRC (~sc@fof.durge.org) joined #retro 02:15:53 --- quit: yiyus (*.net *.split) 02:17:20 --- join: yiyus (1242712427@je.je.je) joined #retro 02:27:30 --- join: ChanServ (ChanServ@services.) joined #retro 02:27:30 --- mode: wolfe.freenode.net set +o ChanServ 04:48:05 --- quit: jyfl987 (Quit: leaving) 05:41:43 --- join: sabren (~michal.wa@108-218-151-22.lightspeed.rcsntx.sbcglobal.net) joined #retro 07:37:48 I'm making a new programming language on the ngaro vm for a game jam that starts in 32 hours. You guys are invited. http://www.reddit.com/r/learnprogramming/comments/xka2w/help_weve_32h_to_create_a_programming_language/ 07:38:05 (also a new implementation of the vm in freepascal) 07:51:54 --- join: Kumul (~Kumul@cvx-ppp-66-50-52-16.coqui.net) joined #retro 10:38:05 sabren: it's been too long since I used any varient of pascal, but I'll try to answer any questions as quickly as possible 10:39:54 @crc: thanks! :) pascal won't be the problem, but i'll probably need some help understanding how do things on the vm 10:48:15 (incidentally, I would be very interested in a pascal implementation of the VM; I used to like Pascal back when I wrote Windows apps) 10:49:13 i'll be happy to contribute it to the project... i'm probably going to follow your license scheme 10:50:15 if i recal, fpc ships with sdl as part of the std lib, so i'm starting there 10:50:41 i really want to do an assembly implementation that uses the SSE registers for the stack but I don't have time right now :) 10:52:40 i'm about to write a hand-coded binary with a hex editor to draw a pixel... i'm hoping to just name it retroImage and run it against one of the existing implementations. Wish me luck. :) 12:41:22 any luck? 13:24:34 not yet... i have a pixel now though.. where did the see word go? i've been using the chrome plugin.. i see now that's at v11.0 13:27:47 see is now in the autopsy application: include examples/autopsy.rx 13:28:09 http://rx-core.org/demo would be more up to date than the chrome app/extension 13:29:19 thanks! 14:58:38 : redcircle 4 1 6 out ( red: send 1 to port 6 ) 250 250 20 7 6 out ( circle: send 7 to port 6 ) ; ( totally expect this to produce a red circle, but it doesn't... ) 15:13:34 1) you need to add wait after each out 15:14:43 hmm, solid circles work, but not hollow ones 15:15:24 ahh, they don't show up well against black background 15:17:36 : backdrop 0 0 ^canvas'dimensions ^canvas'solid ^canvas'white ^canvas'box ; 15:17:36 : redcircle backdrop 4 1 6 out wait 250 250 20 7 6 out wait ; 15:22:26 that could definitely be it :).. trying 15:25:07 that did the trick! :) 15:29:44 good 15:30:04 I'll look into drawing on the black default backdrop 16:00:00 the main problem was the wait i think... i'm going to make an sdl canvas, i'm just testing that my code is correct 16:00:08 so now i'm hand 16:01:51 er hand-coding the numbers in retroImage.js... i can see it's pushing and popping and i set up an infinite loop.... it's taking the messages i send with out off the stack, but not the parameters 16:02:39 https://gist.github.com/d9a7f2d0a8e92f0c531a 16:03:15 i'm thinking the out primitive isn't working exactly like the threaded code "out" 16:05:53 hrm... no... handleDevices() is stalling because ports[0] isn't 0... it's my own bug 16:59:24 @crc: is the javascript implementation the only one with a canvas? 17:05:50 --- quit: karswell (Read error: Connection reset by peer) 17:09:05 --- join: erider (~chatzilla@unaffiliated/erider) joined #retro 17:09:28 hi all 17:11:07 --- join: karswell (~coat@93-97-29-243.zone5.bethere.co.uk) joined #retro 17:12:10 hello 17:16:54 hi sabren 18:03:54 --- quit: erider (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713224758]) 18:04:44 sabren: vm/experimental/sdl has canvas support too 18:06:47 @crc ... thanks, yeah.. i found it and dug through the code..will probably use it as a guide for the pascal one 18:11:55 I gave up on getting js vm to like my code. Everything seems to work except the wait instruction never toggles the ports[ 0 ] flag. But it's cool. I got a good handle on the design from all my debugging. :) Am moving on to pascal. 18:14:37 ok 18:29:49 --- quit: Kumul (Quit: gone) 20:16:36 --- join: arescorpio (~arescorpi@222-206-17-190.fibertel.com.ar) joined #retro 20:56:11 --- join: jyfl987 (~jyf@unaffiliated/yunfan) joined #retro 21:51:57 --- quit: arescorpio (Quit: Leaving.) 23:59:59 --- log: ended retro/12.08.02