00:00:00 --- log: started forth/19.08.25 00:15:54 --- quit: sigjuice (Ping timeout: 244 seconds) 00:18:29 --- join: sigjuice (~sigjuice@107.170.193.86) joined #forth 00:23:10 --- quit: ryke (Ping timeout: 258 seconds) 01:31:21 --- join: logiqub (5ca33649@amontsouris-651-1-184-73.w92-163.abo.wanadoo.fr) joined #forth 01:45:48 pointfree Thanks for giving the link to the SV-FIG meeting notes yesterday. 01:47:12 Hello everyone. Finally got accelerated graphics to work on RPi3. It's a pleasure to play tetris on a small board. 01:47:49 Does anyone know a Forther obscessed with game development (or graphics in general) ? 02:25:26 --- quit: kori (Ping timeout: 276 seconds) 03:18:59 --- join: dave0 (~dave0@069.d.003.ncl.iprimus.net.au) joined #forth 04:39:33 --- quit: gravicappa (Ping timeout: 245 seconds) 05:33:04 --- quit: dave0 (Quit: dave's not here) 05:33:54 logiqub: Roger Levy posts a lot about gamedev in forth on reddit, Twitter, and Facebook https://github.com/RogerLevy 05:50:01 @pointfree Thank you. 06:06:45 --- join: gravicappa (~gravicapp@h109-187-46-216.dyn.bashtel.ru) joined #forth 06:50:49 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 06:54:02 --- quit: deesix (Quit: Reconnecting) 06:54:18 --- join: deesix (~dddddd@unaffiliated/dddddd) joined #forth 09:15:38 --- quit: logiqub (Remote host closed the connection) 11:28:32 --- join: logiqub (5ca33649@amontsouris-651-1-184-73.w92-163.abo.wanadoo.fr) joined #forth 11:59:34 --- join: ryke (~Thunderbi@71-9-169-152.dhcp.jcsn.tn.charter.com) joined #forth 12:14:39 --- join: mtsd (~mtsd@94-137-100-130.customers.ownit.se) joined #forth 12:37:57 --- quit: mtsd (Quit: Leaving) 12:41:59 --- quit: gravicappa (Ping timeout: 246 seconds) 14:53:22 --- join: dave0 (~dave0@069.d.003.ncl.iprimus.net.au) joined #forth 16:17:51 --- quit: john_cephalopoda (Ping timeout: 252 seconds) 16:20:02 --- join: john_cephalopoda (~john@unaffiliated/john-cephalopoda/x-6407167) joined #forth 16:51:52 --- join: tabemann (~tabemann@h193.235.138.40.static.ip.windstream.net) joined #forth 17:02:46 --- join: rdrop-exit (~markwilli@112.201.162.86) joined #forth 17:49:51 https://www.youtube.com/watch?v=jnZ2NNYySuE 18:03:20 --- quit: ryke (Ping timeout: 245 seconds) 18:11:04 hey guys 18:13:21 hey tabemann 18:26:13 hey 18:26:41 * tabemann wonders why his IRC client didn't do the notification thing upon his nick being mentioned 18:27:17 tabemann, 18:27:20 tabemann, 18:27:21 tabemann, 18:27:23 :) 18:30:37 nope 18:31:21 --- join: tabemann_ (~tabemann_@h193.235.138.40.static.ip.windstream.net) joined #forth 18:31:44 tabemann 18:31:48 nope 18:32:01 --- part: tabemann_ left #forth 18:32:55 okay, I have to /msg myself for it do so 18:34:55 --- join: chunkypuffs (~chunkypuf@static.203.112.216.95.clients.your-server.de) joined #forth 18:55:50 --- quit: tabemann (Ping timeout: 245 seconds) 19:04:50 --- join: ryke (~Thunderbi@71-9-169-152.dhcp.jcsn.tn.charter.com) joined #forth 19:08:58 --- quit: ryke (Ping timeout: 248 seconds) 19:30:18 --- join: sw (578cc100@87.140.193.0) joined #forth 19:30:38 --- quit: sw (Remote host closed the connection) 19:32:42 --- join: west82 (578cc100@87.140.193.0) joined #forth 19:35:53 hello i program forth only a few week. Can someone explain how i loop something till a register changes its content ? 19:37:22 i write this definition: : wait begin DATARDY @ 1= while again ; 19:39:23 that will loop until DATARDY = 1 ? 19:40:09 then you read the register concerned 19:40:20 seems ok to me 19:40:21 oh sorry i mean : wait begin DATARDY @ 0 = while again 19:40:55 i get an error "stack is unbalanced" what does that mean ? 19:41:47 usually that the full sequence of the command isnt there 19:43:04 i want to wait till the value of the register DATARDY is <> 0 19:43:43 how will you solve that @ tp ? 19:43:45 understand 19:44:34 do you want to know if DATARDY is non zero or it it has changed ? 19:44:49 do you want to know if DATARDY is non zero or if it has changed ? 19:45:10 i wanna know is it changed or not 19:45:39 if the content is changed the loop should end 19:45:47 there are many ways to do it in Forth and some of those ways use hardware methods also 19:46:33 it for measuring a temperature sensor 19:46:36 if youre just looping until a data change then the CPU wont be available for anythig else 19:46:59 yes i know 19:47:06 what Forth are you using ? 19:47:10 what MCU ? 19:47:12 its only for the beginning 19:47:25 sounds like mecrisp ? 19:47:48 what is your temperature sensor ? 19:47:50 yes mecrisp stellaris 19:48:21 chip is nrf51822 19:48:33 on the bbc micro bit 19:48:38 ah 19:49:09 i want to explore the chip a little 19:49:56 I have written a few different methods to print a changing value 19:50:44 i like forth because u can connect directly to the chip and read or write registers. in c you must write a lot of routines and u have the compile flash cycle 19:50:46 basically you read the current value and compare it to the last value and if theyre different print 19:50:53 absolutely 19:51:09 I use Forth for the same reason 19:51:28 forth is amazing ! 19:51:45 very versatile because of it's interactivity 19:52:06 but its sad that it is not often used in the industry 19:52:21 how would people know ? 19:52:43 commercial product makers dont tell people what OS is inside the chip 19:53:10 do you have expierience with implementing forth in an fpga ? 19:53:27 no, Ive never use a FPGA an probably never will 19:54:04 a $0.50 STM32F0xx does all I need and much more 19:54:42 "I have written a few different methods to print a changing value" can you send me some of that words please ? 19:54:45 of course there is James Bowmans J1 cpu on a FPGA which runs Mecrisp-Ice for those that want it 19:55:29 yes i see that project on the lattice ice-storm 19:56:29 chuck moore also works for a company named greenarray wich develop forth chips 19:58:51 yes, hes a partner in that firm I believe 19:59:21 " STM32F0xx does all I need and much more" also a merisp stelaris user ;-) 19:59:44 yes, I have been since 2014 20:00:15 I maintain a document site for Mecrisp-Stellaris 20:00:28 https://mecrisp-stellaris-folkdoc.sourceforge.io/index.html 20:01:27 aha you are terry porter 20:01:42 thats me 20:02:02 is that video from you https://www.youtube.com/watch?v=dvTI3KmcZ7I 20:02:05 ? 20:02:20 this is my most complex code for filtering a changing value 20:02:22 \ 10 sieve . 10 ok. 20:02:23 \ 5 sieve . 10 ok. 20:02:23 \ 11 sieve . 10 ok. 20:02:23 \ 15 sieve . 10 ok. 20:02:23 \ 21 sieve . 21 ok. 20:02:23 \ 20 sieve . 21 ok. 20:02:25 10 constant sieve-size \ Reject variations of less than 10 20:02:27 0 variable oldinput 20:02:29 : sieve ( newinput -- output only if newinput = oldinput +- sieve-size ) 20:02:31 dup oldinput @ sieve-size - <= if 0 >r else 1 >r then 20:02:33 dup oldinput @ sieve-size + >= if 0 >r else 1 >r then 20:02:35 r> r> and if drop oldinput @ else dup oldinput ! then 20:02:37 ; 20:02:53 thank you terry 20:03:09 no that video is by this guy 20:03:55 this video was the reason why i came to forth 20:04:08 https://www.youtube.com/watch?v=55234oZ0EDU 20:04:21 he also made this video recently 20:04:35 Im pretty sure it's the same guy 20:04:44 i also have installed gforth but i dont know what to do with it i use it for learning 20:05:08 I have never used gforth, I only use Forth on embedded gear 20:05:38 but i think there are not much desktop applications out there written in forth 20:05:52 mostly used in embedded 20:06:36 my program 'sieve' takes a number and passes it on depending on the last number it processed 20:07:11 every Apple OSX and every *BSD PC runs Forth when it boots 20:07:23 as Forth is used in the bootloader 20:07:35 thank you for it i will test it later, 20:07:49 in germany now its 5.07 am 20:07:56 so say you had a temperature reading in degrees C ? 20:07:59 i know 20:08:04 open firmware 20:08:12 ahh, you are German ? 20:08:19 thats one of them 20:08:20 it is also used in the OLPC 20:08:25 true 20:08:43 yes 20:08:46 but you dont want to print every degree change, only every 10 degrees ? 20:08:56 south germany , bavaria 20:09:14 yes 20:09:26 then youd use my sieve as shown above and it will only print a temperature change of plus or minus 10 degrees or more 20:09:41 :-) 20:09:56 it will ignore a temperature change of plus or minus 1 to 9 degrees 20:10:03 bavaria! 20:10:14 have you met Matthias Koch ? 20:10:23 really 20:10:30 he is the author of Mecrisp 20:10:37 i know 20:10:54 he has also video on youtube 20:10:54 yeah, I made sieve to filter noise from a ADC 20:10:59 he does 20:11:20 he use forth for his PhD i think 20:11:35 that way I dont have to average readings, I can just ignore small variations 20:11:45 ok 20:11:58 i will tell you later 20:12:07 no, his PhD was on optical spectrometry of alga I thing 20:12:08 i must go to sleep 20:12:18 no worries, thanks for the chat! 20:12:42 normaly i want to sleep at 0 20:12:49 of course 20:12:59 but forth say no ;-) 20:13:00 normally we discuss embedded on #mecrisp 20:13:03 heheh 20:13:16 $forth is for more general forth, not embedded 20:13:21 freenode 'mecris 20:13:23 #forth is for more general forth, not embedded 20:13:33 ok 20:13:39 yeah, freenode #mecrisp 20:14:00 ok i also will come to mecrisp 20:14:10 --- join: tabemann (~tabemann@2600:1700:7990:24e0:d982:9b38:7fbf:75fc) joined #forth 20:14:13 and this ch is not for mecrisp anyway 20:14:21 thanks for the chat and the help terry 20:14:24 no worries, see you there sometime :) 20:14:33 ok 20:14:42 have a nice day 20:14:52 and thank you 20:14:57 bye! 20:15:05 hey again 20:15:13 cya ! 20:15:25 --- quit: west82 (Remote host closed the connection) 20:16:09 --- join: diginet2 (~diginet@107.170.146.29) joined #forth 20:24:57 --- join: pierpal (~pierpal@host114-234-dynamic.52-79-r.retail.telecomitalia.it) joined #forth 20:26:09 tabemann, hey 20:26:21 tabemann, your notification working now ? 20:30:18 --- quit: dddddd (Remote host closed the connection) 20:56:05 --- quit: dave0 (Quit: dave's not here) 21:10:47 --- quit: rdrop-exit (Quit: Lost terminal) 21:33:03 --- join: gravicappa (~gravicapp@h109-187-46-216.dyn.bashtel.ru) joined #forth 21:45:52 --- quit: logiqub (Remote host closed the connection) 22:19:09 --- quit: reepca (Ping timeout: 245 seconds) 23:53:18 --- quit: dys (Ping timeout: 245 seconds) 23:59:59 --- log: ended forth/19.08.25