2024-05-02 03:27:38 Is it super tempting to write parser words? 2024-05-02 03:27:50 Like, it is SUPER tempting to write parser words to help with array accesses. 2024-05-02 03:27:57 (or definitions) 2024-05-02 04:14:20 are you tempted to write words/routines/whatever you want to call the function, to take arguments off stack, arrays of words or structures, and parse them? 2024-05-02 04:14:43 are you tempted? :) 2024-05-02 04:14:56 haha 2024-05-02 04:14:59 YES 2024-05-02 04:19:05 well, is your question is this right or proper, or should could would you think more word like instead of structure like? 2024-05-02 04:19:19 did you the book TIL? 2024-05-02 04:19:26 sorry? 2024-05-02 04:19:43 did i not link to you the book TIL? 2024-05-02 04:19:53 pdf available online that would answer your question? 2024-05-02 04:20:10 easy read, and will introduce you to the idea of threaded wording. 2024-05-02 04:20:14 maybe I missed something here. 2024-05-02 04:21:32 https://archive.org/download/R.G.LoeligerThreadedInterpretiveLanguagesTheirDesignAndImplementationByteBooks1981/R.%20G.%20Loeliger-Threaded%20Interpretive%20Languages_%20Their%20Design%20and%20Implementation-Byte%20Books%20%281981%29.pdf 2024-05-02 04:22:08 best book I can recommend other than Brodie's, Leo is entertaining, on the subject of how to think and behave regarding stack/rpn systems. 2024-05-02 04:22:28 Ah, nice 2024-05-02 04:22:30 I'll check that out 2024-05-02 04:22:40 please do, thought I have recommended this to you in the past. 2024-05-02 04:23:12 about shoving stuff on stack, or referencing, might want to consider much less generality, and more specific application and need. 2024-05-02 04:23:35 if you are looking for a generalized language, reuse, and of course readability for educational needs, or otherwise, forth may not be your language. 2024-05-02 04:23:39 It's possible you did but I consume a lot of crap ina day 2024-05-02 04:23:54 well, I don't consider my advice crap, but now I know it is. 2024-05-02 04:24:20 you misunderstand :) 2024-05-02 04:24:36 Let me rephrase 2024-05-02 04:24:46 It's possible you did but I consume a lot of information in a day 2024-05-02 04:25:13 It's easy for me to lose recommendations, remember to watch something I wanted to, etc 2024-05-02 04:25:25 I appreciate the reminder, thank you 2024-05-02 04:40:44 i understood you consumed drugs xd 2024-05-02 04:41:27 vms14 have you been a client of a doctor, under prescriptive advice and abided? 2024-05-02 04:41:37 xP 2024-05-02 04:41:53 damn right, most likely, and best of all, face plant. :) 2024-05-02 04:42:07 not yet 2024-05-02 04:42:17 you have, but we'll go with 'not yet' 2024-05-02 04:42:29 sweet johnny. 2024-05-02 05:25:30 So my bitcoin miner on gameboy is done 2024-05-02 05:25:33 Uploading a video 2024-05-02 05:25:42 I'm going to try and get it merged into gbforth 2024-05-02 05:25:44 as an example 2024-05-02 06:10:54 https://www.youtube.com/watch?v=1cg2rssdJvE 2024-05-02 06:11:04 On Game Boy, it's bugged, producing the wrong hash. 2024-05-02 06:11:14 Maybe someone could help me find out where? 2024-05-02 06:23:02 https://github.com/ams-hackers/gbforth/pull/342 2024-05-02 06:40:40 can you walk through the code line by line comparing what it does to what you expect it to do? 2024-05-02 06:41:40 that's what someone would do to help you. unfortunately, it's less likely that someone would wade through your code line by line when you ask for help online 2024-05-02 06:42:05 Testing it one word at a time would be a thorough approach. 2024-05-02 06:42:14 but if you can narrow it down to a small chunk that's not working as expected, it's easier to offer help 2024-05-02 06:43:01 I suspect something to do with word length differences or the behavior of something like mod. I'm not familiar with gbforth, though. 2024-05-02 06:44:54 Is it weird that the hash produced by gforth has a bunch of zeroes at the end? 2024-05-02 06:52:37 I also recall the first time I worked with forth on a microcontroller, I found that create ... allot didn't work as expected when writing to flash because memory was allocated in reverse. 2024-05-02 06:54:18 dbucklin: that's how bitcoin mining works. you're finding some amount of zero bits :) 2024-05-02 06:54:48 MrMobius: obviously, I have done this :) 2024-05-02 06:55:10 The next thing is to open this in an emulator that can consume .sym files and step through shit... 2024-05-02 06:55:33 dbucklin: yes ,I suspect you're right about that 2024-05-02 06:55:36 lf94: great! now send us a link to the source file and let us know what line number to look at 2024-05-02 06:55:51 I did send a link to the source :) 2024-05-02 06:56:02 https://github.com/ams-hackers/gbforth/pull/342/files 2024-05-02 06:56:32 dbucklin mentioned `mod` being sketchy. Comments like that I'm looking for 2024-05-02 06:56:41 lf94: thanks. which line? 2024-05-02 07:00:03 I wonder if I found a bug in gbforth 2024-05-02 07:00:14 It seems this is one of the more sophisticated programs 2024-05-02 07:00:51 I should try running this on durexforth 2024-05-02 07:03:14 Blah, guess I'll debug it tomorrow 2024-05-02 07:03:24 If it's a bug in gbforth, it'll be nice to send them a fix. 2024-05-02 16:01:07 Alternatively I'd love to hear any improvements I could make