2022-09-08 19:06:26 I have an unusual request: is there a Forth compiler anywhere that targets either "fantasy" or real consoles with networked emulators? The closest I can find is WaForth which seems like it could target WASM-4, and then maybe GBForth, but I can't find a good networked Game Boy (original) emulator.. 2022-09-08 19:24:10 you could try adapting an existing forth to a game system if youre up to the challenge. there are some old 6502 forths that could be made to work on an NES 2022-09-08 19:24:59 you dont have a lot of extra cycles on those old consoles though, so it could really limit what kind of game you can make if you want to use Forth 2022-09-08 19:25:10 ice-forth already runs on a NES 2022-09-08 19:25:21 figforth for 6502 is something like 84 cycles overhead per primitve 2022-09-08 19:26:57 Ooof 2022-09-08 19:29:34 what about GBA? maybe something more modern will have enough horsepower that you wont feel the slowdown 2022-09-08 19:31:28 gba isnt networked in emulation isnt it 2022-09-08 19:35:35 MrMobius: pandaforth is the only FORTH compiler for GBA I've found, not sure about the quality... 2022-09-08 19:47:24 could you make your own forth? if you can get as far as programming the machine in C or assembly it could be an option 2022-09-08 22:29:30 MrMobius: Do you happen to know what the cycle time for a call and a return are on 6502? I guess that's what the 84-cycle primitive overhead should be compared to. 2022-09-08 22:32:00 you could target (or create something like) the PICO-8 or TIC-80 2022-09-08 22:33:58 KipIngram: 6 cycles for JSR and 6 for RTS 2022-09-08 22:34:40 you can load an 8 bit constant in 2 cycles and add a value in memory in 3 cycles and leave it in the register 2022-09-08 22:36:05 vs for example pushing a constant, pushing a variable address, fetching and adding. thats about 330 cycles of overhead not counting the work of the primitives which are at least twice as slow since youre working with 16 bit values on an 8 bit machine 2022-09-08 22:37:04 as always, im not saying this to say you shouldnt use forth. just saying make sure you understand the pros and cons 2022-09-08 23:11:09 taliforth is a subroutine threaded 6502 forth ... https://github.com/scotws/TaliForth2/