00:00:00 --- log: started forth/08.04.29 00:49:11 --- join: madgarden (n=madgarde@bas2-kitchener06-1096751243.dsl.bell.ca) joined #forth 02:43:55 --- part: edrx left #forth 04:03:36 --- quit: proteusguy (Read error: 110 (Connection timed out)) 04:04:26 --- join: proteusguy (n=proteusg@61.7.144.97) joined #forth 06:39:43 --- join: JasonWoof (n=jason@c-65-96-165-155.hsd1.ma.comcast.net) joined #forth 06:39:43 --- mode: ChanServ set +o JasonWoof 06:41:09 mornin' all 06:57:41 --- join: Maki (n=Maki@adsl-224-84.eunet.yu) joined #forth 07:50:24 Hi Jason. 07:52:56 hackin' away at my forthish thing :) 07:53:04 : 07:53:08 :) 07:53:29 yesterday all I did was make it print an error message when you search for something that isn't there 07:53:40 today, I've started in on the find-next feature 07:54:25 (my existant search feature, only looks for the definitions of words, but now I'm searching through the words _in_ definitions) 07:54:41 hence it's impossible to search for things without definitions 07:54:44 such as the number 4 07:55:08 Quartus: how are you today? 08:03:55 Hi :) 08:07:41 --- quit: Baughn ("reboot") 08:07:57 --- join: nighty^ (n=nighty@p4069-adsau17honb13-acca.tokyo.ocn.ne.jp) joined #forth 08:26:00 hi 08:41:36 By "search feature" you mean FIND ? 08:49:33 it finds another of the word under the cursor 08:49:53 it's mostly working within the current definition 08:49:59 haven't implemented searching through other definitions yet 08:50:22 working except it looks like I'm leaving garbage on the flag stack 08:52:05 fixed! right, I changed my mind about the calling conventions on those words too many times 08:53:49 I'll have to clean up the code somehow 08:53:55 two of the definitions don't fit on a line 08:54:08 Hmm that's an editor you are coding... 08:54:23 yep 08:54:59 I'm using serial terminal for connection with my forth system. 08:55:09 When I paste some code that has error interpreter display error info and current definition is not revealed. 08:55:20 But, terminal keep sending and some of the words get executed and some compiled. 08:55:35 heh 08:55:46 Those executed gives me headacke 08:55:48 what's your forth running on? 08:56:02 forth processor 08:56:52 It happens that those words executed from partial def can do some serious damage 08:57:17 I'm planning to stop interpreter on error and wait for user input 08:58:12 By the time user press ESC for example terminal will send all sharacters to empty space 08:58:33 And nothing gets executed 08:58:47 What do You think? 09:01:41 I just need to empty fifo buffer 09:02:41 after ESC pressed 09:34:28 sure 09:34:48 I think the standard thing to do is ignore the rest of the line 09:34:56 but pasting in pages is probably quite useful 09:35:10 if possible, probably the best thing to do is: 09:35:45 when there's an error, keep reading in as much text as is available until there's a pause of a 500ms or more 09:36:26 if you can't do that, then a "error, press ESC to continue" should work fine 10:05:51 --- join: Baughn (n=svein@084202038064.customer.alfanett.no) joined #forth 10:34:44 JasonWoof: I don't like to use timer in kernel. So waiting for input to cease is not an option. Recovering with esc is a way to go. Thanks. 10:35:35 this is just a hack for testing remotely right? 10:35:36 not something you're going to leave in there... 10:35:47 Why not? 10:36:42 because you're not supposed to paste multiple lines in 10:37:02 at some point you should set it up so the interpreter has access to your sources 10:37:08 use include" or something 10:37:59 sources will not be present on target device 10:38:09 Weel maybe in future 10:38:15 *Well 10:39:04 so this is just a trick for debugging right? 10:39:43 I really don't understand why you'd have a compiler on something that doesn't have source code 10:40:03 except maybe as a temporary trick to aid with debugging 10:40:13 weird things you do to aid debugging should be removed later 10:40:30 that's my general line of thought, hope it makes sense 10:40:58 Compiler is resident on processor and I'm comunicating with it over the terminal 10:41:53 After I test my program I flash it to permanent storage 10:42:21 And after power up image is restored 10:42:30 So no sources needed 10:42:43 At least not on target 10:43:03 why don't you do your development with an emulator? 10:43:34 Because I usualy have some other peripherals connected to processor 10:43:52 I see 10:44:17 why don't you generate the roms for the chip on your computer and send that over, instead of sending sources over? 10:45:11 I doo exactly that for forth kernel. I've build emulator too. To be able to test forth kernel. 10:45:57 But application usualy involves LCD display, storage, external cards 10:46:48 So to be able to generate image on host I need elaborate emulator. 10:47:19 With interactive forth on target I can test and quickly change application 10:48:00 I agree with everything except needing an elaborate emulator to create the image 10:48:08 you don't need an emulator at all to create the image, just a compiler 10:48:54 Emulator to simulate peripherals. I've written cross-compiler and it works 10:49:41 so pass your code to the cross-compiler, instead of pasting it 10:49:59 use the interpreter on your device interactively, like it's meant to be used 10:51:23 My cross compiler dosn't support all forth constructs :( 10:51:39 So I cross compile kernel only 10:52:00 and rest is compiled by forth compiler on targeet 10:52:25 I don't send largea amount of code over terminal 10:53:08 Only the first time to extend forth kernel. After that I use MARKER 10:53:21 cool 10:53:37 But it happens that I make error in coding and shit happens 10:54:20 so if you discover that you've made a mistake and extended the kernel to improve it? 10:54:24 after pasting to terminal 10:54:34 perhaps a few extends ago... 10:54:50 then you have to load an old kernel, and paste in your successive changes right? 10:55:42 that would make me nervous. I'd probably go for finishing the cross-compiler 10:55:44 Kernel is almost finished. I'm talking about application 10:56:16 I know. you can cross-compile applications too 10:56:44 Yes 10:58:07 what chip do you have? 10:58:52 Internal design. Not released to public. Dual stack traditional model 128kB addresable space. 10:59:08 cool 10:59:16 I have a photo of the board 10:59:36 If You like to see it I can upload somewhere 10:59:52 I designed it from ground up 11:03:09 I'm curious to see, but I don't know much about circutry, so I'll just go "ooh, neat" 11:03:43 Why would be a limitation to paste multiple lines to terminal? 11:04:04 huh? 11:05:05 I mean Why do you think that it is a bad thing to paste entire file to terminal? 11:05:20 because forth isn't designed to handle it 11:05:43 you're using something that's meant to be interactive 11:06:07 hmm 11:06:16 the forth setups that allow you to use source code from files and/or blocks are set up for this 11:06:26 they stop reading the files/blocks when an error occurs 11:06:46 the problem with the terminal, is that you're pasting a file as one unit, but the bounds of that unit are lost in the terminal interface 11:07:02 if the file you paste came through to the forth chip as one unit of code, it'd be fine, but it doesn't 11:07:16 the terminal doesn't tell your forth system where the paste starts and stops 11:08:05 in a terminal, the only way to tell the difference between typing and pasting is by checking the timing 11:08:05 I see 11:08:16 it's a crappy interface for a lot of things 11:08:50 writing apps for the terminal is tempting to me, because it's so easy, but it's also quite limiting 11:08:59 for my latest project, I wrote my own terminal emulator 11:09:22 so I can easily EMIT text/etc and I'm not stuck with the stupid limitations 11:09:32 eg I get key-up events 11:09:50 I can find out when the alt key is pressed, etc 11:10:14 cool 11:10:51 and I can easily add mouse and/or graphics support, without a rewrite 11:11:51 when I finally get a decent laptop with 3D accelleration, I'll probably have some fun with graphics 11:12:35 I don't see why it'd be difficult to output text and 3D shapes on the same window 11:13:18 the only trouble with my terminal emulator is that you can't copy text with the mouse 11:13:42 why 11:31:16 cuz I didn't program it to do that 11:31:32 when someone clicks and drags, I'm not going to hilight text, I'm going to tell my forth app about what the mouse is doing 11:53:05 also I'm lazy 11:53:16 I don't currently track what characters are on the screen 11:53:23 just where to blit the next one 11:53:46 heh 12:30:04 --- quit: tarbo (Connection timed out) 12:32:28 --- quit: aguai ("leaving") 12:52:35 --- join: aguai (n=aguai@host86-137-6-54.range86-137.btcentralplus.com) joined #forth 12:58:39 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 12:58:39 --- mode: ChanServ set +o tathi 14:10:04 --- join: I440r (n=mark4_@70.102.202.140) joined #forth 14:13:12 --- join: arke (n=arke@p57A756D6.dip.t-dialin.net) joined #forth 14:13:12 --- mode: ChanServ set +o arke 14:18:02 --- quit: Maki ("Leaving") 14:23:01 quartus u there? 14:36:53 --- quit: I440r (Client Quit) 14:45:01 --- quit: nighty^ ("Disappears in a puff of smoke") 15:02:45 hi. 15:09:43 hi... 15:37:21 --- quit: aguai ("leaving") 16:10:49 --- quit: JasonWoof ("off to see Eddie Izzard") 17:08:38 --- quit: tathi ("leaving") 18:36:12 --- join: snoopy_1711 (i=snoopy_1@dslb-088-068-201-026.pools.arcor-ip.net) joined #forth 18:41:08 --- join: tarbo (n=me@unaffiliated/tarbo) joined #forth 18:52:57 --- quit: Snoopy42 (Read error: 110 (Connection timed out)) 18:53:08 --- nick: snoopy_1711 -> Snoopy42 20:19:14 --- join: nighty^ (n=nighty@210.188.173.246) joined #forth 21:41:39 --- join: aguai (n=aguai@host86-137-6-54.range86-137.btcentralplus.com) joined #forth 22:05:07 --- quit: Quartus` (Read error: 104 (Connection reset by peer)) 22:26:11 --- quit: proteusguy (Read error: 110 (Connection timed out)) 22:26:55 --- join: proteusguy (n=proteusg@61.7.144.97) joined #forth 23:07:56 --- join: ecraven (n=nex@140.78.42.148) joined #forth 23:50:07 --- join: ecraven` (n=nex@dyn165171.wlan.jku.at) joined #forth 23:50:55 --- quit: ecraven` (Client Quit) 23:59:59 --- log: ended forth/08.04.29