00:00:00 --- log: started forth/04.04.19 00:26:45 --- quit: Serg () 00:56:26 --- join: I440r (~mark4@cable5-8.sweetwaterhsa.com) joined #forth 01:50:56 --- join: qFox (C00K13S@cp12172-a.roose1.nb.home.nl) joined #forth 06:07:03 --- join: Serg (~z@212.34.52.140) joined #forth 06:07:10 hi ! 06:07:14 hi I440r ! 06:38:52 --- quit: Serg () 06:55:12 hey 07:13:25 --- quit: hovil ("Leaving") 07:31:41 --- quit: I440r (Read error: 110 (Connection timed out)) 08:56:00 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 10:18:32 --- quit: tathi ("leaving") 10:50:40 --- join: crc (~Charles_C@0-1pool176-19.nas6.philadelphia1.pa.us.da.qwest.net) joined #forth 11:15:02 --- quit: onetom (orwell.freenode.net irc.freenode.net) 11:15:53 --- join: onetom (~tom@novtan.bio.u-szeged.hu) joined #forth 11:51:35 --- quit: crc ("ChatZilla 0.9.61 [Mozilla rv:1.7b/20040316]") 12:47:41 --- join: wossname (wossname@HSE-MTL-ppp60277.qc.sympatico.ca) joined #forth 13:06:44 --- join: kc5tja (~kc5tja@66-91-231-74.san.rr.com) joined #forth 13:06:47 --- mode: ChanServ set +o kc5tja 13:07:36 As of right now, I'm officially going to stop going to calculus. I failed three take home quizzes, and that guarantees a grade substantially below the failing point. 13:07:40 No point in continuing at this time. 13:08:02 :( 13:08:22 I will use the excess time to work at In-N-Out to help dig me out of debt, rebuild at least some of my savings, and help fund my own business venture. 13:12:38 heh :) towards the end of my bike ride a found someone building a stone wall. I chatted with him about it for a bit, offered to lug a few rocks around etc. 13:13:58 now he's going to hire me to help him out next week. 13:15:36 $12/hour (hopefully under the table) 13:19:33 Heh 13:19:33 Nice. 13:32:09 kc5tja> about cpu stacks... 13:32:39 how am i supposed to know, from a user side, how many items there are on the stack? 13:34:12 and do cpu's like the p24 (i guess the p21 has the same behaviour) return some kind of error when you try to take something off the stack when there's nothing on it? 13:34:28 so like stack underflow etc 13:34:48 or do they rotate to the end? 13:39:50 There is no indication of how many items are on the stack. 13:39:59 If you push too many items on the stack, you end up losing the oldest item. 13:40:07 --- quit: wossname () 13:40:11 so it rotates? 13:40:20 If you pop too many items from the stack, it'll just rotate the items (hence the "circular stack" name). 13:40:28 If you POP yes. 13:40:30 If you PUSH, no. 13:40:33 like, the data stack is 33 items or so, when you reach item 32, it'll go back to 0? 13:40:43 It can't, because you're pushing a value over top of the item that would normally recirculate. 13:40:51 hm 13:40:56 so pushing should return an error? 13:41:01 Actually, what's happening is this: 13:41:02 A 13:41:03 or ... what would happen on a normal cpu? 13:41:05 B A 13:41:07 C B A 13:41:09 D C B A 13:41:16 E D C B <-- note that A is no longer there 13:41:18 F E D C 13:41:19 etc. 13:41:23 ok 13:41:25 That's what happens when you push items on the stack. 13:41:30 understood 13:41:32 When you POP them off, however, this happens: 13:41:38 F E D C (initial condition) 13:41:43 E D C F 13:41:47 D C F E 13:41:48 aye 13:41:50 etc. 13:41:52 i get it 13:42:01 and there's NO way to know the depth 13:42:09 if you dont count yourself... 13:42:15 Or, another way to look at it, the depth is always N. 13:42:19 Right. 13:42:55 so at any point, when you re-enter that QUIT loop (you know, the most outer loop of forth?), you're basicly at depth 0, since you wont know whats on the other items.... 13:43:11 Correct. 13:43:13 oki 13:43:20 i'll have to do some minor adjusting then :) 13:43:24 No need to reset the stack pointers like in a Forth with memory-resident stacks. 13:43:30 yea 13:43:44 i think i fixed my sign and carry part 13:44:00 --- join: proteusguy (~proteusgu@69.79.24.31) joined #forth 13:44:02 and i created a whole debug gui for it, which makes things soooo much easier 13:44:03 :) 13:44:16 also slower when enabled, but you can disable it 13:44:37 compared to the real thing its incredibly slow, but thats not really a problem :) 13:45:35 so far the parsing part works, parses a word (untill delimiter) then calls the function to eval the word 13:45:45 so i'm happy :) 13:46:07 oh and i fixed it so it can continously loop in mirc, without "freezing" mirc 13:46:44 (mirc processes scripts serial, so when one script is running, the entire mirc program freezes untill that script is done) 13:47:29 That's rather silly. 13:47:35 nah its ok 13:47:48 it works 13:47:48 :) 13:47:59 Fundamental rule of all user interface design: never freeze the user interface. 13:48:09 as soon as i'm done with ' number? and error, i'll post the alpha scripts publicly :) 13:48:13 i know 13:48:16 my script fixed it 13:48:18 i mean 13:48:27 i'm using multimedia timers 13:48:34 after every instruction, for now 13:48:39 1ms delay 13:48:55 thus giving mirc time to process other parts of its system 13:49:37 So you have a 1kHz CPU running then. :) 13:49:57 uhm 13:50:08 no i'd say .... 150 hz :p 13:50:21 about 150-200 instructions/s 13:50:31 well i havent done serious max testing yet 13:53:58 heh 13:54:17 but i will once i'm done with the main bootcode 13:54:28 * kc5tja nods 13:54:41 right now i have to fix ' (ok have to fix bugs, i already coded it on paper) 13:54:51 and number? ,which is gonna give me some head-aches i'm sure 13:57:46 --- join: wossname (wossname@HSE-MTL-ppp60277.qc.sympatico.ca) joined #forth 14:08:12 --- join: snowrichard (richard@adsl-068-209-159-248.sip.shv.bellsouth.net) joined #forth 14:09:32 --- part: snowrichard left #forth 14:42:36 --- quit: onetom (orwell.freenode.net irc.freenode.net) 14:43:41 --- join: onetom (~tom@novtan.bio.u-szeged.hu) joined #forth 14:45:46 :) 200hz 14:54:40 it takes mirc 4-6ms to emulate a p24 instruction? 15:04:10 Wouldn't surprise me; mircScript is just a scripting language. 15:04:17 Frankly, I am surprised that it can do it at all. 15:43:34 --- quit: wossname ("---235") 15:51:23 OK, I'm off to work. 15:51:30 --- quit: kc5tja ("THX QSO ES 73 DE KC5TJA/6 CL ES QRT AR SK") 16:25:59 yes its slow herk 16:26:17 very :) 16:49:26 --- join: slava (~slava@CPE00096ba44261-CM000e5cdfda14.cpe.net.cable.rogers.com) joined #forth 16:49:35 howdy 16:50:38 Evening, slava 16:50:50 How's your language feeling today? 17:07:46 --- quit: fridge (Read error: 110 (Connection timed out)) 17:16:18 --- quit: qFox ("this is mirc's last attempt of communication...") 18:00:59 --- quit: proteusguy ("Leaving") 18:11:46 --- quit: slava (Remote closed the connection) 18:12:15 --- join: blockhead (default@dialin-193-tnt.nyc.bestweb.net) joined #forth 18:12:43 --- part: blockhead left #forth 18:34:58 --- join: lalalim_ (~lalalim@p508ABAD7.dip.t-dialin.net) joined #forth 18:36:49 --- join: fridge (~fridge@dsl-203-113-229-203.NSW.netspace.net.au) joined #forth 18:47:56 --- quit: lalalim (Read error: 110 (Connection timed out)) 19:04:07 --- quit: scope (Client Quit) 19:21:51 --- join: Sonarman (1000@adsl-64-160-167-107.dsl.snfc21.pacbell.net) joined #forth 19:30:37 --- join: Sonarman_ (1000@adsl-67-113-234-172.dsl.snfc21.pacbell.net) joined #forth 19:30:46 --- quit: Sonarman (Nick collision from services.) 19:30:55 --- nick: Sonarman_ -> Sonarman 19:43:45 --- join: Sonarman_ (1000@adsl-64-160-164-89.dsl.snfc21.pacbell.net) joined #forth 19:43:56 --- quit: Sonarman (Nick collision from services.) 19:44:09 --- nick: Sonarman_ -> Sonarman 19:46:53 --- join: kc5tja (~kc5tja@66-91-231-74.san.rr.com) joined #forth 19:46:59 --- mode: ChanServ set +o kc5tja 20:05:07 --- join: dasbear (~chatzilla@adsl-64-219-100-36.dsl.lgvwtx.swbell.net) joined #forth 20:05:23 --- part: dasbear left #forth 20:25:46 --- join: I440r (mark4@ip68-102-55-10.ks.ok.cox.net) joined #forth 20:26:17 hey I440r. where are you now? :) 20:26:24 wichita kansas 20:26:26 heading south 20:27:08 where are you again ? 20:27:53 San-Francisco CONSTANT Location 20:28:07 ok heh 20:28:59 why do you keep moving around? are you on a road trip or something? 20:30:59 lol was on a contract in south calif 20:31:09 finished that went to visit someone in washington state 20:31:14 now im headed home 20:31:25 neway i gotta go eat 20:31:28 bbl :) 21:23:25 --- join: amcl (~amcl@roc-66-67-140-120.rochester.rr.com) joined #forth 21:25:12 --- quit: kc5tja ("THX QSO ES 73 DE KC5TJA/6 CL ES QRT AR SK") 21:28:10 --- quit: Sonarman (Read error: 60 (Operation timed out)) 21:41:46 --- quit: amcl ("Leaving") 22:11:00 --- join: Serg (~z@212.34.52.140) joined #forth 22:56:41 --- quit: Serg () 23:03:54 --- quit: ianp (Remote closed the connection) 23:14:31 --- quit: I440r (Read error: 110 (Connection timed out)) 23:17:22 --- join: hovil (~hovil@CommSecureAustPtyLtd.sb1.optus.net.au) joined #forth 23:59:59 --- log: ended forth/04.04.19