00:00:00 --- log: started retro/06.07.16 00:48:25 --- part: Cheery left #retro 00:50:43 --- join: Cheery (n=Cheery@a81-197-20-242.elisa-laajakaista.fi) joined #retro 01:26:23 http://retroforth.net/paste/?id=37 01:29:43 now moves are taken from the stack. 01:37:46 adding depth and putting the depth and mv in a loop will facilitate taking any number of moves at ones. 01:37:50 once even. 01:39:12 hehe this would be fun... 01:40:22 since import can automatically load the stack with the save file the thing to do each move is... 01:41:07 1 import the save file to the stack 01:41:15 2 add the current move to the stack. 01:42:48 get the depth and edit block 0 and add each move at the current depth into the editor block then save and import again and the moves will be swaped on the stack, then execute all the moves in a depth loop with mv and edit the block file with each mv and then save again. 01:43:28 this will swap the save file again and include the current move. 02:58:54 http://retroforth.net/paste/?id=38 last changes before bed. 04:06:27 --- join: hrmpf (n=obi@gw.mastmoen.no) joined #retro 09:30:37 good afternoon 09:30:47 Raystm2: your changes are looking good 09:37:32 hi crc 09:37:47 brb 09:37:48 --- part: crc left #retro 09:40:36 --- quit: Cheery (Read error: 104 (Connection reset by peer)) 09:41:49 --- join: Cheery (n=Cheery@a81-197-20-242.elisa-laajakaista.fi) joined #retro 10:10:14 --- join: crc (n=crc@pool-70-16-148-97.phil.east.verizon.net) joined #retro 10:10:26 --- mode: ChanServ set +o crc 10:21:09 --- join: nighty (n=nighty@bas5-toronto12-1167889827.dsl.bell.ca) joined #retro 10:28:23 --- quit: nighty (Read error: 104 (Connection reset by peer)) 10:32:02 --- join: nighty (n=nighty@bas5-toronto12-1167889827.dsl.bell.ca) joined #retro 11:04:57 --- quit: nighty (Read error: 104 (Connection reset by peer)) 11:11:56 --- join: nighty (n=nighty@bas5-toronto12-1167889827.dsl.bell.ca) joined #retro 11:27:39 --- quit: nighty (Read error: 104 (Connection reset by peer)) 11:31:49 --- join: nighty (n=nighty@bas5-toronto12-1167889827.dsl.bell.ca) joined #retro 12:05:10 --- quit: nighty (Read error: 104 (Connection reset by peer)) 12:11:42 --- join: nighty (n=nighty@bas5-toronto12-1167889827.dsl.bell.ca) joined #retro 12:28:14 --- quit: nighty (Read error: 104 (Connection reset by peer)) 12:31:32 --- join: nighty (n=nighty@bas5-toronto12-1167889827.dsl.bell.ca) joined #retro 12:53:45 --- quit: Shain (Remote closed the connection) 12:54:50 --- join: Shain (i=steve@c-67-161-56-76.hsd1.ca.comcast.net) joined #retro 13:03:57 --- quit: nighty (Read error: 104 (Connection reset by peer)) 13:11:29 --- join: nighty (n=nighty@bas5-toronto12-1167889827.dsl.bell.ca) joined #retro 13:20:44 yeah, that chess program works good. 13:29:19 --- quit: nighty (Connection reset by peer) 13:29:36 --- join: sproingie (n=chuck@64-121-2-59.c3-0.sfrn-ubr8.sfrn.ca.cable.rcn.com) joined #retro 13:31:30 --- join: nighty (n=nighty@bas5-toronto12-1167889827.dsl.bell.ca) joined #retro 13:44:11 --- quit: nighty (Connection reset by peer) 13:44:27 crc 13:44:50 Do you have some code for multiple threads and tasked environment? 13:45:10 shared memory model is not necessary. 13:45:17 --- join: nighty (n=nighty@bas5-toronto12-1167889827.dsl.bell.ca) joined #retro 13:45:59 But just code what allows that. 13:46:07 in linux this time 13:50:53 --- quit: sproingie ("Ex-Chat") 14:00:55 --- quit: Cheery ("Download Gaim: http://gaim.sourceforge.net/") 14:03:56 --- quit: nighty (Read error: 104 (Connection reset by peer)) 14:11:20 --- join: nighty (n=nighty@bas5-toronto12-1167889827.dsl.bell.ca) joined #retro 14:29:03 --- quit: nighty (Read error: 104 (Connection reset by peer)) 14:31:07 --- join: nighty (n=nighty@bas5-toronto12-1167889827.dsl.bell.ca) joined #retro 14:46:29 * Raystm2 woke up and has been watching movies from the 30's. 14:56:26 --- quit: Shain (Remote closed the connection) 15:06:57 --- quit: hrmpf ("whatever u do, do it right!") 15:12:46 --- join: Shain (i=steve@c-67-161-56-76.hsd1.ca.comcast.net) joined #retro 15:13:31 * Raystm2 is starting to enjoy the automatic @ and ! free-ture. 15:29:34 Raystm2: :) 15:53:27 http://retroforth.net/paste/?id=39 take any number of moves on the stack. 15:56:09 yikes that is totaly not going to work :( 15:56:21 I mean it works but the entries are backwards :) 15:56:56 * Raystm2 will have to make a buffer to swap the moves on the stack to the right order. 15:57:51 could push them all to the return stack ... 15:58:01 and pop 'em back off... 16:00:19 * crc is trying to make multiple threads work.... 16:00:35 --- quit: nighty (Read error: 110 (Connection timed out)) 16:01:08 * virl would be really interested in writing some programs with retro threads 16:02:01 I mean imagine a X app with threads! that would be very cool 16:02:10 multiple threads sound cool. 16:04:19 * virl sings: 'the possibility for a retro game with sound and graphics come in a catchable range. uhuhu' 16:04:22 I can set them up, on a very basic level using clone(), but I have no way to control them once created 16:13:22 http://retroforth.net/paste/?id=41 16:13:28 ~t0 >thread 16:13:37 will create a thread for t0 16:13:58 if it does I/O, it will have an impact on the normal retro session 16:14:49 (requires the rf-generic to work) 16:16:50 Raystm2: would 'pick' help you implement the chess game? 16:27:27 pick is extremely simple with rev defined 16:27:32 : pick >r r rev r> swap >r 1- rev r> ; 16:27:46 : pick [ $86048b 3, ] ; 16:27:55 wow, neat! 16:28:13 this is hidden away in .s (modules/retro) 16:33:37 is there an inline function defined? 16:35:27 no, just the machine code snippet 16:40:24 seems like that would be a fun feature. I can't think of why one would need it though, except for optimization purposes. 16:52:30 * crc dislikes pick... 16:52:55 I try to avoid inlining machine code outside of macros and the primitive words 17:07:18 * docl didn't realise pick left the pick'd element in it's original spot as well as copying it. 17:08:32 more like nip/tuck than rot/-rot 17:09:18 * docl needs to revisit the old forth tutorial 17:12:55 the word that would move a number to TOS is 'roll' 17:13:38 ahh, ok. how do you bury an element n deep then? 17:14:04 I have no clue 17:14:37 I almost never need to work with more than 3 or 4 elements at a time 17:48:10 --- join: nighty (n=nighty@HSE-Montreal-ppp143039.sympatico.ca) joined #retro 18:02:06 --- quit: nighty (Read error: 104 (Connection reset by peer)) 18:08:30 --- join: nighty (n=nighty@HSE-Montreal-ppp143039.sympatico.ca) joined #retro 18:11:49 : bury dup here ! over here cell+ ! for r> swap >r >r next here cell+ @ here @ for r> r> swap >r next ; 18:15:18 or... : bury dup 1- for >r r roll r> next drop ; 18:17:11 of course, only a newbie would actually use it :P 18:19:30 --- quit: Shain (Remote closed the connection) 18:22:21 --- join: Shain (i=steve@c-67-161-56-76.hsd1.ca.comcast.net) joined #retro 18:41:01 --- quit: nighty (Read error: 104 (Connection reset by peer)) 18:48:25 --- join: nighty (n=nighty@HSE-Montreal-ppp143039.sympatico.ca) joined #retro 18:53:57 docl: yeah, and you're not a newbie 19:01:48 --- quit: nighty (Read error: 104 (Connection reset by peer)) 19:06:54 --- quit: virl (Remote closed the connection) 19:09:37 --- quit: Shain (Remote closed the connection) 19:10:09 --- join: Shain (i=steve@c-67-161-56-76.hsd1.ca.comcast.net) joined #retro 19:13:47 pick is definately a quick and dirty fix. 19:15:10 http://retroforth.net/paste/?id=43 version with pick in mvs 19:30:11 --- join: snoopy_1711 (i=snoopy_1@dslb-084-058-135-019.pools.arcor-ip.net) joined #retro 19:32:01 --- quit: Snoopy42 (Nick collision from services.) 19:32:39 --- nick: snoopy_1711 -> Snoopy42 19:52:56 http://retroforth.net/paste/?id=44 pick and a more square board. 19:59:24 http://retroforth.net/paste/?id=45 returns base to decimal on exit. 20:12:21 http://retroforth.net/paste/?id=46 stores text strings permanently as anonymous xt's on the stack 20:16:26 futhin: thanks for saying so! 21:11:22 Raystm2: looks good 22:23:46 --- join: neceve (n=claudiu@unaffiliated/neceve) joined #retro 23:59:59 --- log: ended retro/06.07.16