00:00:00 --- log: started forth/14.01.24 00:35:21 --- quit: john_metcalf (Ping timeout: 264 seconds) 00:56:08 --- quit: mnemnion (Remote host closed the connection) 01:21:34 --- join: john_metcalf (~john_metc@87.115.158.25) joined #forth 01:24:20 --- join: true-grue (~quassel@128-69-88-243.broadband.corbina.ru) joined #forth 02:33:56 --- quit: kludge` (Ping timeout: 252 seconds) 02:34:59 --- join: nighty^ (~nighty@lns-bzn-49f-62-147-170-46.adsl.proxad.net) joined #forth 02:36:36 --- join: kludge` (~comet@unaffiliated/espiral) joined #forth 02:56:27 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 03:01:00 --- quit: mnemnion (Ping timeout: 240 seconds) 03:26:12 --- join: asie (~textual@078088168214.elblag.vectranet.pl) joined #forth 03:45:15 --- quit: rprimus (Ping timeout: 272 seconds) 03:45:32 --- join: rprimus (~micro@ec2-50-16-189-142.compute-1.amazonaws.com) joined #forth 03:45:56 --- nick: rprimus -> Guest25027 03:46:04 --- quit: c00kiemon5ter (Ping timeout: 252 seconds) 03:49:12 --- join: c00kiemon5ter (~c00kiemon@foss-aueb/coder/c00kiemon5ter) joined #forth 04:00:23 --- join: Zarutian (~zarutian@194-144-84-110.du.xdsl.is) joined #forth 04:02:04 --- quit: c00kiemon5ter (Ping timeout: 245 seconds) 04:07:26 --- join: c00kiemon5ter (~c00kiemon@foss-aueb/coder/c00kiemon5ter) joined #forth 04:39:34 --- quit: c00kiemon5ter (Ping timeout: 264 seconds) 04:41:03 --- join: c00kiemon5ter (~c00kiemon@foss-aueb/coder/c00kiemon5ter) joined #forth 04:43:56 --- join: protist (~protist@73.224.69.111.dynamic.snap.net.nz) joined #forth 04:45:32 --- quit: tangentstorm (Quit: bbl) 04:54:23 --- quit: asie (Quit: I'll probably come back in either 20 minutes or 8 hours.) 04:56:49 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 05:00:00 --- quit: c00kiemon5ter (Ping timeout: 245 seconds) 05:00:52 --- join: c00kiemon5ter (~c00kiemon@foss-aueb/coder/c00kiemon5ter) joined #forth 05:01:07 --- quit: mnemnion (Ping timeout: 245 seconds) 05:23:27 --- quit: c00kiemon5ter (Ping timeout: 265 seconds) 05:25:29 --- join: c00kiemon5ter (~c00kiemon@foss-aueb/coder/c00kiemon5ter) joined #forth 05:27:36 --- join: asie (~textual@078088168214.elblag.vectranet.pl) joined #forth 05:42:05 --- quit: john_metcalf (Read error: Connection reset by peer) 05:42:11 --- join: impomatic (~john_metc@87.115.158.25) joined #forth 05:43:54 --- quit: regreg (Read error: Connection reset by peer) 05:44:33 --- join: regreg (~regreg@77.81.151.155) joined #forth 05:45:00 --- quit: yunfan (Ping timeout: 245 seconds) 05:45:17 --- join: yunfan (~root@unaffiliated/yunfan) joined #forth 05:45:24 --- quit: dzho (Ping timeout: 246 seconds) 05:46:11 --- quit: Backer (Ping timeout: 264 seconds) 05:46:25 --- quit: Anarch (Ping timeout: 246 seconds) 05:46:28 --- join: Backer (~backer@208.120.141.45) joined #forth 05:47:00 --- join: dzho (~deejoe@quercus.etrumeus.com) joined #forth 05:47:07 --- join: Anarch (~olaf@c-67-183-64-49.hsd1.wa.comcast.net) joined #forth 05:47:50 --- quit: nighty^ (Remote host closed the connection) 05:49:38 --- join: nighty^ (~nighty@lns-bzn-49f-62-147-170-46.adsl.proxad.net) joined #forth 05:59:30 --- join: pvt_petey (~pvt_petey@82-69-79-20.dsl.in-addr.zen.co.uk) joined #forth 06:01:37 --- quit: Zarutian (Quit: Zarutian) 06:04:08 --- join: beretta (~beretta@74.135.127.101) joined #forth 06:27:39 --- join: itsy (~digital_w@87.115.158.25) joined #forth 07:12:38 --- quit: bjorkintosh (Ping timeout: 252 seconds) 07:28:22 --- join: aranhoide (~aranhoide@242.Red-79-157-101.dynamicIP.rima-tde.net) joined #forth 07:39:12 --- quit: protist (Quit: Konversation terminated!) 07:43:35 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 07:46:35 --- quit: beretta (Ping timeout: 272 seconds) 07:52:00 --- quit: asie (Read error: Connection reset by peer) 07:52:33 --- join: asie (~textual@078088168214.elblag.vectranet.pl) joined #forth 08:13:09 --- quit: aranhoide (Ping timeout: 252 seconds) 08:14:32 --- quit: regreg (Ping timeout: 240 seconds) 08:41:06 --- join: aranhoide (~aranhoide@242.Red-79-157-101.dynamicIP.rima-tde.net) joined #forth 08:50:11 --- quit: Backer (Ping timeout: 252 seconds) 08:53:04 --- join: Backer (~backer@user-387h39d.cable.mindspring.com) joined #forth 08:53:23 --- join: kumul (~mool@adsl-64-237-226-183.prtc.net) joined #forth 08:57:46 --- quit: Backer (Ping timeout: 265 seconds) 09:09:54 --- join: Backer (~backer@user-387h39d.cable.mindspring.com) joined #forth 09:24:48 --- join: ncv (~quassel@79.118.10.250) joined #forth 09:24:48 --- quit: ncv (Changing host) 09:24:48 --- join: ncv (~quassel@unaffiliated/neceve) joined #forth 09:57:16 --- join: Zarutian (~zarutian@194-144-84-110.du.xdsl.is) joined #forth 10:07:51 --- quit: aranhoide (Ping timeout: 265 seconds) 10:14:35 --- join: true-grue_ (~quassel@95-25-55-77.broadband.corbina.ru) joined #forth 10:16:34 --- quit: true-grue (Ping timeout: 245 seconds) 10:16:37 --- quit: asie (Quit: I'll probably come back in either 20 minutes or 8 hours.) 10:17:10 --- join: joneshf-laptop (~joneshf@c-98-208-36-36.hsd1.ca.comcast.net) joined #forth 10:29:43 --- join: asie (~textual@078088168214.elblag.vectranet.pl) joined #forth 10:30:50 --- join: bjorkintosh (~bjork@ip68-13-229-200.ok.ok.cox.net) joined #forth 10:41:24 --- join: aranhoide (~aranhoide@242.Red-79-157-101.dynamicIP.rima-tde.net) joined #forth 10:49:40 --- quit: aranhoide (Ping timeout: 248 seconds) 11:19:44 --- join: true-grue (~quassel@128-69-176-107.broadband.corbina.ru) joined #forth 11:21:59 --- quit: true-grue_ (Ping timeout: 245 seconds) 11:23:10 --- join: true-grue_ (~quassel@95-24-200-201.broadband.corbina.ru) joined #forth 11:25:43 --- quit: true-grue (Ping timeout: 252 seconds) 11:32:49 --- quit: joneshf-laptop (Ping timeout: 245 seconds) 11:46:14 --- join: joneshf-laptop (~joneshf@c-98-208-36-36.hsd1.ca.comcast.net) joined #forth 12:14:56 --- quit: nighty^ (Read error: Operation timed out) 12:14:58 --- quit: asie (Quit: I'll probably come back in either 20 minutes or 8 hours.) 12:15:46 --- join: nighty^ (~nighty@lns-bzn-49f-62-147-170-46.adsl.proxad.net) joined #forth 12:20:50 --- quit: ncv (Ping timeout: 272 seconds) 12:21:33 --- join: ncv (~quassel@79.118.10.250) joined #forth 12:21:33 --- quit: ncv (Changing host) 12:21:33 --- join: ncv (~quassel@unaffiliated/neceve) joined #forth 13:30:21 --- join: tangentstorm (~michal@108-218-151-22.lightspeed.rcsntx.sbcglobal.net) joined #forth 13:37:06 --- quit: nighty^ (Quit: Disappears in a puff of smoke) 13:42:02 --- quit: true-grue_ (Read error: Connection reset by peer) 15:26:52 --- quit: mnemnion (Remote host closed the connection) 15:28:19 --- quit: pvt_petey (Quit: Computer has gone to sleep.) 15:46:51 --- quit: kumul (Quit: Leaving) 15:58:07 --- join: ASau` (~user@p54AFE2E5.dip0.t-ipconnect.de) joined #forth 16:01:10 --- quit: ASau (Ping timeout: 248 seconds) 16:10:22 --- join: kumul (~mool@adsl-64-237-226-183.prtc.net) joined #forth 16:35:32 --- quit: bjorkintosh (Quit: Leaving) 16:44:45 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 17:19:54 --- nick: ASau` -> ASau 17:45:47 --- join: ncv_ (~quassel@79.118.10.131) joined #forth 17:46:40 --- join: nisstyre (~yours@oftn/member/Nisstyre) joined #forth 17:49:12 --- quit: ncv (Ping timeout: 272 seconds) 18:07:38 --- quit: Zarutian (Quit: Zarutian) 18:07:47 --- quit: I440r (Quit: brb) 18:31:29 --- join: ncv (~quassel@unaffiliated/neceve) joined #forth 18:35:05 --- quit: ncv_ (Ping timeout: 245 seconds) 19:28:45 --- join: beretta (~beretta@74.135.127.101) joined #forth 19:32:02 --- join: goingretro (~kbmaniac@host81-132-82-237.range81-132.btcentralplus.com) joined #forth 19:32:03 --- quit: goingretro2 (Read error: Connection reset by peer) 19:38:14 --- quit: ncv (Read error: Operation timed out) 19:38:15 --- join: ncv_ (~quassel@79.118.10.113) joined #forth 19:42:15 --- join: I440r (~mark4@cpe-192-136-220-10.tx.res.rr.com) joined #forth 19:42:15 --- mode: ChanServ set +o I440r 19:53:01 --- quit: goingretro (Ping timeout: 260 seconds) 19:54:25 --- quit: ncv_ (Ping timeout: 260 seconds) 20:08:10 --- join: bbloom (~bbloom@cpe-68-173-7-82.nyc.res.rr.com) joined #forth 20:09:56 this might well be a C question as much as it is a Forth question, but I'm wondering what you guys call various positions in an "array". for example i have one stack that has a cursor that points one before the 0th element and another one that points at the 0th element. for one, I need a name for "one past the last element" and for the other i need a name for "the last element" 20:10:05 words like end, limit, last, etc 20:10:33 not sure if there's a convention or consensus. it's been a while since i've done much at this level 20:23:43 you'll see "TOS" for "Top of Stack", and "NOS" for "Next on Stack"... 20:24:51 in forth, there is no valid data past the top however. 20:25:19 I guess there could be a valid pointer. 20:25:40 which one is which? TOS is a pointer to the most recently pushed value? or one past it? 20:27:19 TOS is the SP address. NOS is SP+1, the second to latest pushed value. 20:28:00 if your stack builds down.. 20:28:58 you are refering to SP-1, I think. I'm not sure if there's a Forth that defines this value. 20:29:22 hm, ok 20:29:37 i'm speaking more generally about stack data structures, not the parameter/data stack specifically 20:30:38 but i'm glad you said TOS=SP if building down, b/c that clears some stuff up i've read b/c my brain interprets "top" to be the LIFO end of the stack from all the not caring about memory management i've done in my career :-P 20:30:41 thanks 20:31:36 if you push 1, 2, 3 onto a stack (in that order), then TOS is pointing at 3 20:31:49 nos -> 2 20:32:03 BTW: if you have a variable or reg that stores SP-1, AKA, points to the next unused memory, you have the Forth foundation of CP.. a *forward* stack. 20:32:52 what's CP? 20:33:05 you push a value on CP by storing the value and incrementing CP. 20:33:51 whilst you decrement SP and then store your value... 20:34:07 by CP do you mean the character pointer for input? 20:34:29 Code Pointer... 20:34:39 : here cp @ ; 20:34:55 oh 20:36:10 makes sense now. i guess it is a stack, since you can mark places and roll it back. cool. 20:36:38 yup... :) 20:37:18 compiling stuff on the fly ( and rollbacking to a higher state ) if extremely handy. 20:37:31 i assume i'll just trample memory about a million times until i'm a natural :-) 20:38:58 and put the action of a forward stack together with a reverse stack.. and you get a data buffer between adding and removing... a comunication channel! 20:41:14 that's why I have words: @+ ( a -- a+1 x ) \ fetches x from a and increments a ( POP! ) 20:43:16 and: !+ over ! cell+ ; ( a x -- a ) \ stores and inc. a 20:46:30 its generally unsafe to assume any data is still available at the next cell of a stack as an interrupt could modify it 20:47:01 some stacks point to the next available slot to be filled, others point to the last item pushed 20:47:08 some are grows up, some are grows down 20:47:12 arm supports ALL FOUR 20:47:23 with the ldm/stm opcode variations 20:48:12 cell+ is just "4+" on a 4 byte cell 20:50:23 : +! ( n1 a1 --- ) dup @ rot + swap ! ; 20:50:31 maybe could be coded more efficiently 20:51:10 i mean in high level. could be coded way more efficiently in low level :) 20:58:21 indeed. 20:58:54 I really, really need to learn ARM 20:59:08 I got a raspie too. 20:59:25 my arm forth does not yet run on a Pi, im not sure why yet 20:59:38 i broke my Pi 20:59:55 the forth runs just fine on a beagleboardshell xm AND on my android phone in adb 20:59:59 adb shell 21:01:06 does is run on metal ? 21:01:27 it runs under linux 21:01:31 nice. 21:01:33 it COULD run sans an OS 21:01:37 :) 21:01:53 that would be funner... 21:02:36 and harder 21:03:04 I don't wanna learn USB to do it. 21:03:40 although the BroadCom docs are nice for the RasPie 21:04:01 not really 21:04:10 they have not open sourced the gpu at all 21:04:44 no, but there is documented frame buffers in the ARM space... 21:06:11 and all the internal thingies that can be attached to the GPIO's 21:06:26 UARTS, PWM's, and the such. 21:07:39 g'night all. 21:07:42 nite 21:12:54 --- quit: beretta (Ping timeout: 272 seconds) 21:26:32 --- quit: ttmrichter (Quit: ZNC - http://znc.in) 21:27:55 --- join: bjorkintosh (~bjork@107-218-174-88.lightspeed.fyvlar.sbcglobal.net) joined #forth 22:25:01 --- quit: kumul (Quit: Leaving) 22:39:32 --- join: kraehe (~kraehe@port-92-196-61-216.dynamic.qsc.de) joined #forth 22:41:47 --- quit: kephra (Read error: Operation timed out) 22:50:13 --- quit: I440r (Remote host closed the connection) 23:11:50 --- join: ttmrichter (~ttmrichte@192.241.205.8) joined #forth 23:59:59 --- log: ended forth/14.01.24