00:00:00 --- log: started forth/20.03.31 00:08:37 --- join: mtsd joined #forth 01:00:22 --- quit: proteusguy (Remote host closed the connection) 01:03:02 --- quit: nonlinear (Ping timeout: 256 seconds) 01:03:56 --- join: proteusguy joined #forth 01:03:57 --- mode: ChanServ set +v proteusguy 01:04:35 --- quit: rdrop-exit (Ping timeout: 256 seconds) 01:09:51 --- join: rdrop-exit joined #forth 01:13:32 --- join: nonlinear joined #forth 01:47:43 --- quit: rdrop-exit (Read error: Connection reset by peer) 01:51:34 --- join: rdrop-exit joined #forth 02:12:25 --- quit: _whitelogger (Remote host closed the connection) 02:15:29 --- join: _whitelogger joined #forth 03:00:57 --- quit: rdrop-exit (Ping timeout: 240 seconds) 03:12:44 --- quit: dave0 (Ping timeout: 258 seconds) 03:13:07 --- quit: dave9 (Ping timeout: 258 seconds) 03:25:08 --- join: dave0 joined #forth 03:28:21 --- join: dave9 joined #forth 03:36:36 --- join: iyzsong joined #forth 03:38:57 --- quit: jsoft (Ping timeout: 240 seconds) 03:51:13 --- join: rdrop-exit joined #forth 04:12:58 --- quit: rdrop-exit (Ping timeout: 260 seconds) 04:20:42 --- join: rdrop-exit joined #forth 05:09:54 --- quit: rdrop-exit (Ping timeout: 260 seconds) 05:15:26 --- join: rdrop-exit joined #forth 05:43:32 --- quit: rdrop-exit (Ping timeout: 256 seconds) 05:58:17 --- quit: iyzsong (Quit: ZNC 1.7.1 - https://znc.in) 05:59:31 --- join: dddddd joined #forth 06:08:28 --- quit: mtsd (Quit: Leaving) 06:11:46 --- join: rdrop-exit joined #forth 06:30:34 --- quit: rdrop-exit (Ping timeout: 256 seconds) 06:34:53 --- quit: dave0 (Quit: dave's not here) 06:56:06 --- join: rdrop-exit joined #forth 07:00:36 --- quit: rdrop-exit (Ping timeout: 256 seconds) 07:11:08 --- join: rdrop-exit joined #forth 07:24:24 --- quit: tabemann (Ping timeout: 256 seconds) 07:42:19 --- quit: rdrop-exit (Quit: Lost terminal) 11:00:06 --- join: jsoft joined #forth 11:25:34 --- quit: jsoft (Ping timeout: 260 seconds) 11:37:25 --- join: Zarutian_HTC joined #forth 12:18:00 --- quit: actuallybatman (Ping timeout: 264 seconds) 12:29:22 --- join: actuallybatman joined #forth 12:45:59 --- join: crab1 joined #forth 12:46:18 Hiya folks 12:46:58 o/ 12:47:19 what's up? 12:47:44 corona, clim and a can of beer, nothing forthy I'm afraid :) 12:48:35 nothing forthy at my end either, I need to parse JSON though :( 12:48:44 I hate JSON 12:55:07 also I'm getting months old statements in the mail 12:57:46 * jackdaniel recommends a can of beer 12:58:09 I can't drink beer :( 12:58:34 underaged or the health issues? 12:59:27 I have celiac disease, and beer has gluten from wheat 13:01:05 that must be annoying for you 13:01:18 yeah 13:01:23 I am also underage but 13:01:32 that doesn't mean I don't drink ;) 13:01:35 hey, nobody said "xor" 13:02:47 It sucks too because before I was 16 I had no issues and had the opportunity to eat/drink whatever I wanted, and then that was taken away 13:03:22 life brings more dissapointments with time 13:03:29 but also plenty of joy, no worries :) 13:04:03 Hopefully, there are lots of disappointments 13:27:18 --- quit: xek (Read error: Connection reset by peer) 14:07:29 https://en.wikipedia.org/wiki/Gluten-free_beer :) 14:12:14 --- join: Zarutian_HTC| joined #forth 14:12:45 --- quit: Zarutian_HTC| (Read error: No route to host) 14:12:45 --- quit: Zarutian_HTC (Read error: No route to host) 14:13:06 --- join: Zarutian_HTC joined #forth 14:30:19 --- quit: gravicappa (Ping timeout: 265 seconds) 14:42:13 --- join: WickedShell joined #forth 14:58:47 --- quit: dne (Remote host closed the connection) 15:00:55 --- join: dne joined #forth 15:03:37 --- join: dave0 joined #forth 15:05:43 --- quit: Keshl (Read error: Connection reset by peer) 15:06:06 --- join: Keshl joined #forth 15:13:27 --- quit: crab1 (Read error: Connection reset by peer) 15:24:39 --- quit: dave9 (Quit: dave's not here) 15:25:50 --- join: dave9 joined #forth 16:05:48 --- join: crab1 joined #forth 16:05:58 Good evening forth folks 16:07:58 good evening. Been looking for the name genarator code used in Final Fantasy ?V or VII? on the GameBoy 16:08:57 had an old bookmark but have lost it and expect it to have succumbed to linkrot 16:09:49 it basically took in prng seed and came back with a name string 16:11:20 trying to google or duckduckgo for it only turns up the GB roms and irrelevant search noise 16:12:28 I probably have to dig through the disassembly of those roms to find it again 16:12:56 Zarutian_HTC: have you looked in romhacking.net? 16:13:32 nope but I will 16:13:42 now in fact 16:14:13 everything is there 16:14:15 or umm, that other website I forgot about 16:16:08 Hm I've never played with that stuff 16:16:19 too proprietary for me :( 16:16:30 Zarutian_HTC: https://tcrf.net/ 16:16:43 bless tcrf 16:17:00 crab1: everything that's fun is proprietary 16:17:50 theres no FFV for the gameboy though 16:19:10 "everything that's fin is proprietary" how 16:19:24 s/fin/fun 16:20:09 Kumool: you sure? 16:20:29 greed crab1, greed 16:21:01 greed is no fun 16:21:52 greed is fun for the instantiator I guess 16:22:21 Maybe for a time, but it probably doesn't remain fun 16:22:42 Zarutian_HTC: and I'm not sure of anything, if however you had found a name generator and the bastard didn't release it in github or romhacking, f that guy 16:23:17 crab1: video games are mostly propietary, which are quite fun 16:23:26 greed is usually rooted in like fear or feelings of insecurity so it can't be too much fun in the end 16:23:52 for when having fun, means just that and not having a headache 16:23:56 the issue was that github had not existed at the time when the person had extracted the generator from the rom 16:24:09 Zarutian_HTC: sourceforge probably did 16:24:28 not sure if romhacking existed back then 16:25:09 how long ago was this? 16:25:15 gosh, is it in some geocities websites or some sort of yahoo group then? 16:25:22 the thing is, the extracted name algo had been translated into simple javascript 16:25:41 that's nice 16:25:53 i am currently going thriugh rom maps of the ff 16:25:55 s 16:26:46 just mad at meself for not saving that thing on my computer 16:27:20 why do you want it btw? 16:27:29 its weird to want a name generator for gameboy 16:28:08 function naming to annoy the crap of a frenimy of mine 16:28:28 also why ask here? go to like, the romhacking discord or some emulator channel 16:28:40 eh, it was part of the text compression used 16:29:41 I am thinking about porting the thing to Forth too ;) 16:30:12 which forth(s) 16:30:17 do most of yall use 16:30:44 and I wasnt actually asking just saying what I was up to ;þ 16:31:12 ah 16:31:13 --- quit: X-Scale (Ping timeout: 258 seconds) 16:31:14 :) 16:31:16 well, nevertheless, the people there are more helpful... well, they'll at least know more there 16:31:33 crab1: a moddified and ported eForth 16:31:38 --- join: X-Scale` joined #forth 16:32:21 I need to write a forth for use with 9front 16:32:21 --- nick: X-Scale` -> X-Scale 16:32:23 Kumool: naah you actually were helpfull by pointing out romhacking 16:48:18 --- join: tabemann joined #forth 16:49:04 welcome 16:51:09 crab1: is 9front worth using? 16:51:44 in a lot of ways, yes 16:52:05 but it's gonna take some work to make it my main system 16:55:12 It doesn't have: Matrix(messaging platform), Most languages I'd like to use, Can't do online banking as far as I can tell, not sure if I have any way to screencast, doesn't support playback of any video format 16:55:39 and that's just a few of the missing things I make use of on a regular basis 16:56:09 basically useless 16:57:31 hey guys 16:57:42 browsing pages without javascript works no problem, my hardware is mostly supported, email is easy, a lot is there 16:57:52 tabemann: hi 16:57:52 better use a vmware or something 16:58:18 Kumool: I don't like to do that 16:58:28 neither do I 16:58:41 I want a consistent interface 16:58:46 how about the community? is it still a bunch A's and D's? 16:59:47 I have had mixed results with the community, I think there are a couple bad apples but most of them seem nice 17:02:22 At any rate I certainly prefer it to linux/gnu operating systems and it's growing taller than the bsds for me if I can just get it to be usable 17:03:44 I tend to want something that can run firefox 17:04:10 firefox is a mess 17:04:12 which allows for gnu/linux and xbsd, but not stuff like 9front 17:04:44 the web is a mess, but its a necessary mess 17:04:46 unfortunately, today is an age where one cannot get by without javascript 17:05:18 hopefully more and more people give gopher a try. 17:05:34 I am too stubborn to accept those sorts of absolutes @tabemann 17:05:58 I have real things I have to deal with, like my banks and my daughter's school's website 17:06:56 I have banking to do too, I'm not sure how that's gonna go since my credit card is through an online-only bank 17:07:12 one of my banks even complains about firefox, but it at least it lets me use it 17:07:46 I also need a platform on which I can run gas, openocd, and gdb 17:08:12 which, again, includes gnu/linux and xbsd but probably excludes 9front 17:08:44 what is this 9front? 17:08:54 a plan 9 fork 17:09:08 it would exclude 9front yes. why specifically gas and gdb? 17:09:36 because they're part of the arm-non-eabi toolchain 17:09:48 considering everything is done online and theres a pandemic, throwing firefox out with no support is not commendable 17:10:16 I really do not want to write my own thumb-2 assembler 17:10:54 and without a compiler/assembler/linker/debugger toolchain, what do I write and debug that with 17:11:12 tabemann: right, you are hacking on STM32, no? 17:11:19 Zarutian_HTC, yes 17:11:30 I haven't thrown anything out, I still have a system running gnu, I'm just spending time to figure how usable I can get 9front to be for myself 17:11:54 got zeptoforth working for l476 and mostly working for f407 17:12:24 Welcome to zeptoforth ok 17:12:45 happy2 17:12:45 only 90 mA ! 17:12:45 ok 17:13:48 tpbsd: if you hadn't noticed, I put in a hack to shrink the size of the compiled basic.fs a bit 17:13:56 oh hello tp 17:14:14 I bet it'll have more impact on the l476, because the l476 has bigger flash pages than the f407 17:14:14 tabemann, I have my own source shrinker 17:14:34 btw, hey tp 17:14:51 oh, it shrinks the binaries you mean 17:14:57 yes tabemann 17:15:17 tpbsd: what this is that it was putting a coda of
$DEADBEEF after each single word compiled to flash 17:15:48 tabemann, I use a script that strips all comments and blank lines and concatenates all the source files 17:15:52 and what I did was eliminated that, when compress-flash mode was set on, and then only write it out when doing end-compress-flash afterwards 17:16:39 $DEADBEEF did what ? 17:17:00 however I also added something called commit-flash, which is called to force write-out of pending flash (for l476) before another thing dependent on it 17:17:03 just a last worf flag ? 17:17:07 yeah 17:17:42 it's used in initialization to detect when exactly the last word ends 17:17:43 does Mecrisp-Stellaris do that ? 17:17:55 or more like, where the address pointing to the last word is 17:18:00 donno 17:18:25 I've never seen it in the binaries so I dont thing so 17:18:48 I calculated that with my changes, basic.fs now takes up 13K 17:18:58 still big, but not super-big 17:19:14 it was 19.5kb 17:19:14 note that basic.fs is loaded starting at $6000 17:19:54 I've never worried about where stuff is loaded 17:20:25 okay, gonna have dinner - bbl 17:20:38 enjoy 17:20:44 I have an app that reads out the dictionary as ihex, the terminal log grabs it and turns it into a binary, so the chip is then cloned 17:20:50 cya 17:21:02 tpbsd: you use freebsd, right? 17:31:50 tpbsd: zeptoforth uses direct threaded code or? 17:32:09 Zarutian_HTC, youd have to ask tabemann 17:32:34 Zarutian_HTC, Im just a Forth user 17:34:22 it is just that I have the habbit of agresdively refactor for less space consumption 17:35:41 s/sd/ss/ 17:36:47 that seems like a good habit 17:36:50 me too, in my user programs as I only have 64kB flash 17:37:17 which is a fair bit but I also use a lot of development apps and they have a lot of text 17:39:11 heck I have on occasation thought of using extended Zork text encoding to cut further down on space 17:41:47 I use a standard ascii terminal so I couldnt do that 17:43:11 just as the internal encoding. Would have to transcode to and from ascii (utf-8 really) 17:43:28 on the chip itself 17:43:47 oh! 17:44:25 I remove all the text based dev stuff on the final product anyway 17:44:55 If I had a deve chip with a couple of MB of flash it would solve the space issue 17:45:03 and they are available 17:45:37 I usually leave it in because who know who needs to reverse engineer the thing three decades down the line 17:46:28 yeah, good point 17:46:44 it isnt like serial 8soic flash chips are expensive 17:46:55 I leave the self test words there 17:47:20 my Forth doesnt have the ability to load words outside the internal flash 17:48:06 even saw a board with one that accidentially not connected to the main mcu. It was the 'docu' chip so to speak 17:49:05 I like the idea of inbuilt doc very much as I'm a electronics tech 17:49:23 of course unless you know it's there you may not go looking for it 17:51:31 unless it was standard practice, which would be nice 17:51:36 --- join: iyzsong joined #forth 17:51:42 talking about hw. I have heard through the grapewine that newer john deere tractors are now slowly being to be called jOHn DEERe as they cant be fixed in the, literal, field 17:53:01 thats so true 17:53:06 tpbsd: not sure if standard practice but it is standard R.E. practice to dump all flash chips and have a look 17:54:16 Zarutian_HTC, it's not standard practice for repair as the usual trouble is faulty connectors, pcb, maybe a dead chip 17:55:14 Zarutian_HTC, I think farmers are all trying to buy older john deere tractors or keep older ones without all the software lockin 17:55:56 it is when all that have been attempted to be repaired, at least on equipment whose manifacturer has been lost to the sands of time 17:57:20 i doubt youll find any chips with design and repair notes in the JD gear 17:58:09 but there is a healthy market for R/E GD gear 18:00:44 heard that JD gear often has all their control circuitry ripped out and replaced in many countries around the world 18:01:24 often due to more stringent safety regulations 18:02:32 I dont work in that industry thesedays so I dont know 18:02:32 what's JD stand for 18:02:48 I heard but have not prooven that JD think that software only safety interlocks are okay 18:03:07 I used to repair instrumentation and sensors for one large farm machinery manuf about 20 years ago 18:03:16 crab1 John Deere 18:03:29 ahhh gotcha 18:03:54 Zarutian_HTC, back then it was just electronics, nothing was locked in software 18:04:14 stuff like tachometers and grain rate meters etc 18:13:24 sounds riveting 18:14:08 but who knows maybe tachometers are more interesting than I realize 18:26:49 back 18:27:13 how was dinner 18:27:18 Zarutian_HTC, zeptoforth is SRT/NCI 18:27:20 good 18:27:38 i.e. it's a native code Forth 18:28:08 the irony is that it'd use far less memory if it were token-threaded or even ITC 18:30:09 i.e. zeptoforth is a memory hog 18:31:38 --- quit: crab1 (Ping timeout: 250 seconds) 18:33:10 SubRoutineThreaded/NativeCodeImplemenred ? 18:38:56 subroutine threaded / native code inlining 18:40:23 how big is the usual subroutine callsite? 18:40:58 a call from RAM to flash is a whopping 10 bytes 18:41:09 a call from flash to flash is normally 4 bytes 18:41:45 likewise a call from RAM to RAM is normally 4 bytes 18:41:52 why so big in the first case? 18:42:54 because I need to use a full-size literal, which is 8 bytes (4 bytes for the lower 16 bits, 4 bytes for the upper 16 bits) followed by a call to that address 18:43:54 4 bytes for 16 bits? Do you mean 32 bits? 18:45:11 no, 32 bits for a 16 bit literal 18:45:25 oh, you are building up the 32 bits in two halves of an register 18:46:10 yes 18:46:21 if I recall how ARM works correctly 18:47:12 in a good few cases inlining actually saves space 18:48:40 how big are the ram and flash? 18:50:15 --- join: jsoft joined #forth 18:52:38 the flash is 1 meg 18:53:14 the RAM I think is either 128k or 96k (as is the STM32L476); not sure though 18:53:56 shit 18:54:05 syslogd is eating all my CPU for some reason 18:54:08 bbiab 18:54:47 --- quit: tabemann (Quit: Leaving) 18:56:44 --- join: boru` joined #forth 18:56:47 --- quit: boru (Disconnected by services) 18:56:49 --- nick: boru` -> boru 19:03:05 --- join: tabemann joined #forth 19:21:02 --- quit: jedb (Ping timeout: 250 seconds) 19:25:26 tabemann, isnt there a PC relative thing where you canb have a constant pool? 19:25:32 I remember reading briefly about that 19:25:54 --- join: ryke joined #forth 19:26:43 the problem is how compilation works in zeptoforth combined with flash 19:27:04 when I'm compiling code I have no way of knowing when the current word ends 19:27:18 --- join: jedb joined #forth 19:28:02 so you cant save all the constants and write them after ; ? 19:28:06 (note that PC-relative data addresses have to be after the PC, but even if they did not, I cannot put literals before the word because the code there has already been written to flash) 19:28:17 oh I think I see. you wont know where ; is at the point where youd have to write the offset 19:28:32 yeah 19:29:03 hmm, I can think of workarounds but they all seem messy 19:29:17 like put the pool as far away as possible and write words up to that 19:30:51 exactly 19:46:16 --- join: reepca joined #forth 19:57:25 well, what are the max literal pc-relative offsets? 19:59:37 if you have the equiv of colon word with no inlining you could do the literals first then the calls using them 20:00:23 if you have some maximum distance the you could do it in chunks 20:01:33 heck if you can read back from flash or flash write buffer you could eliminate duplicate literals 20:03:32 --- join: kori joined #forth 20:03:32 --- quit: kori (Changing host) 20:03:33 --- join: kori joined #forth 20:11:00 --- quit: dave0 (Quit: dave's not here) 20:23:17 sounds like literals have to come after the instructions that load them if its PC relative 20:24:30 and doing it in chunks, what do you do when a word gets close to the chunk? youd have to decide on a maximum word size or put a jump in the word to skip over the chunk 20:30:49 or maybe if the word reached the chunk, mark it as unused and copy the word up to that point to the space after the chunk 20:31:40 --- quit: reepca (Read error: Connection reset by peer) 20:31:53 --- join: reepca joined #forth 20:31:54 or i guess you wouldnt have to mark it as unused if the new copy after the chunk has the same name 20:35:20 back 20:36:12 --- quit: C-Keen (Ping timeout: 265 seconds) 20:37:50 if youre ok with wasting the flash for the half word before the constants 20:50:52 --- quit: ryke (Remote host closed the connection) 20:52:03 --- join: ryke joined #forth 21:03:05 --- join: C-Keen joined #forth 21:03:28 --- nick: C-Keen -> Guest56414 21:54:06 --- quit: cp- (Quit: Disappeared in a puff of smoke) 21:54:32 --- join: nighty- joined #forth 22:05:22 --- quit: actuallybatman (Ping timeout: 260 seconds) 22:25:37 --- quit: nighty- (Quit: Disappears in a puff of smoke) 22:25:40 --- quit: ryke (Ping timeout: 272 seconds) 22:31:42 --- quit: dddddd (Ping timeout: 250 seconds) 22:32:55 --- join: nighty- joined #forth 22:38:48 --- join: gravicappa joined #forth 22:48:23 --- quit: nighty- (Quit: Disappears in a puff of smoke) 22:53:57 --- quit: Zarutian_HTC (Ping timeout: 240 seconds) 22:58:20 --- join: cp- joined #forth 23:07:54 --- quit: jsoft (Ping timeout: 256 seconds) 23:25:47 --- join: Zarutian_HTC joined #forth 23:34:24 --- join: mtsd joined #forth 23:49:02 --- quit: Guest56414 (Changing host) 23:49:02 --- join: Guest56414 joined #forth 23:49:04 --- nick: Guest56414 -> C-Keen 23:59:59 --- log: ended forth/20.03.31