00:00:00 --- log: started retro/09.02.01 01:58:39 --- join: crc (n=charlesc@c-68-80-139-0.hsd1.pa.comcast.net) joined #retro 02:59:23 --- quit: crc () 03:50:04 --- quit: nighty^ ("Disappears in a puff of smoke") 03:59:52 --- join: nighty^ (n=nighty@x122091.ppp.asahi-net.or.jp) joined #retro 07:32:44 --- join: crc (n=charlesc@c-68-80-139-0.hsd1.pa.comcast.net) joined #retro 08:48:25 --- part: nighty^ left #retro 12:43:09 --- join: nigol (n=nigol@gprs4.vodafone.cz) joined #retro 12:43:37 --- quit: nigol (Client Quit) 15:38:18 --- join: nighty__ (n=nighty@210.188.173.245) joined #retro 16:53:41 --- join: dpeschel (n=dpeschel@63-231-49-187.tukw.qwest.net) joined #retro 16:53:58 Hello crc 17:51:00 hi dpeschel 18:06:42 --- join: dpeschel_ (n=dpeschel@65-101-140-190.tukw.qwest.net) joined #retro 18:09:42 --- quit: dpeschel (Read error: 60 (Operation timed out)) 18:31:21 n 18:45:03 n? 18:54:39 oops, a typo 18:54:41 glad you're here 18:55:19 (well, were here when you typed that...) 19:04:00 did you get my e-mail? 19:04:41 I recieved one message yesterday; I replied to it a while ago 19:11:28 oh, interesting... 19:11:33 I haven't checked the Google group lately 19:11:41 let me check my e-mail again 19:11:54 I get the google group messages via email 19:13:16 good to know 19:13:29 now I see you referred to a personal messaage to me... 19:13:32 which I finally read just now 19:13:59 and I need to try your patch 19:14:40 though I wanted to talk to ask about larger issues, namely... 19:14:59 deciding on a more detailed spec for how the VMs should do I/O 19:15:05 and making them all work the same 19:15:12 if that's important to you 19:23:30 more detailed specs would be good 19:25:17 OK, but how big of a problem is backward compatibility? 19:25:28 or having some way for Retro programs to detect VM capabilities w/ version #s? 19:25:46 it depends how many Retro programs there are 19:26:05 there's not many as far as I know 19:28:03 I have a moderate amount, but nothing I can't rebuild. 19:28:20 does anyone else have any? 19:28:32 not that I'm aware of 19:28:50 Mat may have some, but he's also working with an extended vm implementation already 19:29:54 OK, that makes things much easier 19:31:16 now do you favor using ports or emitting characters as a way to change colors? 19:31:25 ports 19:32:21 are strings made up of 8-bit or 32-bit characters? 19:32:29 32-bit characters 19:32:44 but do any VMs really allow Unicode? maybe in the Java or JavaScript ones 19:32:45 the current vm only allows for 32-bit memory cells 19:32:52 at present, no 19:33:06 what happens if you type Unicode into the Java VM? 19:33:10 No idea 19:33:44 all right, then I'll concentrate on a design with only 256 chars. 19:34:08 of course Unicode has ISO-8859-1 as a subset, but the encoding is not the same 19:34:19 but I mean I'll just work with some variant of ISO-8859-1 directly 19:35:04 just a sec 19:36:48 have you thought about adding some way for programs to detect VM changes? 19:37:23 not yet 19:37:29 like more capabilities you can get through port 5 19:37:36 I'd planned to use the capabilities port to check for future additions 19:37:44 hmm, interesting 19:38:03 but the more changes are made, and the more programs are written, the less it helps to add detection 19:38:06 but since I haven't built an extended vm yet, the core image doesn't check anything other than presence of framebuffer and memory size 19:39:24 does SDL do alpha blending? I want to change the text color... 19:39:32 but I noticed that the font is antialiased 19:39:46 so you can't just change white to another color 19:43:47 I don't believe so 19:45:35 actually, there is an SDL_SetAlpha function (http://www.libsdl.org/cgi/docwiki.cgi/SDL_SetAlpha), but I haven't used it 19:46:58 do you have an "aliased" (two-color) version of the font? 19:47:01 also more characters 19:47:09 160-255 for example 19:47:11 nope 19:47:26 I seldom use the framebuffer vm now 19:48:00 you use the curses one then? 19:48:25 that, and the javascript implementation 19:51:53 I like the idea of seeing results after you hit space, 19:52:00 since it matches the Retro execution mechanism 19:52:19 but it means you can't paste a series of definitions separated by return 19:52:36 and I'm also not sure whether "ok" or any other messages should insert return 19:52:46 have you thought about those issues? 19:56:17 return and/or tab can be handled by altering (remap-keys), which is why I added that in the first place 19:56:47 as for ok and other messages, they are bits I've grown used to from my past work on retro 19:57:39 the 'ok' can be disabled easily enough: here ] ; is ok 19:58:13 interesting points, but I was asking about the UI design 19:58:28 that's ideal, not how to implement various designs 19:58:51 wouldn't (remap-keys) remap every press of return/tab even if it was in a string? 19:58:58 yes 19:59:01 I thought of using (remap-keys) but decided to write word-accept instead 20:00:26 getting to another question on my list... 20:00:38 can I write a macro in toka color: x 20:00:54 that transforms into char: x # color 20:01:19 maybe by writing the macro in retro.forth after color is defined? 20:02:18 on the other hand, I don't need the letter format for colors once real colors are working 20:02:46 that should be doable: 20:03:02 [ ` char: invoke # color ] is color: 20:03:05 or something similar 20:04:02 interesting, I had tried 20:04:30 expanding the definition of char:, like this: 20:04:39 [ wsparse c@ >char compiler @ [ # newcolor # !, ] ifTrue ] is-macro color: 20:04:41 but it won't assemble 20:04:44 in fact it crashes toka 20:11:05 hold on... 20:12:24 [ 1 , ` char: invoke , ` color invoke ] is color: 20:12:36 assuming that 'color' is a retro word 20:18:53 does this mean your first version won't work? 20:19:33 hold on again... 20:19:53 [ ` char: invoke # ` color invoke ] is color: 20:20:15 you'd have to use ` and invoke on the forth word, but it work if you did this 20:21:00 actually I'm wrong... 20:21:07 the first example would work 20:21:24 * crc hasn't done work on extending the cross-compiler in quite a while :( 20:24:39 and is the only one who really knows how it works 20:26:45 about UIs, I downloaded Retro 6.8 for Windows and played with the editor 20:27:37 and saw some similarities with 10 and some differences 20:27:50 maybe some features disappearing as Retro is developed, as well as appearing 20:28:20 but has it had a much fancier UI in the past, or just the interpreter loop and the editor? 20:34:07 with the interpreter loop being a pretty bare-bones typewriter interface 20:40:10 the interpreter loop has always been fairly minimal 20:40:45 each version tends to change things a lot 20:42:10 I don't recall 6.8 ever running on windows 20:43:42 you're right, it was a different version that I downloaded 20:43:47 maybe 8.2.5 20:44:09 I got 6.3 (not 6.8) to see if it contained the manual you were writing 20:45:11 I mean the internals manual, which I see references to but no copies of 20:46:32 perhaps this? http://retroforth.net/doc/RxBook.pdf 20:46:48 it was the documentation for the core of retro 9.x 20:49:13 it doesn't apply to the 10.x code though 20:53:05 http://retroforth.net/board/index.php?topic=53.0 20:53:11 is what I was chasing 20:53:22 probably even more out of date than yours 20:54:49 now I remember... I wanted to see if there were any SDL-specific words in the past 20:56:47 none that I recall 20:57:26 some early 6.x releases had a framebuffer using svgalib and/or sdl, but there was only minimal words provided for this 20:57:43 OK, I won't worry about it 20:57:43 I *think* that there was a clipping function, to limit the drawing area 20:57:50 but nothing significant 20:58:01 yeah, it sounds like that's the case 20:58:11 I forgot to ask what OS you run the curses VM on 20:58:44 OS X mostly, also Linux (my server boxes), and Windows (at work) 21:00:02 because on OS X, curses lets the real TTY driver interpret a few control characters 21:00:05 like ^V for literal next 21:00:32 and I believe the incantations to fix that are not portable 21:08:18 * crc needs to get some sleep; 5 hours till I have to get ready for work.... 21:08:41 it's been good talking with you; I'll try to be back here tomorrow evening 21:14:04 thanks for your time, sleep well, I'll do my best to be on tomorrow 21:26:05 --- quit: dpeschel_ ("leaving") 22:07:58 --- quit: crc () 23:59:59 --- log: ended retro/09.02.01