00:00:00 --- log: started forth/20.05.30 00:11:31 --- join: cheater joined #forth 00:34:23 --- join: kori joined #forth 00:34:23 --- quit: kori (Changing host) 00:34:23 --- join: kori joined #forth 00:49:02 --- join: xek joined #forth 00:50:23 --- quit: xek (Client Quit) 00:51:21 --- quit: proteusguy (Ping timeout: 256 seconds) 00:51:32 --- quit: proteus-guy (Ping timeout: 258 seconds) 01:04:24 --- join: proteus-guy joined #forth 01:05:06 --- join: proteusguy joined #forth 01:05:06 --- mode: ChanServ set +v proteusguy 01:05:29 --- join: reepca joined #forth 02:58:58 --- join: dddddd joined #forth 03:03:23 --- quit: _whitelogger (Remote host closed the connection) 03:06:26 --- join: _whitelogger joined #forth 03:39:24 --- quit: _whitelogger (Remote host closed the connection) 03:42:27 --- join: _whitelogger joined #forth 05:15:24 --- quit: _whitelogger (Remote host closed the connection) 05:18:27 --- join: _whitelogger joined #forth 05:41:14 --- quit: cheater (Ping timeout: 265 seconds) 05:42:05 --- quit: MrMobius (Ping timeout: 246 seconds) 06:35:54 --- quit: dave0 (Quit: dave's not here) 07:24:13 --- quit: iyzsong- (Quit: ZNC 1.7.1 - https://znc.in) 08:08:04 --- join: X-Scale` joined #forth 08:10:47 --- quit: X-Scale (Ping timeout: 264 seconds) 08:12:06 --- join: X-Scale joined #forth 08:14:08 --- quit: X-Scale` (Ping timeout: 272 seconds) 09:26:49 --- join: TCZ joined #forth 09:30:25 --- quit: kori (Read error: Connection reset by peer) 09:30:55 --- join: kori joined #forth 09:30:55 --- quit: kori (Changing host) 09:30:55 --- join: kori joined #forth 09:38:07 --- quit: TCZ (Quit: Leaving) 10:37:19 --- join: antaoiseach joined #forth 10:52:56 --- quit: antaoiseach (Quit: leaving) 11:55:53 --- quit: dys (Ping timeout: 246 seconds) 12:36:24 --- quit: _whitelogger (Remote host closed the connection) 12:39:27 --- join: _whitelogger joined #forth 13:16:51 --- quit: reepca (Read error: Connection reset by peer) 13:17:08 --- join: reepca joined #forth 13:47:21 --- join: andrei-n joined #forth 14:11:21 So, it seems that the C interface cannot include local c files. Is there any solution? Only <> includes work... 14:11:30 I mean in gforth. 14:16:56 --- quit: gravicappa (Ping timeout: 246 seconds) 14:37:56 --- quit: Zarutian_HTC (Ping timeout: 240 seconds) 14:43:09 --- quit: andrei-n (Quit: Leaving) 15:04:04 --- join: Zarutian_HTC joined #forth 15:08:53 --- quit: kamid (Quit: WeeChat 2.7.1) 15:12:53 hey guys 15:13:16 hey tabemann 15:13:24 * tabemann is annoyed that he bought a male breakout board for USB A rather than a female breakout board 15:13:30 free 15:13:30 flash dictionary free: 917500 15:13:30 main task dictionary free: 128984 15:13:30 main task stack free: 504 15:13:30 main task rstack free: 460 ok 15:13:38 bummer 15:13:47 how so 15:14:25 USB A I mean 15:14:40 ram-end hex. 20020000 ok 15:14:40 ram-here hex. 20000410 ok 15:14:41 $20020000 $20000410 - .decimal 130032 ok 15:15:11 that's because the stacks are at the end of RAM 15:15:31 Zeptoforth is working fine :) 15:18:54 130032 1024 - task - . 128984 ok 15:20:41 is my 130032 above the remaining ram ? 15:20:49 yes 15:21:04 what is 128984 ? 15:21:23 because the about you get from ram-end ram-here - includes the task record and the stacks for the main task 15:21:43 *because what you get 15:22:20 task records are stored high in memory, and the task record for the main task is stored immediately below its data and return stacks 15:22:51 new tasks' space grow downwards in memory 15:23:56 I'm not a big task user with embedded, they use too many of the scant resources 15:24:21 2 tasks is fine so I can use the terminal during development 15:24:39 that's why I provided a scheduler for sharing a single task amongst multiple scheduled actions 15:25:20 you have covered all bases! 15:37:59 I'm looking at the eForth FOR ... NEXT functionality, and it is weird 15:38:14 like I don't get why one would even want DO when one can have ?DO 15:38:39 and FOR NEXT behaves the same way except it has a weird AFT word which is used to work around it 15:39:57 what are you running eforth on ? 15:40:35 I'm not running it 15:41:00 I'm just reading what the STM8EF guy, Thomas, has written about it 15:41:14 aha 15:42:22 ?DO doesnt work if 0 so maybe DO is for cases when 0 has to work ? 15:44:09 ?DO checks if the two starting values are equal 15:44:59 and if they are, it jumps out of the loop 15:45:12 oops oh yeah 15:52:32 the thing about ?DO versus DO is that ?DO is obviously the better design, and we are just stuck with DO because of historical precedent 15:53:05 but I'm gonna have dinner in a sec, so bbl 16:11:35 --- join: karswell_ joined #forth 16:22:17 --- nick: karswell_ -> karswell 16:25:02 back 16:31:41 --- join: dave0 joined #forth 16:43:16 --- join: kamid joined #forth 16:50:04 --- join: rdrop-exit joined #forth 17:11:45 hey 17:12:04 * tabemann is busy adapting zeptoforth to run on the numworks calculator 17:12:17 the kernel changes are quite minimal 17:13:02 hey 17:13:34 really the only thing that needed changing in the kernel was the clock/UART init code 17:14:26 the bigger changes will be in the "userland", partly because I renamed some stuff from ANS (b@ rather than c@ e.g.), and also so it behaves well with my multitasking and like 17:15:46 hey rdrop-exit 17:16:10 tabemann, the advantage of writing a Forth for arm 17:16:23 or more accurately, Cortex-M 17:16:24 hi tp 17:18:19 hey tp 17:19:17 tabemann, at least it's easy to change command names with Forth :) 17:19:53 he 17:19:55 heh 17:20:00 I have file that changes names in Zeptoforth to names Im familiar with 17:20:08 easy peasy 17:23:26 "userland" :) 17:26:01 thats me, I live in userland 17:26:04 I know it's a fuzzier concept when you don't have protected memory 17:27:31 very Unixy 17:41:32 --- quit: karswell (Remote host closed the connection) 17:41:51 --- join: karswell_ joined #forth 18:11:15 --- join: boru` joined #forth 18:11:18 --- quit: boru (Disconnected by services) 18:11:21 --- nick: boru` -> boru 18:34:27 --- quit: karswell_ (Read error: No route to host) 18:40:51 --- quit: jedb (Ping timeout: 265 seconds) 18:45:24 --- quit: _whitelogger (Remote host closed the connection) 18:48:27 --- join: _whitelogger joined #forth 20:01:08 --- quit: Zarutian_HTC (Ping timeout: 260 seconds) 20:01:58 --- join: Zarutian_HTC joined #forth 20:48:24 --- quit: _whitelogger (Remote host closed the connection) 20:51:27 --- join: _whitelogger joined #forth 20:54:14 --- quit: dddddd (Ping timeout: 256 seconds) 21:21:28 back 22:05:25 --- join: gravicappa joined #forth 22:10:32 tp 22:10:43 about changing names 22:10:51 yes? 22:10:54 if you want to change b@ to c@ 22:11:03 actually it's not that 22:11:12 you should do it : c@ b@ [inlined] ; 22:11:53 this is some of my list 22:11:56 : hex. ( u -- u ) h.8 ; \ for zeptoforth 22:11:57 : . .decimal ; 22:11:57 : compiletoflash compile-to-flash ; 22:11:57 : compiletoram compile-to-ram ; 22:11:57 : compiletoram? compiling-to-flash? not ; 22:12:32 . is dependent on base 22:12:54 there is no standalone "." 22:13:03 not in my wordlist 22:13:13 oh wait 22:13:15 I misread that 22:14:07 but for simple words I would suggest adding [inlined] to them 22:14:21 and [inlined] goes before the ; 22:14:23 I'm just changing names so theyre like Mecrisp-Stellaris which I use all the time 22:14:33 oh ok 22:14:33 ah 22:18:03 * tabemann should have defined h.8 as : h.8 base @ >r 16 base ! 0 <# # # # # # # # # #> type ; 22:18:08 whoops 22:18:16 * tabemann should have defined h.8 as : h.8 base @ >r 16 base ! 0 <# # # # # # # # # #> type r> base ! ; 22:19:43 I always forget that I now have pictured numeric output 22:19:47 is there a cornerstone after the full-kernel ? 22:20:08 yes 22:20:10 so I can delete anything I add 22:20:13 cool 22:20:14 restore-state 22:21:01 reinstate 22:21:17 ? 22:21:23 ah 22:22:09 hi c[] :) 22:22:15 hey rdrop-exit 22:22:56 hi tabemann 22:23:36 note that anything you really want to go in the binary should go before the restore-state 22:23:58 because at least on F407 that cornerstone wastes a tremendous amount of space 22:24:44 because it has to pad out all the way to the end of the flash sector 22:24:57 due to how flash works on the F407 22:25:14 and the flash sector in question is 64K in size 22:29:32 tabemann, I havent got that far yet 22:29:56 tabemann, first I needed the free word to quantify where I was 22:30:28 by the way, if you want to nuke everything but the kernel, there's erase-all 22:30:47 oh cool 22:31:35 but then you lose all the "full" functionality 22:32:04 it's main use is if you're developing "full" functionality and you make a mistake and need to start over again 22:32:42 *its 22:33:34 sure 22:33:46 I do the equivalent a lot on Mecrisp-Stellaris 22:34:17 ok, I'm nearly ready to try some Forth to gas to add RTS handshaking 23:28:49 --- quit: dave0 (Quit: dave's not here) 23:48:24 --- quit: _whitelogger (Remote host closed the connection) 23:51:27 --- join: _whitelogger joined #forth 23:59:59 --- log: ended forth/20.05.30