00:00:00 --- log: started forth/15.04.16 00:36:22 actually i just went back from the hospital, and i saw many potential chance for embed devices 00:37:59 --- quit: MrMobius (Read error: Connection reset by peer) 00:46:32 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 00:51:24 --- quit: mnemnion (Ping timeout: 272 seconds) 00:59:39 --- quit: karswell (Remote host closed the connection) 01:01:06 --- join: karswell (~user@87.114.71.59) joined #forth 01:43:28 --- join: darkf_ (~darkf___@unaffiliated/darkf) joined #forth 01:43:32 --- join: Tod-Autojoined (Tod@50-198-177-186-static.hfc.comcastbusiness.net) joined #forth 01:44:12 --- quit: TodPunk (Read error: Connection reset by peer) 01:46:42 --- quit: darkf (Ping timeout: 245 seconds) 01:54:35 --- quit: dys (Ping timeout: 240 seconds) 01:57:47 --- nick: darkf_ -> darkf 02:04:49 --- join: bandrami (~weldon@triband-mum-120.61.180.113.mtnl.net.in) joined #forth 02:05:14 --- quit: karswell (Read error: Connection reset by peer) 02:06:29 --- join: karswell (~user@87.114.71.59) joined #forth 02:15:09 --- join: true-grue (~grue@95-27-159-2.broadband.corbina.ru) joined #forth 02:35:05 --- join: xyh (~xyh@58.251.2.94) joined #forth 02:43:55 --- quit: xyh (Ping timeout: 240 seconds) 02:45:22 --- quit: atommann (Ping timeout: 256 seconds) 03:13:20 --- join: GeDaMo (~GeDaMo@212.225.93.112) joined #forth 03:18:31 --- join: karswell` (~user@68.51.125.91.dyn.plus.net) joined #forth 03:20:39 --- quit: karswell (Ping timeout: 264 seconds) 03:31:16 --- join: protist (~javery@149.236.69.111.dynamic.snap.net.nz) joined #forth 03:38:03 --- join: proteusguy (~proteusgu@183.88.33.190) joined #forth 03:38:03 --- mode: ChanServ set +v proteusguy 03:50:42 --- quit: karswell` (Remote host closed the connection) 03:51:54 --- join: karswell` (~user@68.51.125.91.dyn.plus.net) joined #forth 03:53:51 --- join: atommann (~atommann@58.251.2.94) joined #forth 04:18:48 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 04:29:58 --- quit: mnemnion (Remote host closed the connection) 04:33:09 --- join: vsg1990 (~vsg1990@cpe-67-241-148-119.buffalo.res.rr.com) joined #forth 04:39:22 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 04:39:29 --- quit: darkf (Read error: Connection reset by peer) 04:40:13 --- join: darkf (~darkf___@unaffiliated/darkf) joined #forth 04:42:13 --- quit: nighty-_ (Max SendQ exceeded) 04:43:52 --- join: nighty-_ (~nighty@hokuriku.rural-networks.com) joined #forth 04:47:01 --- quit: atommann (Ping timeout: 272 seconds) 05:09:29 --- quit: karswell` (Read error: Connection reset by peer) 05:10:44 --- join: karswell` (~user@68.51.125.91.dyn.plus.net) joined #forth 05:44:44 --- join: atommann (~atommann@113.116.0.42) joined #forth 05:44:50 --- join: xyh- (~xyh@113.116.0.42) joined #forth 05:44:51 --- join: xyh (~xyh@113.116.0.42) joined #forth 05:49:52 --- quit: xyh (Ping timeout: 245 seconds) 05:53:12 --- quit: xyh- (Ping timeout: 245 seconds) 06:04:17 --- nick: Tod-Autojoined -> TodPunk 06:18:30 --- quit: bandrami (Ping timeout: 248 seconds) 06:30:46 --- join: bandrami (~weldon@triband-mum-120.61.180.113.mtnl.net.in) joined #forth 06:45:08 --- join: MrMobius_ (~MrMobius@c-71-236-126-157.hsd1.wv.comcast.net) joined #forth 06:51:06 --- quit: atommann (Ping timeout: 272 seconds) 07:04:04 --- quit: darkf (Quit: Leaving) 07:16:27 --- join: kumul (~mool@adsl-72-50-85-69.prtc.net) joined #forth 07:27:40 --- join: atommann (~atommann@113.116.0.42) joined #forth 07:44:07 --- quit: bandrami (Quit: Leaving) 08:06:42 --- quit: MrMobius_ (Ping timeout: 250 seconds) 08:06:54 --- quit: atommann (Quit: Leaving) 08:08:17 --- join: n0vacane (~sssss@unaffiliated/n0vacane) joined #forth 08:09:07 --- join: markm_ (~markm@38.122.200.194) joined #forth 08:17:29 --- join: xyh (~xyh@113.116.0.42) joined #forth 08:25:04 --- join: johnmark_ (~johnmark@c-73-51-235-57.hsd1.il.comcast.net) joined #forth 08:25:15 --- nick: johnmark_ -> JohnMarkM 08:28:32 --- quit: karswell` (Ping timeout: 245 seconds) 08:30:12 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 08:35:02 --- quit: mnemnion (Ping timeout: 250 seconds) 08:37:55 --- quit: kumul (Quit: Leaving) 09:12:41 --- quit: xyh (Remote host closed the connection) 09:20:48 --- join: xyh (~xyh@113.116.0.42) joined #forth 09:44:45 --- join: dys (~user@ip-109-44-229-119.web.vodafone.de) joined #forth 09:46:08 --- join: MrMobius_ (~MrMobius@c-71-236-126-157.hsd1.wv.comcast.net) joined #forth 09:52:47 --- quit: MrMobius_ (Ping timeout: 248 seconds) 10:20:45 --- part: n0vacane left #forth 10:35:55 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 10:37:37 --- quit: xyh (Remote host closed the connection) 10:46:02 --- join: ASau (~user@46.115.136.237) joined #forth 11:21:17 agreed. it's a little micro-managey to track all staff at all time but in ERs and other places that might be very useful 11:33:04 not just staff, patients too 11:33:10 not to micro manage them 11:33:18 to track efficiency 11:34:05 my joke about how long doctor spent chatting up nurse was not really part of the purpose of the system :) 11:42:15 tracking efficiency in this way = micromanaging (in my book) 11:42:36 still, for some jobs, esp those where it's highly regulated and reporting is high, it might be useful 11:43:09 patients is interesting use case too. no more dead bodies in stairwells, etc. 11:46:34 --- join: Mat4 (~claude@ip188619bb.dynamic.kabel-deutschland.de) joined #forth 11:46:37 hi all 11:48:11 lol 11:54:33 hey 11:55:06 Mat4: what's new? 11:55:13 --- join: Zarutian (~Adium@168-110-22-46.fiber.hringdu.is) joined #forth 11:57:05 hi bluekelp 11:57:16 I'm working on my bare-metal design again 11:58:50 new is the CPU architecture for it 11:59:51 and that I've found free time (great!) to finish some documentation 12:02:13 (which was the hardest part of it) 12:10:46 nice 12:11:23 i'm debugging my nasm code now. it mostly works but looks like dict lookup is failing, so that's a big bug :) 12:11:45 i suspect it's keyboard input bug, perhaps leaving trailing space or newline on the word string when we do to look it up 12:12:07 trying to find time to fix. then i can start integrating it with the boot code i have 12:12:19 probably I can help you out, where can I take a look at the code ? 12:13:03 i'll have to put it online. it's local, atm 12:14:19 you can use gist to paste the relevant code snippets 12:15:28 http://bluekelp.com/jones-nasm/jf.asm 12:15:46 should be nearly identical to jones - comments still reference att syntax, etc. 12:16:01 Where is it failing? 12:16:03 i'm also adding OSX support for I/O so i can gdb locally 12:16:10 i think FIND fails to find words 12:16:21 when i input "42" it accepts as a number 12:16:35 but errors on something like '42 DUP' w/error on 'DUP' 12:17:39 not sure yet where in FIND (rather, INTERPRET's direct 'call _FIND' invoke of the prim asm) 12:17:54 but w/the limited debugging i've done so far that's it 12:18:52 also i checked out yourforth and like it, except for fasm. prefer not to introduce a new tool. 12:19:24 it's a big 'large' (16k) but i'll give it a read through and try to grok another forth (though it's quite similar to jones) 12:19:35 bit* large (for my taste) 12:20:45 have you changed the dictionary format ? 12:23:18 i have not. i tried to change as little as possible from the original jones/att version 12:23:51 since it was done late night, i introduced a few bugs translating the asm code. assume it's one i missed 12:25:20 without him, i'd still be commuting by foot 12:25:38 ...and i'd have to (shudder) live in a city in order to do that 12:30:19 I've found no error in the _FIND routine 12:31:49 does it use "Accept" or does it use query/expect ? 12:33:24 markm_: not sure what you're asking. my initial answer is 'neither' :) 12:33:40 how does keyboard input get read in 12:33:50 Mat4: hrm, i'm going to figure up gdb again when i get a sec and confirm 12:34:02 markm_: ah - direct read(2) system call under linux 12:34:25 or OSX (code in progress); and keyboard polling for bare metal 12:34:33 so its using linuxs built in line buffering/editing 12:34:48 which blocks till [enter] is pressed 12:35:10 ah, that's the reason I guess 12:36:28 I hate that buffering/waiting for return. I was doing something in pforth way back, brought the code to a friend, installed pforth on his machine… and yeah…. it didn’t work as expected. 12:37:10 seems to me like jones does not understand basic forth concepts such as #tib and >in 12:37:45 the termios inetrface is part of the Linux kernel. All you need is reading the terminal settings and set the RAW flag 12:37:55 --- quit: JohnMarkM (Quit: Leaving) 12:37:58 icannon 12:38:32 or whatever this flag is labeled 12:38:59 https://github.com/hanslub42/rlwrap 12:39:31 --- join: karswell` (~user@68.51.125.91.dyn.plus.net) joined #forth 12:45:40 doesn't matter. input is recieved. it's the word lookup that is failing, iirc 12:46:42 linux will soon be out of the picture - this is just for debugging the port 12:48:05 I wouldn’t mind testing out the osx version ^^ 12:48:45 --- nick: karswell` -> karswell 12:48:55 ok, have you checked if 'var_LATEST' point to the right address ? 12:49:46 _FIND: 12:49:46 push esi ; Save %esi so we can use it in string comparison. 12:49:46 ; Now we start searching backwards through the dictionary for this word. 12:49:46 mov edx, [var_LATEST] ; LATEST points to name header of the latest word in the dictionary 12:49:46 ._1: test edx,edx ; NULL pointer? (end of the linked list) 12:49:47 je ._4 12:50:10 rixard: i'm almost there w/OSX. need to do the output/printing and then i think it'll be ready 12:50:22 ^this one 12:50:24 i'll let you know once it's ready. 12:50:30 bluekelp: thanks 12:51:13 Mat4: i'll check. var_LATEST is updated by the macro defs for code/word entries in the dict. 12:51:26 i'll need to inspect memory addrs w/gdb to confirm 12:52:01 i suspect it is set and "close" to correct bc it loops looking for words, and eventually terminates - then reports it failed to parse the input 12:52:11 might be slightly off/wrong though 12:52:38 hoping to have time tonight to figure it out 12:52:47 bluekelp: has _FIND ever worked? 12:52:59 unfortunately my pesky j-o-b keeps my days busy some times 12:53:27 GeDaMo: I don't know - freshly ported code. it works in jones's original code. not in my port. 12:53:43 Ah, ok, just checking if it had previously worked 12:55:40 * Mat4 coding work 12:55:49 --- nick: Mat4 -> Mat4-coding 12:56:58 bluekelp: get nasm to generate a listing and see what it's actually generating for dictionary headers 12:59:27 i'll probably use gdb to walk back through a few headers and verify. i'll also try the last entry as input - so i can quickly debug if it's found or not instead of an O(n) loop in gdb 13:00:28 --- quit: vsg1990 (Quit: Leaving) 13:07:58 --- quit: protist (Ping timeout: 255 seconds) 13:27:05 --- quit: karswell (Ping timeout: 248 seconds) 13:28:35 --- join: karswell (~user@68.51.125.91.dyn.plus.net) joined #forth 13:43:32 --- quit: mnemnion (Remote host closed the connection) 13:58:06 --- quit: GeDaMo (Remote host closed the connection) 14:11:48 --- nick: Mat4-coding -> Mat4 14:12:07 bluekelp: so what have you found out ? 14:19:04 bluekelp, try using ALD instad of gdb 14:19:18 debugging asm in gdb is PAINFUL 14:21:44 --- join: john_metcalf (~john_metc@host-134-197-68-109.arq1.ldn.uk.sharedband.net) joined #forth 14:28:47 I've found out LDBG a good tool for debugging 14:29:32 and as written some time ago the internal monitor of Bochs useful for OS development 14:36:35 --- quit: markm_ (Ping timeout: 264 seconds) 14:47:25 --- quit: Mat4 (Quit: Verlassend) 14:54:00 --- quit: john_metcalf (Ping timeout: 250 seconds) 15:13:19 --- join: ASau` (~user@176.0.70.178) joined #forth 15:16:46 --- quit: ASau (Ping timeout: 246 seconds) 15:16:51 --- quit: nighty-_ (Quit: Disappears in a puff of smoke) 15:18:49 --- nick: ASau` -> ASau 15:21:10 --- quit: karswell (Remote host closed the connection) 15:22:17 --- join: karswell (~user@68.51.125.91.dyn.plus.net) joined #forth 15:31:50 --- quit: proteusguy (Remote host closed the connection) 15:35:53 --- quit: true-grue (Read error: Connection reset by peer) 16:05:49 --- quit: karswell (Remote host closed the connection) 16:07:01 --- join: karswell (~user@68.51.125.91.dyn.plus.net) joined #forth 16:13:30 --- join: saml_ (~saml@cpe-24-102-97-97.nyc.res.rr.com) joined #forth 16:25:34 --- join: kumul (~mool@adsl-72-50-87-201.prtc.net) joined #forth 16:40:02 Mat4: so far I've found out that the burger I had for lunch was good and I am happy with the new kennel I bought for my chickens 16:40:12 but nothing about gdb/asm yet :) 16:40:56 and yes, debugging asm in gdb is a tad painful. for one, "next" doesn't single step a source line file - it tends to find the next call/ret instruction and go (at least) that far 16:41:15 there is an asm layout i remember using for arm/thumb dev but it has shortcomings too 17:09:29 --- quit: dys (Ping timeout: 244 seconds) 17:12:21 --- join: vsg1990 (~vsg1990@cpe-67-241-148-119.buffalo.res.rr.com) joined #forth 17:34:24 --- quit: Zarutian (Quit: Leaving.) 17:46:27 --- join: MrMobius_ (~MrMobius@c-71-206-218-187.hsd1.wv.comcast.net) joined #forth 18:04:46 hrm, the version I posted indeed seems to have its FIND working properly (or mostly) 18:05:14 not sure when that was fixed :) - now i get a segv when I try to run forth words, so that's progress! 18:46:01 --- quit: vsg1990 (Quit: Leaving) 18:59:52 --- join: atommann (~atommann@58.251.2.94) joined #forth 19:23:14 --- join: darkf (~darkf___@unaffiliated/darkf) joined #forth 19:56:32 --- quit: TodPunk (Read error: Connection timed out) 19:56:59 --- join: TodPunk (Tod@50-198-177-186-static.hfc.comcastbusiness.net) joined #forth 20:02:30 --- quit: saml_ (Remote host closed the connection) 20:14:20 http://www.freightfarms.com/ this is what i always interested 20:23:09 --- join: mnemnion (~mnemnion@c-98-210-219-91.hsd1.ca.comcast.net) joined #forth 20:50:53 --- join: xyh (~xyh@2001:250:3002:5550:6ea1:cc0f:bcb2:b187) joined #forth 21:18:42 --- quit: kumul (Quit: Leaving) 21:24:59 --- quit: MrMobius_ (Ping timeout: 264 seconds) 21:46:03 --- join: MrMobius_ (~MrMobius@c-71-236-126-157.hsd1.wv.comcast.net) joined #forth 21:51:01 --- quit: atommann (Ping timeout: 246 seconds) 21:57:46 --- quit: xyh (Remote host closed the connection) 22:19:09 --- join: karswell` (~user@201.254.90.146.dyn.plus.net) joined #forth 22:22:05 --- quit: karswell (Ping timeout: 264 seconds) 22:38:44 --- nick: karswell` -> karswell 22:39:04 --- join: mark4 (~mark4@cpe-68-203-183-182.tx.res.rr.com) joined #forth 22:40:03 seems my Corsair H100 cooler was failing. it also started to leak so i put my spare in and now i can OC at 4.7 ghz again yay! 22:46:35 --- join: protist (~javery@149.236.69.111.dynamic.snap.net.nz) joined #forth 22:53:41 --- quit: karswell (Remote host closed the connection) 22:54:53 --- join: karswell (~user@201.254.90.146.dyn.plus.net) joined #forth 22:57:19 --- join: dys (~user@ip-109-44-229-119.web.vodafone.de) joined #forth 23:09:18 --- quit: MrMobius_ (Ping timeout: 255 seconds) 23:12:09 --- join: markm (~markm@cpe-68-203-183-182.tx.res.rr.com) joined #forth 23:23:12 --- quit: karswell (Read error: Connection reset by peer) 23:24:36 --- join: karswell (~user@201.254.90.146.dyn.plus.net) joined #forth 23:59:59 --- log: ended forth/15.04.16