00:00:00 --- log: started forth/20.01.13 00:03:00 --- join: mtsd joined #forth 00:05:36 --- quit: tpbsd (Remote host closed the connection) 00:05:52 --- join: tpbsd joined #forth 00:09:09 --- quit: dave9 (Ping timeout: 268 seconds) 00:09:23 --- quit: bluekelp (Remote host closed the connection) 00:10:19 --- join: bluekelp joined #forth 00:11:37 --- quit: ryke (Ping timeout: 240 seconds) 00:16:55 --- join: smokeink joined #forth 00:24:54 --- join: dave9 joined #forth 00:53:23 --- join: dys joined #forth 01:07:54 --- quit: smokeink (Remote host closed the connection) 01:09:37 --- join: smokeink joined #forth 01:17:16 --- join: xek joined #forth 01:28:01 --- quit: smokeink (Remote host closed the connection) 01:29:40 --- join: smokeink joined #forth 01:29:52 --- quit: smokeink (Remote host closed the connection) 01:40:37 --- join: dave0 joined #forth 02:30:40 --- join: Labu joined #forth 02:33:27 --- quit: mtsd (Ping timeout: 268 seconds) 02:40:13 --- join: iyzsong joined #forth 03:01:33 --- quit: iyzsong (Remote host closed the connection) 03:01:52 --- join: iyzsong joined #forth 03:02:43 --- join: rdrop-exit joined #forth 03:03:19 c[] Hello Forthwrights! 03:08:49 --- quit: proteus-guy (Ping timeout: 240 seconds) 03:17:12 Hello! 03:17:29 Hi WilhelmVonW! 03:19:12 what's up? 03:19:23 Forthing on a monday? 03:19:43 Staying home, don't want to breath volcano ashes. 03:20:36 Just relaxing with a cup of coffee 03:22:19 Haven't done any Forthing in a few days 03:22:35 Sounds pretty relaxing, a cuppa and volcano ash 03:22:51 where's this volcano? 03:23:06 just a sec 03:23:43 --- join: mtsd joined #forth 03:24:07 https://www.youtube.com/watch?v=IJvQduF7ycQ 03:24:49 Check this out: 03:24:49 https://www.youtube.com/watch?v=8nVPWCv5dVw 03:25:18 The eruption is making lightning 03:26:46 It's about 50km from me 03:26:58 I don't read the news anymore so the only way I hear about these things is being told, or chance. 03:27:42 holy crap! 03:27:46 the lightning! 03:27:48 It's not recommended to go out because of the ash 03:29:10 Volcanic ash is like powdered glass 03:29:16 --- join: dddddd joined #forth 03:29:39 someone at work just mentioned up to 60cm of ash in some places? 03:30:48 yes, at least it's in the middle of a lake, unlike Mount Pinatubo in 1991 03:33:39 https://en.wikipedia.org/wiki/Taal_Volcano 03:36:58 They've evacuated a 14km radius 03:38:52 They're also afraid of volcanic tsunami in the lake 03:42:52 https://www.youtube.com/watch?v=yKiWAE_eEhc 03:48:07 I would just.. move to Cornwall 03:48:17 :)) 03:51:37 My latest Forth related activity has been to write a RISC-V assembler and debug module controller in Forth 03:51:47 Not done with it yet 03:54:59 I'm new to RISC-V, lots to grok 04:02:20 --- quit: iyzsong (Quit: ZNC 1.7.1 - https://znc.in) 04:24:12 rdrop-exit, I plan to look into RISC-V for a (non-forth) kind of macro assembler. I think its intructions are a bit crazy, arent't they? I mean, not quite trivial structure in the chucks of its bits. Did you find that to be true? Is your WIP available online? 04:26:56 Some of the literal fields are a bit scrambled 04:27:32 yeah, that might ring a bell indeed 04:27:50 but I'm only doing RV32IMC so that reduces the work I need to do 04:28:19 I don't post WIP online 04:28:33 fair enough, thanks 04:28:54 sure 04:29:19 dinner time, keep on Forthin' :) 04:29:25 --- quit: rdrop-exit (Quit: Lost terminal) 04:35:35 *aren't *chunks; and broken english, sorry for that ;) 05:01:16 --- quit: gravicappa (Ping timeout: 265 seconds) 05:01:48 --- join: gravicappa joined #forth 06:14:10 --- quit: dave0 (Quit: dave's not here) 06:39:09 --- join: ryke joined #forth 06:42:51 --- quit: mtsd (Quit: Leaving) 07:31:32 --- quit: ryke (Ping timeout: 258 seconds) 07:37:24 --- quit: tabemann (Ping timeout: 260 seconds) 10:21:55 --- quit: dys (Ping timeout: 245 seconds) 11:13:36 --- join: WickedShell joined #forth 11:31:53 --- join: X-Scale` joined #forth 11:33:27 --- quit: X-Scale (Ping timeout: 265 seconds) 11:33:28 --- nick: X-Scale` -> X-Scale 12:36:20 --- quit: X-Scale (Ping timeout: 260 seconds) 12:37:04 --- join: X-Scale` joined #forth 12:37:50 --- nick: X-Scale` -> X-Scale 12:56:25 --- quit: gravicappa (Ping timeout: 240 seconds) 13:55:04 --- join: dave0 joined #forth 14:22:31 --- join: jedb_ joined #forth 14:24:49 --- quit: jedb__ (Ping timeout: 240 seconds) 14:24:50 --- quit: xek (Ping timeout: 265 seconds) 14:55:06 --- join: smokeink joined #forth 15:05:04 --- join: ryke joined #forth 15:26:19 --- quit: ryke (Ping timeout: 268 seconds) 15:28:04 --- join: inode joined #forth 17:36:44 --- join: tabemann joined #forth 18:01:46 --- quit: Labu (Quit: Leaving.) 18:08:01 --- quit: tabemann (Ping timeout: 240 seconds) 18:17:09 --- quit: dave0 (Quit: dave's not here) 18:47:41 --- join: rdrop-exit joined #forth 18:51:37 c[] good morning Forthwrights 19:38:57 dddddd, are you still here? 19:39:19 Hi rdrop-exit 19:39:30 Hi crc :) 19:39:40 How are things with the volcano? 19:40:24 it's still at alert level 4 19:40:47 Alert Level 4 still remains in effect over Taal Volcano. This means that hazardous explosive eruption is possible within hours to days. DOST-PHIVOLCS strongly reiterates total evacuation of Taal Volcano Island and areas at high risk to pyroclastic density currents and volcanic tsunami within a 14-kilometer radius from Taal Main Crater. 19:43:27 --- quit: rdrop-exit (Quit: Lost terminal) 19:44:15 --- join: rdrop-exit joined #forth 19:45:02 hh 19:45:22 something's wrong with my irrc 19:48:02 as of this morning it's still spewing 500m tall lava fountains topped by 2km tall ash plumes 19:49:35 Here in Metro Manila, about 50km away, you have to wear a mask outside 19:54:46 --- quit: rdrop-exit (Quit: Lost terminal) 19:55:43 --- join: rdrop-exit joined #forth 19:56:12 : bltu, ( rs1 rs2 sx[12:0] -- ) $ 00006063 b-type, ; 19:58:47 dddddd that's an example of an RISC-V instruction that "scramble" the immediate bits 19:59:31 it's branch-if-less-then-unsigned, it takes a 13-bit sign extended immediate 20:00:07 and is what they're calling a B-TYPE instruction 20:00:34 This is my code for handling B-TYPE instructions: 20:00:52 : b-type, ( rs1 rs2 sx[12:0] 32b -- ) 20:00:52 +b.sx[12:0] +r.rs2 +r.rs1 32code, ; 20:02:12 this is the code that handles the "scrambling" of the 13-bit sign extended immediate value: 20:02:25 : +b.sx[12:0] ( sx[12:0] 32b -- 32b' ) 20:02:26 swap 13 2's-imm tuck 1 lowimm0s 20:02:26 over 12 bit 31 bit scramble 20:02:26 over 11 bit 7 bit scramble 20:02:26 over 10 5 bits 30 25 bits scramble 20:02:28 swap 4 1 bits 11 8 bits scramble ; 20:04:37 e.g. bits 10 through 5 of the argument are placed in bits 30 through 25 of the instruction 20:05:06 etc... 20:05:51 hope that helps, keep in mind this is just a draft work-in-progress 20:09:10 right now I'm focused on the debug controller's code, rather than the assembler 20:15:21 --- join: deesix joined #forth 20:18:33 Yes, thanks for the example. Good luck with that Volcano! 20:18:43 * dddddd off but will read logs 20:18:46 Thanks! :) 20:19:23 --- quit: dddddd (Remote host closed the connection) 20:43:14 --- quit: rdrop-exit (Quit: Lost terminal) 20:44:27 --- join: jedb__ joined #forth 20:47:31 --- quit: jedb_ (Ping timeout: 260 seconds) 20:55:06 --- join: gravicappa joined #forth 21:10:07 --- join: ryke joined #forth 21:12:55 --- join: rdrop-exit joined #forth 21:14:18 dddddd, I made the code a little more consistent by changing one of the factors: 21:14:23 rdrop-exit, so hows life in the shadow of Pompeii ? 21:14:31 : +b.sx[12:0] ( sx[12:0] 32b -- 32b' ) 21:14:31 over 13 2's-imm over 1 lowimm0s 21:14:31 over 12 bit 31 bit scramble 21:14:31 over 11 bit 7 bit scramble 21:14:31 over 10 5 bits 30 25 bits scramble 21:14:33 swap 4 1 bits 11 8 bits scramble ; 21:14:59 Hi Forth Master Technician (tm)! 21:15:27 I'm stuck at home with dogs, keeping the ashes away from my lungs. 21:17:09 What are you up to tpbsd? 21:20:27 the usual, technishing and writing Forth code, some of it is probably even presentable these days! 21:20:50 Excellent! 21:21:14 i guess silicosis is what you have to watch out for with lungs and volcanic smoke ? 21:22:04 The ash is like very fine glass/obsidian powder, you want to keep it off your skin and out of your lungs 21:22:22 I've been breathing bushfire smoke for about a month - 6 weeks which is bad enough but silicosis is much worse 21:22:41 thats right, it tears into your lungs I guess 21:23:06 right, my lungs are bad enough as it is 21:23:17 will you be getting aqny new mountains or land out of it ? 21:23:28 smoker/ex smoker ? 21:23:42 don't know 21:23:45 smoker 21:24:26 ah well we all have our vices, mine is blue and offset 21:24:49 mines coffee and cigarettes 21:24:50 and on a pedestal 21:25:23 ( a blue offset pedestal vice) 21:25:29 hmmm 21:25:46 not sure what you mean 21:26:52 https://www.irwin.com.au/tools/vices/offset-engineers-steel-vice <-- like that but on a stand 21:27:31 I haven't coded in a few days, now starting on the code for a debug controller 21:27:36 Ah, I see 21:28:34 I have, this is my latest code: https://mecrisp-stellaris-folkdoc.sourceforge.io/memstat.html#memstat 21:28:41 So many debug registers to grok 21:29:06 as a hardware guy I have always loved registers 21:29:11 cool! 21:29:51 to me registers are like toolchests with many draws and each draw contains cool tools 21:29:54 I do too, but when there are tons of them, with of different bitfields to grok, it gets tiring 21:30:21 * tons of different bitfields... 21:31:47 my little stm32f051 has 32 peripherals, 400 registers and 3000 bitfields, I never tire of learning what they do 21:32:20 funny how people with different interests vire things differently 21:32:24 view 21:33:39 are you referring to the CPU specific bitfields or the peripheral bitfields ? not peripherals I guess as the RISC-V core doesnt have peripherals ? 21:34:11 same as the ARM cortex-m core doesnt have peripherals ? 21:34:28 These are the debug hardware's registers 21:34:42 accessible via JTAG 21:35:32 RISC-V core stuff ? 21:35:57 For resetting, halting, inspecting, measuring, controlling RISC-V cores 21:36:19 yeah RISC-V core 21:36:59 that would bore me to as Im only interested in the peripherals being a tech 21:37:41 and in the case of the GD32VF103 most of them are the same as the STM32F10xx pewripherals 21:38:05 exceptions being the interrupt system 21:39:19 --- join: dave0 joined #forth 21:41:10 Sure but you're also programming utilities such as your memstat 21:41:39 yeah because theyre development aids 21:41:54 I've always been a toolbuilder 21:42:40 I have made pliers, hammers, specialist tools etc, so the software I make is really just a variation of a tool 21:42:55 Right, same here, the debug interface is what the tether will use to control and program the target 21:43:29 and also to get all the profiling and debugging 21:44:17 info 21:44:26 your system sounds pretty good, I volunteer to be a beta tester when you release it :) 21:45:12 i havent been back to mecrisp-across in a while but I'm looking forward to working on the new release soon 21:45:26 I don't think anyone else would enjoy using it, the user interface is 100% taylored to me 21:45:54 Matthias added 'pictured numerical output' to it at my request, so I can make up my register viewer 21:46:17 It's not really targeted for the general population 21:46:30 and you're probably right 21:46:44 Forth users build tools to suit temselves 21:47:06 not others because for one thing, they can only think for themselves 21:47:13 not others 21:47:58 yes, you can't please everybody, but you can make something that fits you perfectly 21:48:03 I've been lucky with mecrisp, it suits the way I think 21:48:58 --- quit: dave0 (Quit: dave's not here) 21:49:10 funny isnt it ? pretty much the only 'custom made' programming language one can get is Forth or Lisp ? 21:49:35 everthing else is 'off the hook' 21:50:22 C will always look like C, Python will always look like Python etc 21:50:50 rdrop-exit, do you ever read C.L.F on usenet ? 21:51:03 yes, a couple times a week 21:51:30 read posts by Raul Rubin ? 21:51:44 I can never work out if hes a troll or just a PITA 21:52:09 he posts as tho he knows Forth but I think he has never made anything with it 21:52:32 Most of usenet is trolling, no different from the rest of usenet 21:52:40 The name rings a bell 21:52:41 hes not alone there I know, but hes fairly knowledgeable and polite, unlike some of the nutters 21:53:32 I used to debate with him back in 2016 I think, at that time he had zero knowledge of Forth on embedded iirc 21:54:07 he doesnt seem to have learnt much in the years I wasnt reading usenet (2016 - 2019) 21:54:11 I don't remember any post in particular from him, but the name rings a bell 21:54:23 hes a python user 21:55:01 or claims to be. He advocates python on embedded but his arguments seem flimsy to me 21:55:20 --- join: dave0 joined #forth 21:55:22 not to worry, just wonder`ed if youd seen him 21:55:42 I'll keep an eye out 21:56:01 there are some very knowledgable Forth people there, mark willis, anton ertl etc 21:56:43 and my favorite .. Elizabeth D. Rather 21:57:21 she goes way back to working with Moore in the early days 21:58:03 Yes, but the discussions are often all about what ANS Forth is missing to make it more acceptable to the rest of the world 21:58:23 yeah, 99% of it is of no interest to me 21:58:44 but my 'next' button works very well :) 21:59:09 More abstraction, more bloat 22:00:00 when it comes to Forth online my own narrow set of interests mean that there is only a small area that ever interests me 22:00:22 Elizabeth doesn't post often anymore sadly 22:00:51 yeah, shes not young anymore either 22:01:00 Ive always admired her 22:01:27 Their main driver is standardization 22:01:29 she actually supported a argument I made years ago, and that was it, Ive worshipped her ever since ;-) 22:01:36 :))) 22:02:14 yeah and forths main enemy is standardisation 22:02:31 hey, I used Gforth for the first time ever this past weekend 22:02:54 Standards are great, but Forth is my non-standard glue 22:02:55 I never liked it and couldnt use it when I forst tried it 22:03:50 but the newest thing Ive found in the past week is CRC's Retro 22:04:44 I've been using Retro to do some stuff and it's like a fresh gust of mountain air down from the alps 22:04:51 cool 22:05:19 where gforth is a monster, retro is a neat, tidy gymnast 22:05:50 and the retro doc is awesome. Ive been easily able to use retro from the shell, and in a script 22:06:19 Cool, quality documentation is a rare thing 22:06:37 the utility of retro on unix seems unlimited 22:06:51 yes, so true. Retro doc is outstanding 22:07:07 and naturally good doc doesnt happen by acccident 22:07:22 Retro uses Fossil SCM, same as me! 22:07:24 Good doc is tons of work 22:07:30 it can be 22:07:46 to a programmer doc is hard, horrible and painful 22:07:55 (usually) 22:08:06 to a writer, doc is fun and a challenge 22:08:32 What's nice about Fossil? 22:08:53 as a tech, I'm ambivalent about doc, it's not painful, it's not outstanding fun 22:09:05 fossil ? 22:09:14 yes 22:09:20 fossil is very complex, so the answer isnt simple 22:09:46 That's ok then, I'll find a youtube video to put on my watch list 22:09:48 I have many reasons I like fossil 22:10:40 --- quit: gravicappa (Ping timeout: 268 seconds) 22:11:44 I like the fact that fossil is built on sqlite and each fossil repo is a single file containing everything in the SCM plus a wikki and a bug ticket system 22:12:20 plus a web server for the SCM (if desired) 22:13:11 do you use the wiki and ticket system for your projects? 22:13:18 a fossil repo can hold anything from text to binary 22:13:22 I do 22:13:53 I use fossil for every project, be it embedded, forth, PC, documentation ... anything 22:14:19 every night I back up all my fossil repos onto a usb drive 22:14:46 they are also on a RAID file system with 15 minute snapshots 22:15:24 I'm pretty sire if I lost my *.fossil repos youd hear my screams of grief for there 22:15:31 rom there 22:15:40 erk, I need a new keyboard 22:16:39 I like that fossil is distributed, if I put a repo file online, you can clone it remotely 22:17:43 having cloned mine, you can then upload to it if you have permission, and if you do and there is a conflict, it's designed to resolve them 22:18:37 so because Retro uses Fossil, I was easily able to clone the current retro and build it here on this box, then install it 22:19:04 it was smooth as silk, zero issues, built in about 0.1 second 22:19:30 color me impressed 22:19:50 the retro repo has the source, documentation, examples 22:20:30 it's well thought out and cleanly maintained ... my stuff is a mad womans breakfast in comparison 22:30:15 thanks for the info 22:30:42 rdrop-exit, Re: Is the SiFive FE310 a Toy? 22:30:57 Yes, it is a toy. It is a test chip that they decided to sell for fun. 22:31:28 rdrop-exit, that answer was from a serious russian american design engineer at microchip 22:32:16 The one I'm looking at is the HiFive1 Rev B 22:32:19 rdrop-exit, seems the FE310 used in the board you were planning to buy was just a prototype test chip 22:32:26 yeah I know 22:32:33 thats the chip in it 22:32:39 ah, ok 22:33:01 have a read: https://www.eevblog.com/forum/microcontrollers/is-the-sifive-fe310-a-toy/msg2870482/#msg2870482 22:33:18 ok thanks! 22:33:43 I'm not a big fan of this forum as they seem to hate Forth but there are some very experienced embedded engineers there 22:33:55 (who all hate forth) 22:34:21 but I try not to let negative Forth opinions color my view of the engineer 22:34:41 we all have our pet hates, mine is Microsoft and spiders 22:36:46 hahah, the arduino users on that forum want to persuade this guy to make his book in english: 22:36:50 https://botland.com.pl/en/books-about-microcontrollers/13945-stm32-microcontrollers-for-beginners-aleksander-kurczyk.html 22:36:58 "SiFive's business model is based on designing custom computer chips for other businesses." 22:37:11 so that they can try and understand the STM32F 'registers' ! 22:37:34 I guess SiFive plans to become anotehr ARM ? 22:37:52 Something like that, yes. 22:38:10 well, it's not a bad idea, the ARM owners made billions! 22:38:19 er millions 22:38:54 it was redhat who made 34 billion when they sold to IBM ! 22:39:03 is that INSANE or what ? 22:39:33 I think ARM Holdings was sold for about 40 Million ? 22:40:27 My main interest in their board is that it should follow the specs closely since they're the main guys pushing RISC-V. So I intend to use at as a test bed for verifying my tools. 22:41:35 i can see some potential issues 22:41:42 1) hardware mistakes 22:42:02 2) subsequent mods and changes 22:42:55 while it's attractive to use actual hardware, perhaps a software model would be better as errors/mods are easily incorporated ? 22:43:24 or a FPGA implementation that can be upgraded ? 22:44:06 ... just my 1cent ramblings, please ignore as appropriate 22:44:56 RISC-V is still immature, especially the debug layer 22:46:01 So no doubt there will be many teething problems I'll have to deal with 22:47:45 exctly 22:50:36 one step at a time, I'm in no rush anyway 22:51:54 yep 22:52:35 I have 2x RISC-V boards the $4 Chinese ones and I must say, they chips are fast! 22:53:17 ill do a bit more work on them but wont use them in any projects until I see that the chips are here to stay 22:54:01 --- quit: MrMobius (Ping timeout: 240 seconds) 22:54:56 wise 22:56:23 bbiab 23:08:44 --- join: MrMobius joined #forth 23:27:45 --- quit: jedb__ (Ping timeout: 268 seconds) 23:39:37 --- quit: ryke (Ping timeout: 240 seconds) 23:58:43 --- join: jedb joined #forth 23:59:59 --- log: ended forth/20.01.13