I'm skimming your code and I would suggest some modifications:
- I'd merge the "NEG" and "mkPlus" procs, and that requires a small change in the fixSigns proc (which you already changed in the way I was going to propose).
- I changed the deleteLine proc to make it faster; I think that the insertLine could be tuned in a similar way
A New Tiny Basic for the 6502...
Re: A New Tiny Basic for the 6502...
- Attachments
-
- tinybasicmod.txt
- (1.78 KiB) Downloaded 60 times
Re: A New Tiny Basic for the 6502...
BB8 wrote:
I'm skimming your code and I would suggest some modifications:
However, this may sound harsh, but I'm really not interested in anonymous feedback. No name, no voice and all that. You have my email address (or if not, then it's utterly trivial to find it) so email me. Tell me who you are where, why, what, etc. and I may listen.
I've spent far too much time in the past listening to people I've never met make suggestions and beg for features, sending me hardware and say "make it work with this", for stuff I wrote when I did do the open source thing to the point it became so overwhelming I ended up quite ill and when I asked for help, none came, so I had no choice but to turn my back, shut it all down and delete everything from public view. I'm not going back there again.
GIBL is Source Available and that's it. It comes with no support, no promises of feedback, no promises that I'll reply to anyone who uses it, no way to request a "pull", nothing. I will take payment in my local currency though. Pay me and I'll consider working with you.
Quote:
- I'd merge the "NEG" and "mkPlus" procs, and that requires a small change in the fixSigns proc (which you already changed in the way I was going to propose).
- I changed the deleteLine proc to make it faster; I think that the insertLine could be tuned in a similar way
- I changed the deleteLine proc to make it faster; I think that the insertLine could be tuned in a similar way
There are also 2 reasons why your merged neg/mkPlus won't work, (one trivial, one subtle) but I'll leave that for you to work out when you get round to actually testing it... ie. if you're going to send me (or anyone else) anything at all, at least have the decency to test it first. The trivial failure is that it won't assemble without an error and I can tell that just by looking at it without even trying to test it.
And since it's not on git whatever, maybe learn how to generate an olde worlde patch file using diff... [*]
Thanks again for actually looking though. I'm in the process of converting some games and utilities for it (Yes, even TinyBasic has its dialects) This has been a fun project for me and it has inspired me to get on and do a native version of my APRICOT for the 6502 which will be my Winter solstice project now.
-Gordon
[*]https://www.shellhacks.com/create-patch-diff-command-linux/
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
-
leepivonka
- Posts: 168
- Joined: 15 Apr 2016
Re: A New Tiny Basic for the 6502...
giblt.zip is a heavily modified version of GIBL that I've been playing with.
It runs on the WDC 0265sxb board.
It executes the Mandelbrot benchmark around 2.5x faster - 97 secs at 3.58MHz or about 344 MCycles.
forth.zip is the same benchmark in FORTH. It runs about 75% faster yet, about 197 MCycles.
It runs on the WDC 0265sxb board.
It executes the Mandelbrot benchmark around 2.5x faster - 97 secs at 3.58MHz or about 344 MCycles.
forth.zip is the same benchmark in FORTH. It runs about 75% faster yet, about 197 MCycles.
- barrym95838
- Posts: 2056
- Joined: 30 Jun 2013
- Location: Sacramento, CA, USA
Re: A New Tiny Basic for the 6502...
leepivonka wrote:
giblt.zip is a heavily modified version of GIBL that I've been playing with.
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!
Mike B. (about me) (learning how to github)
Mike B. (about me) (learning how to github)
Re: A New Tiny Basic for the 6502...
leepivonka wrote:
giblt.zip is a heavily modified version of GIBL that I've been playing with.
It runs on the WDC 0265sxb board.
It executes the Mandelbrot benchmark around 2.5x faster - 97 secs at 3.58MHz or about 344 MCycles.
forth.zip is the same benchmark in FORTH. It runs about 75% faster yet, about 197 MCycles.
It runs on the WDC 0265sxb board.
It executes the Mandelbrot benchmark around 2.5x faster - 97 secs at 3.58MHz or about 344 MCycles.
forth.zip is the same benchmark in FORTH. It runs about 75% faster yet, about 197 MCycles.
-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/