Post AjhhobXPJqFD30PceW by foone@digipres.club
(DIR) More posts by foone@digipres.club
(DIR) Post #AjhOhHnMQQX8f0ffY8 by foone@digipres.club
2024-07-07T20:55:29Z
0 likes, 0 repeats
I wonder if anyone has made an FPGA for a CPU that natively runs BASIC
(DIR) Post #AjhOryQwkdXznUHdA0 by Doridian@furry.engineer
2024-07-07T20:56:44Z
0 likes, 0 repeats
@foone You know, when they said there were no wrong questions...
(DIR) Post #AjhPaStKs30l0CmFJg by galibert@piaille.fr
2024-07-07T21:05:37Z
0 likes, 0 repeats
@foone At the time it felt that the 6502 natively ran basic 🙂
(DIR) Post #AjhQiHgwUmJWXNGyW0 by shanecelis@mastodon.gamedev.place
2024-07-07T21:17:54Z
0 likes, 0 repeats
@foone “Time to get down to the bare metal and crunch some code.” [Opens BASIC file in notepad.]
(DIR) Post #AjhRKB0Jo8Y0nhP7L6 by xan@xantronix.social
2024-07-07T21:24:27Z
0 likes, 0 repeats
@foone Hmm, Sinclair BASIC chip,,,
(DIR) Post #AjhSKs4dm8amKiJxE8 by androidarts@mastodon.gamedev.place
2024-07-07T21:33:14Z
0 likes, 0 repeats
@foone Some BASIC commands are fairly low level I suppose. Goto/Gosub, Poke, Peek... sometimes I wish Assembler command names were legible like that... is wouls make asm much more accessible.
(DIR) Post #AjhSRInlJbAaxuUboW by jordan@sometimes.social
2024-07-07T21:35:15Z
0 likes, 0 repeats
@foone Mmm, could be fun with GW-BASIC's tokenized version
(DIR) Post #AjhSWY2u45OHgz4n2G by davidmc@hachyderm.io
2024-07-07T21:35:57Z
0 likes, 0 repeats
@foone Persumably you go for a multicycle architecture, then you have this massive control state machine. Might as well turn that into microcode. Now that you've microcoded the control you can clean up the datapath a little, that'll let me regularlise the control store a little. Few more tweaks, oh look my microcode engine is now basically a Z80. Might as well embrace that and be able to use existing BASIC "microcode".
(DIR) Post #AjhSeKWgDNba4uiNMm by foone@digipres.club
2024-07-07T21:36:43Z
0 likes, 0 repeats
@frang no because it's a microcontroller running a basic interpreter.I mean a CPU that just natively runs BASIC.
(DIR) Post #AjhSpearwc4XVC4dMG by shanecelis@mastodon.gamedev.place
2024-07-07T21:42:04Z
0 likes, 0 repeats
@foone I really want to see one for pico-8, a fantasy console reified.
(DIR) Post #AjhUneiAjeJJCFfGt6 by jpm@aus.social
2024-07-07T22:04:04Z
0 likes, 0 repeats
@foone I had this thought(crime), but for PHP
(DIR) Post #AjhV9vUn0rAhcf1aG8 by Elwell@mast.hpc.social
2024-07-07T22:08:21Z
0 likes, 0 repeats
@foone That sounds nearly warped enough to be similar to the bifferboard project from ages ago
(DIR) Post #AjhVTisHeC1iGqSAjI by Chase@chaos.social
2024-07-07T22:11:45Z
0 likes, 0 repeats
@foone i am still designing a CPU running brainfuck natively
(DIR) Post #AjhVxDE7sRfEnwjQZ6 by guenther@chaos.social
2024-07-07T22:17:04Z
0 likes, 0 repeats
@foone cc @alcinnz
(DIR) Post #AjhWG78ejlfdQNBbkm by static@aus.social
2024-07-07T22:20:27Z
0 likes, 0 repeats
@foone There have been rumours TI kind of tried to do that. The 99/4 and 4a had an interpreted pseudo-assembly language called Graphic Programming Language (GPL). Console TI BASIC was mostly written in it (as were many cartridges) which was why it was so slow. It defined a few things in TI BASIC like how floating point numbers worked and some of the video routines, so it looked like something halfway between assembler and tokenised BASIC. The rumour is that TI had wanted to make a processor that used GPL as its native machine code, instead of the 9900-based design they went with.
(DIR) Post #AjhWj3hQbRRr9jFi1Q by hairyears@wandering.shop
2024-07-07T22:25:38Z
0 likes, 0 repeats
@foone Visual Basic (and Visual Basic for Applications) compile to an intermediate runtime language called P-code.It's a long way from assembler but it might be possible to get a FPGA to run that natively.
(DIR) Post #AjhgXuDAXQ2U5MQ4ES by phenidone@mstdn.social
2024-07-08T00:15:23Z
0 likes, 0 repeats
@foone a physical FORTH machine would be much more reasonable I think.
(DIR) Post #AjhhobXPJqFD30PceW by foone@digipres.club
2024-07-08T00:29:21Z
0 likes, 0 repeats
@phenidone yeah but I don't want reasonable things. I want silly things
(DIR) Post #Ajhr43C7fomckptebo by thorsummoner@ibite.lol
2024-07-08T02:13:40Z
0 likes, 0 repeats
@foone I asked an LLM to create as assembler for format strings, yaknow, to make porting format strings easier, and honestly I haven't been able to get the results out of my mind. Maybe strings should be built with machine code.
(DIR) Post #Ajii3hYzOPzXElJLHs by mabs@aus.social
2024-07-08T12:07:17Z
0 likes, 0 repeats
@foone i mean, it wouldn't be hard, a few of the early basics nearly had their own byte code like system for saving smaller files, by replacing commands with codes from the extended character set. and it would in some places be a lot like asm.