00:00:00 --- log: started retro/12.12.17 00:25:23 --- join: yiyus (1242712427@server1.bouncer4you.de) joined #retro 04:22:57 --- join: beretta (~beretta@cpe-107-8-120-84.columbus.res.rr.com) joined #retro 07:12:43 --- nick: tangentsleep -> tangentstorm 08:01:50 --- quit: beretta (Ping timeout: 255 seconds) 08:11:19 --- join: beretta (~beretta@cpe-107-8-120-84.columbus.res.rr.com) joined #retro 09:17:21 tangentstorm: I'm using "quotes" in my forth now. :) 09:19:30 :)ÆÆ 09:19:32 :) 09:25:38 --- join: intothev01d (~intothev0@unaffiliated/intothev01d) joined #retro 09:40:54 --- quit: beretta (Ping timeout: 248 seconds) 09:55:13 --- join: beretta (~beretta@cpe-107-8-120-84.columbus.res.rr.com) joined #retro 09:56:28 tangentstorm: how is the game development going? 09:58:23 games? is there a link yet? 09:59:03 well... we hit a wall yesterday and basically spent most of the day trying to fix a bug just getting pixels on the screen 09:59:19 :( 10:00:50 it was some problem with sdl + win32 + freepascal's sdl-wrappers... things were working great for mat2 on linux but had completely different behavior for me and carefish on windows 10:01:45 so i started working through the docs/tutorials for http://zengl.org/ 10:01:55 i've got a little sprite on the screen 10:02:27 i figured i'd make some kind of trivial arcade game in pascal and then start exposing it to ngaro/retro as a device 10:03:09 http://imgur.com/7HBpi 10:04:00 the code for both efforts is here : https://github.com/goldsmile/ 10:04:35 rpld25 and zgld25 10:05:28 nice... I like the 3D'ish 2-D googly monster. Is he here to invade from space ? 10:05:31 :) 10:06:03 on the plus side, intothev01d did some work on the js vm... he's started exposing it to node.js so we'll be able to run it from the command line ( and run the tests ) 10:06:22 that'll be handy :) 10:06:33 beretta: yeah.. it was for ludum dare... you have to use their theme, and the theme was "you are the villain" 10:07:05 the alien is one i made for this game : http://www.gamesketchlib.org/ 10:07:23 tangentstorm, speak of that, I got your email. I updated it now and it's working. I get the result of the content of the image now, but the address and data seem to just contain zeros. I may have to make them objects like I did with the image maybe? but they are all printing now. I'll push the latest updates 10:07:29 speaking not speak* 10:07:40 cool :) 10:08:17 intothev01d: well, swap out the newlines for group separators and the pipe characters for record separators, and you should be able to run the tests now 10:08:36 they'll probably all fail :) 10:09:15 group and record separators? 10:09:18 oh ok 10:09:40 one of these days i'm going to have to write a tutorial introducing people to the ascii character set :) 10:11:27 http://en.wikipedia.org/wiki/Delimiter#ASCII_delimited_text 10:12:35 ah 10:14:38 well using ^^ in the join method literally gives me just a ^^ in between each int now instead of having the | pipe 10:15:03 would i have to give it a hex value for the ascii code or something? 10:15:09 probably 10:15:14 http://en.wikipedia.org/wiki/Record_separator#Field_separators 10:15:15 ^A is a pascal thing 10:15:36 the python version of dump will show the numbers 10:16:03 also they're listed in the start of the tests themselves in the docstring at the start ( ngarotests.py ) 10:18:11 yea, fsep and gsep lol 10:18:30 well chr( 28 and 29) 10:28:22 tangentstorm, ok here's the most up to date version https://github.com/intothev01d/ngaro-js/blob/master/src/retro.js 10:36:11 ok. let's see what the tests say then :) 10:39:10 ran 32, 30 failed 10:39:34 hmm. well does that mean it works or no? 10:39:44 or at least the interface part I wrote, is that ok? 10:39:58 ValueError: need more than 1 value to unpack on data, addr, ram = dump.split( GSEP ) 10:40:25 ? 10:40:38 oh you just need to replace console.log with whatever didn't print the newlines 10:41:05 ah 10:41:11 lunch bb in a few 10:41:28 my docstring is bad 10:41:29 whoops 10:41:31 seeya 10:43:45 oh no it isn't. the file separator is there to separate retro's actual output from the test results 10:44:03 the group separator separates the three arrays 10:44:19 and i just used spaces to separate the numbers since they're all integers 10:56:10 I found a compiler for a language called 'odd' (written in haskell) which targets ngaro: https://github.com/0x2493/odd/ 10:57:05 huh! 10:59:08 looks pretty forthy itself 11:00:10 how to run the ngaro-js code? 11:01:36 you can run it with 'node retro.js --image ~/path/to/image --dump' will output the results. I need to modify the separators again though, don't think I have them correct 11:02:16 crc : there's no console io device implemented yet though. it still only runs in a browser 11:02:46 oh but the javascript console is there 11:03:01 both the old one an the new one.. but i broke some of the opcodes 11:03:07 tangentstorm, so i just need to join the array with a space, then use the group separator in between the arrays right? 11:03:31 intothev01d: yes, 11:03:34 and remove the newlines 11:03:41 and put the file separator before the first one 11:04:01 actually i don't think the newlines hurt anything 11:06:58 alright. it's all up to date then https://github.com/intothev01d/ngaro-js/blob/master/src/retro.js 11:12:15 hmm 11:12:33 30 failures but at least now it's parsing the arrays 11:14:19 yep. i would say that i introduced a few bugs :) 11:14:59 oh! 11:15:06 data, address, then ram 11:16:03 the way order I print in dump is image, address, data 11:16:25 yeah... the tests expect them in the other order. 11:16:42 ok 11:20:04 still 30 failures if i re-arrange them though 11:20:37 which ones are passing? 11:21:07 i don't know. but my guess would be two self-checks :) 11:21:48 probably the two tests for the assembler 11:22:12 yep 11:24:42 the data stack is just a bunch of zeros for some reason 11:26:46 well i guess since the dump is outputting data, even if it is all zeros, that it is getting that data. otherwise it wouldn't print anything correct? 11:27:19 yep 11:27:46 both the stacks are huge and just zero 11:27:49 zeros 11:28:03 but the image itself appears to be correct 11:29:44 aha 11:30:03 the stack type doesn't actually shrink the arrays 11:30:18 it just decrements the stack pointer 11:31:08 that explains why there are so many entries 11:31:16 but it doesn't explain why they're all zero 11:33:41 *that* is because cycles is declared but never assigned, so it's treated as 0 and nothing is actually running 11:34:05 on the web page, something is run to assign cycles at runtime in onLoad or whatever 11:34:15 ah 12:02:45 tangentstorm, i think i'm going to delete the learnprogramming branch of melonjs if no one is planning on modifying it and pushing back to that project 12:07:03 i was actually sort of eying it for the js version of this sprite engine for retro 12:07:12 but go ahead and delete it 12:08:21 yea I was just thinking of removing it from lpmc since we aren't actively contributing to the project, just using it sometimes for games, which we can just link the repo or whatever when we need to. the other projects are ones people will actually push code to I think 12:27:34 fair enough 12:30:35 do you want me to send a pr to ngaro-js now for the updates? 12:31:18 sure 12:32:08 thanks for doing all that. i definitely appreciate it. :) 12:32:56 np 13:17:10 --- join: kumul (~kumul@adsl-207-204-177-144.prtc.net) joined #retro 14:26:46 --- join: Mat2 (~Claude@91-65-144-133-dynip.superkabel.de) joined #retro 14:26:50 hello 14:29:51 --- join: erider (~chatzilla@unaffiliated/erider) joined #retro 14:30:31 hi all 14:30:58 hi erider 14:31:08 hi Mat2 14:31:33 busy in here for the last few days :-) 14:31:43 yes 14:32:52 good times 14:33:15 I had hacked some buggy SDL versions for Windows yesterday 14:33:56 just to realize that 8 bit modes are not really supported :( 14:34:32 :-) 14:35:15 so I've rewritten my whole video display code for true-colour modes 14:35:36 yeah that is been out for awhile now, they are just simulating that env 14:36:21 Mat2: should I try again then? 14:37:39 I'm not finished yet but the display is correct even with this direct-painX backend (Windows) 14:38:10 had need rewriten most code from scratch :( 14:38:38 I upload he code tomorrow after work 14:39:25 the bitmap routine as layer is not finished 14:39:39 and I need now 4x of mem 14:40:39 but I would be happy if you can try it out then because for finding bugs left 14:41:17 and the conclusion from this mess is: SDL sucks 14:42:35 (not I'm a but frustrated...) 14:42:42 sorry bit 14:45:49 what's about your ZenGL suff ? 14:51:29 --- join: ncv (~quassel@unaffiliated/neceve) joined #retro 14:55:57 ciao 14:55:59 --- quit: Mat2 (Quit: Verlassend) 15:05:00 how's the ld25 going ? 15:51:36 --- quit: docl (Ping timeout: 265 seconds) 16:24:41 well the deadline is in 1h, 38 minutes... that's not going to happen. But I'm happy with the progress we made, and I'm still going to ship some kind of game in the next day or two. :) 16:30:58 tangentstorm: this game was for sale? 16:46:08 no 16:46:24 it was for ludum dare :) 16:46:31 http://ludumdare.com/ 16:49:51 ah I see 16:50:18 so you entered a game to the competition? 16:53:58 no, i wasn't able to finish one on time, but i'm still working on it 16:54:16 the plan is to make it scriptable in retro 16:54:22 tangentstorm: was it a web game 16:54:35 not yet, no 16:54:42 it's written in pascal 16:54:42 ah ok 16:54:59 * erider figured that 16:55:42 tangentstorm: have you seen "triangle" 16:55:43 but the idea is to work out a simple sprite engine that can work on the web in javascript in addition to native code 16:56:12 erider: the movie? nope. 16:56:41 that would be fun with html5 and no it is pascal but a simple version 16:57:35 oh, no i haven't seen that 16:57:44 ah ok 16:58:07 do you have a link? i'm not seeing it 16:59:00 http://www.dcs.gla.ac.uk/~daw/books/PLPJ/software.html 16:59:42 http://fmt.cs.utwente.nl/courses/vertalerbouw/triangle.html 17:04:38 huh. hard to get a good idea of the language without the book... but yeah, my plan is to eventually have a small-pascal like language that's extensible in both directions (extending the syntax or delving down into the virtual machine through forth or even assembly) 17:05:52 --- quit: ncv (Remote host closed the connection) 17:07:08 tangentstorm: the ebnf is on line detailing the language 17:09:26 have you used it before? i'm mostly looking to follow the example of oberon-07, but extensible 17:23:38 I have not 17:23:41 sorry 17:24:22 I just remember seeing it somewhere and I thought about you since you use a lot of pascal 17:33:59 oh, well then thanks! :) 17:36:07 tangentstorm: what do you want to know 17:36:32 how to execute code or an example 17:55:54 caio talk to you guys later 17:56:02 --- quit: erider (Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121129162756]) 19:09:09 --- join: intothev01d_m (~intothev0@8.27.217.75) joined #retro 21:28:30 --- quit: intothev01d_m (Quit: intothev01d_m) 21:31:22 --- quit: intothev01d (Quit: intothev01d) 22:01:15 --- quit: kumul (Quit: WeeChat 0.3.9.2) 23:59:59 --- log: ended retro/12.12.17